-
Notifications
You must be signed in to change notification settings - Fork 0
/
ruby-try.gemspec
27 lines (22 loc) · 979 Bytes
/
ruby-try.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
27
# coding: utf-8
require 'date'
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
Gem::Specification.new do |spec|
spec.name = 'ruby-try'
spec.version = '1.1.1'
spec.date = Date.today.strftime("%F")
spec.summary = "Provides RoR try() and extends it by new try?() method."
spec.description = "Provides RoR try() and extends it by new try?() method."
spec.authors = ["Oleg Orlov"]
spec.email = 'orelcokolov@gmail.com'
spec.homepage = 'http://rubygems.org/gems/ruby-try'
spec.license = 'MIT'
spec.files = `git ls-files -z`.split("\x0")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = '>= 1.9.1'
spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake", "~> 10.0"
end