-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathleafy.gemspec
48 lines (39 loc) · 1.67 KB
/
leafy.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
37
38
39
40
41
42
43
44
45
46
47
48
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "leafy/version"
Gem::Specification.new do |spec|
spec.name = "leafy-ruby"
spec.version = Leafy.version
spec.authors = ["Evgeny Stepanov"]
spec.email = ["[email protected]"]
spec.summary = %q{Toolkit for custom attributes in Ruby apps}
spec.description = <<-DESC
Leafy is toolkit that allows you to integrate dynamic custom attributes functionality into your ruby application.
It provides high level API you can use for any suitable use-case.
It ships with several basic data types and allows you to add your own data type converters.
DESC
spec.homepage = "https://github.com/estepnv/leafy"
spec.license = "MIT"
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
end
spec.bindir = "bin"
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 2.2'
spec.platform = Gem::Platform::RUBY
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "simplecov", '~> 0.17.1'
if RUBY_VERSION >= "2.5.0"
spec.add_development_dependency "activerecord", "~> 6.0"
else
spec.add_development_dependency "activerecord", "~> 5.2"
end
if RUBY_ENGINE == "jruby"
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter", "51"
spec.add_development_dependency "pg_jruby"
else
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "pg"
end
end