Sha256: af663d181f29d6609c8aea2aea8844ab83122a0f9e2a138e8d2602a95c6cfccf

Contents?: true

Size: 1.39 KB

Versions: 17

Compression:

Stored size: 1.39 KB

Contents

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)

plugin_files = []
plugin_test_files = []

Dir['flipper-*.gemspec'].map { |gemspec|
  spec = eval(File.read(gemspec))
  plugin_files << spec.files
  plugin_test_files << spec.files
}

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       = %q{Feature flipper for ANYTHING}
  gem.description   = %q{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.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
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
flipper-0.10.2 flipper.gemspec
flipper-0.10.1 flipper.gemspec
flipper-0.10.0 flipper.gemspec
flipper-0.9.2 flipper.gemspec
flipper-0.9.1 flipper.gemspec
flipper-0.9.0 flipper.gemspec
flipper-0.9.0.beta1 flipper.gemspec
flipper-0.8.0 flipper.gemspec
flipper-0.7.5 flipper.gemspec
flipper-0.7.4 flipper.gemspec
flipper-0.7.3 flipper.gemspec
flipper-0.7.2 flipper.gemspec
flipper-0.7.1 flipper.gemspec
flipper-0.7.0 flipper.gemspec
flipper-0.7.0.beta6 flipper.gemspec
flipper-0.7.0.beta5 flipper.gemspec
flipper-0.7.0.beta4 flipper.gemspec