forked from mysociety/alaveteli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
alaveteli_features.gemspec
32 lines (28 loc) · 1.3 KB
/
alaveteli_features.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
require 'English'
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'alaveteli_features/version'
Gem::Specification.new do |spec|
spec.name = "alaveteli_features"
spec.version = AlaveteliFeatures::VERSION
spec.authors = ["mySociety"]
spec.email = ["alaveteli@mysociety.org"]
spec.description = "Feature flags for Alaveteli"
spec.summary = "Helper methods to manage and test Alaveteli features"
spec.homepage = "https://alaveteli.org"
spec.license = "MIT"
spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.add_dependency "rails", "~> 7.0.4"
spec.add_dependency "flipper", "~> 0.10"
spec.add_dependency "flipper-active_record", "~> 0.10"
# Mime types 3 needs Ruby 2.0.0 or greater, but we need to support 1.9.3 so
# force a lower version
spec.add_dependency "mime-types", "< 3.0.0"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake", "~> 12.3"
spec.add_development_dependency "rspec", "~> 3.7"
spec.add_development_dependency "rspec-rails", "~> 3.7"
end