-
Notifications
You must be signed in to change notification settings - Fork 68
/
chronic_duration.gemspec
28 lines (21 loc) · 1.24 KB
/
chronic_duration.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
28
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'chronic_duration/version'
Gem::Specification.new do |gem|
gem.name = "chronic_duration"
gem.version = ChronicDuration::VERSION
gem.authors = ["hpoydar"]
gem.email = ["henry@poydar.com"]
gem.description = %q{A simple Ruby natural language parser for elapsed time. (For example, 4 hours and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds. Will return an integer unless you get tricky and need a float. (4 minutes and 13.47 seconds, for example.) The reverse can also be performed via the output method.}
gem.summary = %q{A simple Ruby natural language parser for elapsed time}
gem.homepage = "https://github.com/hpoydar/chronic_duration"
gem.license = "MIT"
gem.files = `git ls-files`.split($/)
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ["lib"]
gem.add_runtime_dependency "numerizer", "~> 0.1.1"
gem.add_development_dependency "rake", "~> 10.0.3"
gem.add_development_dependency "rspec", "~> 2.12.0"
end