forked from flippercloud/flipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flipper-active_record.gemspec
28 lines (24 loc) · 1.01 KB
/
flipper-active_record.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
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)
flipper_active_record_files = lambda { |file|
file =~ /active_record/
}
Gem::Specification.new do |gem|
gem.authors = ["John Nunemaker"]
gem.email = ["[email protected]"]
gem.summary = "ActiveRecord adapter for Flipper"
gem.description = "ActiveRecord adapter for Flipper"
gem.license = "MIT"
gem.homepage = "https://github.com/jnunemaker/flipper"
extra_files = [
"lib/generators/flipper/templates/migration.rb",
"lib/flipper/version.rb",
]
gem.files = `git ls-files`.split("\n").select(&flipper_active_record_files) + extra_files
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_active_record_files)
gem.name = "flipper-active_record"
gem.require_paths = ["lib"]
gem.version = Flipper::VERSION
gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
gem.add_dependency 'activerecord', ">= 3.2", "< 6"
end