Sha256: 354df80470d724afe2e23d47fdc8dd9a38ff683210be39899137f7a37f8ebdc2

Contents?: true

Size: 1.25 KB

Versions: 26

Compression:

Stored size: 1.25 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 << '.travis.yml'
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.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  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
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
flipper-0.25.4 flipper.gemspec
flipper-0.25.3 flipper.gemspec
flipper-0.25.2 flipper.gemspec
flipper-0.25.1 flipper.gemspec
flipper-0.25.0 flipper.gemspec
flipper-0.24.1 flipper.gemspec
flipper-0.24.0 flipper.gemspec
flipper-0.23.1 flipper.gemspec
flipper-0.23.0 flipper.gemspec
flipper-0.22.2 flipper.gemspec
flipper-0.22.1 flipper.gemspec
flipper-0.22.0 flipper.gemspec
flipper-0.21.0 flipper.gemspec
flipper-0.21.0.rc2 flipper.gemspec
flipper-0.21.0.rc1 flipper.gemspec
flipper-0.20.4 flipper.gemspec
flipper-0.20.3 flipper.gemspec
flipper-0.20.2 flipper.gemspec
flipper-0.20.1 flipper.gemspec
flipper-0.20.0 flipper.gemspec