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
|
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)
plugin_files = []
plugin_test_files = []
Dir['flipper-*.gemspec'].map do |gemspec|
spec = eval(File.read(gemspec))
plugin_files << spec.files
plugin_test_files << spec.files
end
Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['nunemaker@gmail.com']
gem.summary = 'Feature flipper for ANYTHING'
gem.description = 'Feature flipper is the act of enabling/disabling features in your application, ideally without re-deploying or changing anything in your code base. Flipper makes this extremely easy to do with any backend you would like to use.'
gem.homepage = 'https://github.com/jnunemaker/flipper'
gem.license = 'MIT'
gem.files = Dir[
'lib/flipper.rb',
'lib/flipper/*.rb',
'lib/flipper/types/*.rb',
'lib/flipper/middleware/*.rb',
'lib/flipper/gates/*.rb',
'lib/flipper/adapters/memoizable.rb',
'lib/flipper/instrumenters/noop.rb'
]
gem.test_files = ''
gem.name = 'flipper'
gem.require_paths = ['lib']
gem.version = Flipper::VERSION
end
|