natural_time 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/Rakefile +2 -20
- data/natural_time.gemspec +3 -6
- metadata +37 -70
- data/.rvmrc +0 -1
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: d449e421af12fbd22fe718632869df48d096018e
|
4
|
+
data.tar.gz: 90ec4d5b6716f2f805b325cee1a2fbf1ed2336c4
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 272e8e0b0990a8947c1262fd97c0957ad6b116812882034615bbea4dc1e9a0e98953a5b06d2d13880ff52995cce3bdd62550e972fc94aaf12ddf3aeafa37c4b9
|
7
|
+
data.tar.gz: 40faa561f4339e1d09019c95adfa4be77f8608ec467c42cf9e21e2d9236f308001e9b9b27b76701f427bb4cf45e2876336c416bb10030abaca3fd7a3b6c5db1d
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.0.0-p247@natural_time
|
data/Rakefile
CHANGED
@@ -1,20 +1,2 @@
|
|
1
|
-
require '
|
2
|
-
|
3
|
-
|
4
|
-
begin
|
5
|
-
require 'jeweler'
|
6
|
-
Jeweler::Tasks.new do |gem|
|
7
|
-
gem.name = "natural_time"
|
8
|
-
gem.summary = %Q{Smart enumeration of durations in natural language}
|
9
|
-
gem.description = %Q{Smart enumeration of durations in natural language--"4 hours, 3 minutes and 2 seconds"}
|
10
|
-
gem.email = "progressions@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/progressions/natural_time"
|
12
|
-
gem.authors = ["Jeff Coleman"]
|
13
|
-
# gem.add_development_dependency "rspec", ">= 1.2.6"
|
14
|
-
gem.add_runtime_dependency "activesupport", ">= 0"
|
15
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
16
|
-
end
|
17
|
-
Jeweler::GemcutterTasks.new
|
18
|
-
rescue LoadError
|
19
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
20
|
-
end
|
1
|
+
require 'bundler'
|
2
|
+
Bundler::GemHelper.install_tasks
|
data/natural_time.gemspec
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "natural_time"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["
|
11
|
+
s.authors = ["Isaac Priestley"]
|
12
12
|
s.date = "2012-07-11"
|
13
13
|
s.description = "Smart enumeration of durations in natural language--\"4 hours, 3 minutes and 2 seconds\""
|
14
14
|
s.email = "progressions@gmail.com"
|
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
|
|
18
18
|
]
|
19
19
|
s.files = [
|
20
20
|
".document",
|
21
|
-
".
|
21
|
+
".ruby-version",
|
22
22
|
"Gemfile",
|
23
23
|
"Gemfile.lock",
|
24
24
|
"History.txt",
|
@@ -41,14 +41,11 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.add_runtime_dependency(%q<natural_time>, [">= 0"])
|
45
44
|
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
|
46
45
|
else
|
47
|
-
s.add_dependency(%q<natural_time>, [">= 0"])
|
48
46
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
49
47
|
end
|
50
48
|
else
|
51
|
-
s.add_dependency(%q<natural_time>, [">= 0"])
|
52
49
|
s.add_dependency(%q<activesupport>, [">= 0"])
|
53
50
|
end
|
54
51
|
end
|
metadata
CHANGED
@@ -1,62 +1,40 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: natural_time
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 0.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
6
|
+
authors:
|
7
|
+
- Isaac Priestley
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
21
|
-
type: :runtime
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
-
none: false
|
24
|
-
requirements:
|
25
|
-
- - ">="
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
hash: 3
|
28
|
-
segments:
|
29
|
-
- 0
|
30
|
-
version: "0"
|
31
|
-
version_requirements: *id001
|
32
|
-
name: natural_time
|
33
|
-
prerelease: false
|
34
|
-
- !ruby/object:Gem::Dependency
|
35
|
-
type: :runtime
|
36
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
37
|
-
none: false
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
hash: 3
|
42
|
-
segments:
|
43
|
-
- 0
|
44
|
-
version: "0"
|
45
|
-
version_requirements: *id002
|
11
|
+
date: 2012-07-11 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
46
14
|
name: activesupport
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
47
21
|
prerelease: false
|
48
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Smart enumeration of durations in natural language--"4 hours, 3 minutes
|
28
|
+
and 2 seconds"
|
49
29
|
email: progressions@gmail.com
|
50
30
|
executables: []
|
51
|
-
|
52
31
|
extensions: []
|
53
|
-
|
54
|
-
extra_rdoc_files:
|
32
|
+
extra_rdoc_files:
|
55
33
|
- LICENSE
|
56
34
|
- README.rdoc
|
57
|
-
files:
|
35
|
+
files:
|
58
36
|
- .document
|
59
|
-
- .
|
37
|
+
- .ruby-version
|
60
38
|
- Gemfile
|
61
39
|
- Gemfile.lock
|
62
40
|
- History.txt
|
@@ -71,36 +49,25 @@ files:
|
|
71
49
|
- spec/spec_helper.rb
|
72
50
|
homepage: http://github.com/progressions/natural_time
|
73
51
|
licenses: []
|
74
|
-
|
52
|
+
metadata: {}
|
75
53
|
post_install_message:
|
76
54
|
rdoc_options: []
|
77
|
-
|
78
|
-
require_paths:
|
55
|
+
require_paths:
|
79
56
|
- lib
|
80
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
none: false
|
91
|
-
requirements:
|
92
|
-
- - ">="
|
93
|
-
- !ruby/object:Gem::Version
|
94
|
-
hash: 3
|
95
|
-
segments:
|
96
|
-
- 0
|
97
|
-
version: "0"
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
98
67
|
requirements: []
|
99
|
-
|
100
68
|
rubyforge_project:
|
101
|
-
rubygems_version:
|
69
|
+
rubygems_version: 2.0.6
|
102
70
|
signing_key:
|
103
71
|
specification_version: 3
|
104
72
|
summary: Smart enumeration of durations in natural language
|
105
73
|
test_files: []
|
106
|
-
|
data/.rvmrc
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
rvm ree-1.8.7-2011.03@natural_time
|