forked from flippercloud/flipper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flipper-dalli.gemspec
26 lines (22 loc) · 988 Bytes
/
flipper-dalli.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/flipper/version', __FILE__)
require File.expand_path('../lib/flipper/metadata', __FILE__)
flipper_dalli_files = lambda do |file|
file =~ /dalli/
end
Gem::Specification.new do |gem|
gem.authors = ['John Nunemaker']
gem.email = ['nunemaker@gmail.com']
gem.summary = 'Dalli adapter for Flipper'
gem.description = 'Dalli adapter for Flipper'
gem.license = 'MIT'
gem.homepage = 'https://github.com/jnunemaker/flipper'
gem.files = `git ls-files`.split("\n").select(&flipper_dalli_files) + ['lib/flipper/version.rb']
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n").select(&flipper_dalli_files)
gem.name = 'flipper-dalli'
gem.require_paths = ['lib']
gem.version = Flipper::VERSION
gem.metadata = Flipper::METADATA
gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
gem.add_dependency 'dalli', '>= 2.0', '< 3'
end