Sha256: a9f6611b4987e999ceeed9691e75a0e4e52f80a56eb4fbf007fe7221caeab824

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

Contents

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)
require File.expand_path('../lib/flipper/metadata', __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

ignored_files = plugin_files
ignored_files << Dir['script/*']
ignored_files << '.gitignore'
ignored_files << 'Guardfile'
ignored_files.flatten!.uniq!

ignored_test_files = plugin_test_files
ignored_test_files.flatten!.uniq!

Gem::Specification.new do |gem|
  gem.authors       = ['John Nunemaker']
  gem.email         = ['nunemaker@gmail.com']
  gem.summary       = 'Feature flipper for ANYTHING'
  gem.homepage      = 'https://github.com/jnunemaker/flipper'
  gem.license       = 'MIT'

  gem.files         = `git ls-files`.split("\n") - ignored_files + ['lib/flipper/version.rb']
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n") - ignored_test_files
  gem.name          = 'flipper'
  gem.require_paths = ['lib']
  gem.version       = Flipper::VERSION
  gem.metadata      = Flipper::METADATA

  gem.add_dependency 'concurrent-ruby', '< 2'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
flipper-0.28.3 flipper.gemspec
flipper-0.28.2 flipper.gemspec
flipper-0.28.1 flipper.gemspec
flipper-0.28.0 flipper.gemspec
flipper-0.27.1 flipper.gemspec
flipper-0.27.0 flipper.gemspec
flipper-0.26.2 flipper.gemspec
flipper-0.26.1 flipper.gemspec