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 27
|
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nenv/version'
Gem::Specification.new do |spec|
spec.name = 'nenv'
spec.version = Nenv::VERSION
spec.authors = ['Cezary Baginski']
spec.email = ['cezary@chronomantic.net']
spec.summary = "Convenience wrapper for Ruby's ENV"
spec.description = 'Using ENV is like using raw SQL statements in your code. We all know how that ends...'
spec.homepage = 'https://github.com/e2/nenv'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0").reject do |f|
/^(?:\.rspec|\.rubocop.*\.yml|\.travis\.yml|Rakefile|Guardfile|Gemfile|spec\/.*)$/.match(f)
end
spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) }
spec.test_files = []
spec.require_paths = ['lib']
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rspec', '~> 3.1'
spec.add_development_dependency 'rake', '~> 10.0'
end
|