forked from flippercloud/flipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flipper-api.gemspec
23 lines (20 loc) · 920 Bytes
/
flipper-api.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)
flipper_api_files = lambda do |file|
file =~ %r{(flipper)[\/-]api}
end
Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['[email protected]']
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']
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_api_files)
gem.name = 'flipper-api'
gem.require_paths = ['lib']
gem.version = Flipper::VERSION
gem.add_dependency 'rack', '>= 1.4', '< 3'
gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
end