Sha256: 32521dac43da4160abb79d344fe90a43d553ed5ce19bdb979059e8b04ee6ca86

Contents?: true

Size: 1.07 KB

Versions: 1

Compression:

Stored size: 1.07 KB

Contents

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

flipper_api_files = lambda do |file|
  file =~ %r{(flipper)[\/-]api}
end

Gem::Specification.new do |gem|
  gem.authors       = ['John Nunemaker']
  gem.email         = ['nunemaker@gmail.com']
  gem.summary       = 'API for the Flipper gem'
  gem.description   = 'Rack middleware that provides an API for the flipper gem.'
  gem.license       = 'MIT'
  gem.homepage      = 'https://github.com/jnunemaker/flipper'
  gem.files         = `git ls-files`.split("\n").select(&flipper_api_files) + ['lib/flipper/version.rb'] # rubocop:disable Metrics/LineLength
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_api_files) # rubocop:disable Metrics/LineLength
  gem.name          = 'flipper-api'
  gem.require_paths = ['lib']
  gem.version       = Flipper::VERSION
  gem.metadata      = Flipper::METADATA

  gem.add_dependency 'rack', '>= 1.4', '< 3'
  gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flipper-api-0.17.1 flipper-api.gemspec