-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathcustom_fields.gemspec
executable file
·36 lines (29 loc) · 1.15 KB
/
custom_fields.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env gem build
# frozen_string_literal: true
lib = File.expand_path 'lib', __dir__
$LOAD_PATH.unshift lib unless $LOAD_PATH.include? lib
require 'custom_fields/version'
Gem::Specification.new 'custom_fields', CustomFields::VERSION do |spec|
spec.summary = 'Custom fields extension for Mongoid.'
spec.description = 'Manage custom fields to a Mongoid document or a collection. This module is one of the core features we implemented in our custom CMS, named LocomotiveCMS.'
spec.author = 'Didier Lafforgue'
spec.email = 'didier@nocoffee.fr'
spec.homepage = 'https://github.com/locomotivecms/custom_fields'
spec.license = 'MIT'
spec.files = Dir[
'MIT-LICENSE',
'README.md',
'{lib}/**/*',
'{config}/**/*'
]
spec.extra_rdoc_files = [
'MIT-LICENSE',
'README.md'
]
spec.required_ruby_version = '>= 3.0'
spec.add_dependency 'activesupport', '>= 7', '< 8.0'
spec.add_dependency 'bcrypt', '~> 3.1.18'
spec.add_dependency 'carrierwave-mongoid', '~> 1.4.0'
spec.add_dependency 'monetize', '~> 1.12.0'
spec.add_dependency 'mongoid', '>= 7', '< 9.0'
end