timespan 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +3 -3
- data/Gemfile.lock +39 -39
- data/VERSION +1 -1
- data/lib/timespan.rb +4 -0
- data/timespan.gemspec +8 -8
- metadata +9 -9
data/Gemfile
CHANGED
@@ -7,11 +7,11 @@ gem 'xduration', '~> 2.2'
|
|
7
7
|
|
8
8
|
group :test, :development do
|
9
9
|
gem "rspec", ">= 2.8.0"
|
10
|
-
gem 'rails', '~> 3.2'
|
11
|
-
gem 'mongoid', '>= 2.4'
|
10
|
+
gem 'rails', '~> 3.2.7'
|
11
|
+
# gem 'mongoid', '>= 2.4'
|
12
12
|
# gem 'bson', '>= 1.6'
|
13
13
|
|
14
|
-
|
14
|
+
gem 'mongoid', '~> 3.0.0' #, :git => 'git://github.com/mongoid/mongoid.git'
|
15
15
|
# gem 'i18n'
|
16
16
|
end
|
17
17
|
|
data/Gemfile.lock
CHANGED
@@ -1,35 +1,34 @@
|
|
1
1
|
GEM
|
2
2
|
remote: http://rubygems.org/
|
3
3
|
specs:
|
4
|
-
actionmailer (3.2.
|
5
|
-
actionpack (= 3.2.
|
4
|
+
actionmailer (3.2.7)
|
5
|
+
actionpack (= 3.2.7)
|
6
6
|
mail (~> 2.4.4)
|
7
|
-
actionpack (3.2.
|
8
|
-
activemodel (= 3.2.
|
9
|
-
activesupport (= 3.2.
|
7
|
+
actionpack (3.2.7)
|
8
|
+
activemodel (= 3.2.7)
|
9
|
+
activesupport (= 3.2.7)
|
10
10
|
builder (~> 3.0.0)
|
11
11
|
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.
|
12
|
+
journey (~> 1.0.4)
|
13
13
|
rack (~> 1.4.0)
|
14
14
|
rack-cache (~> 1.2)
|
15
15
|
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.1.
|
17
|
-
activemodel (3.2.
|
18
|
-
activesupport (= 3.2.
|
16
|
+
sprockets (~> 2.1.3)
|
17
|
+
activemodel (3.2.7)
|
18
|
+
activesupport (= 3.2.7)
|
19
19
|
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.
|
21
|
-
activemodel (= 3.2.
|
22
|
-
activesupport (= 3.2.
|
20
|
+
activerecord (3.2.7)
|
21
|
+
activemodel (= 3.2.7)
|
22
|
+
activesupport (= 3.2.7)
|
23
23
|
arel (~> 3.0.2)
|
24
24
|
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.
|
26
|
-
activemodel (= 3.2.
|
27
|
-
activesupport (= 3.2.
|
28
|
-
activesupport (3.2.
|
25
|
+
activeresource (3.2.7)
|
26
|
+
activemodel (= 3.2.7)
|
27
|
+
activesupport (= 3.2.7)
|
28
|
+
activesupport (3.2.7)
|
29
29
|
i18n (~> 0.6)
|
30
30
|
multi_json (~> 1.0)
|
31
31
|
arel (3.0.2)
|
32
|
-
bson (1.6.2)
|
33
32
|
builder (3.0.0)
|
34
33
|
chronic (0.6.7)
|
35
34
|
chronic_duration (0.9.6)
|
@@ -44,21 +43,22 @@ GEM
|
|
44
43
|
git (>= 1.2.5)
|
45
44
|
rake
|
46
45
|
rdoc
|
47
|
-
journey (1.0.
|
48
|
-
json (1.
|
46
|
+
journey (1.0.4)
|
47
|
+
json (1.7.4)
|
49
48
|
mail (2.4.4)
|
50
49
|
i18n (>= 0.4.0)
|
51
50
|
mime-types (~> 1.16)
|
52
51
|
treetop (~> 1.4.8)
|
53
|
-
mime-types (1.
|
54
|
-
|
55
|
-
bson (~> 1.6.2)
|
56
|
-
mongoid (2.4.10)
|
52
|
+
mime-types (1.19)
|
53
|
+
mongoid (3.0.3)
|
57
54
|
activemodel (~> 3.1)
|
58
|
-
|
55
|
+
moped (~> 1.1)
|
56
|
+
origin (~> 1.0)
|
59
57
|
tzinfo (~> 0.3.22)
|
58
|
+
moped (1.2.0)
|
60
59
|
multi_json (1.3.6)
|
61
60
|
numerizer (0.1.1)
|
61
|
+
origin (1.0.4)
|
62
62
|
polyglot (0.3.3)
|
63
63
|
rack (1.4.1)
|
64
64
|
rack-cache (1.2)
|
@@ -67,21 +67,21 @@ GEM
|
|
67
67
|
rack
|
68
68
|
rack-test (0.6.1)
|
69
69
|
rack (>= 1.0)
|
70
|
-
rails (3.2.
|
71
|
-
actionmailer (= 3.2.
|
72
|
-
actionpack (= 3.2.
|
73
|
-
activerecord (= 3.2.
|
74
|
-
activeresource (= 3.2.
|
75
|
-
activesupport (= 3.2.
|
70
|
+
rails (3.2.7)
|
71
|
+
actionmailer (= 3.2.7)
|
72
|
+
actionpack (= 3.2.7)
|
73
|
+
activerecord (= 3.2.7)
|
74
|
+
activeresource (= 3.2.7)
|
75
|
+
activesupport (= 3.2.7)
|
76
76
|
bundler (~> 1.0)
|
77
|
-
railties (= 3.2.
|
78
|
-
railties (3.2.
|
79
|
-
actionpack (= 3.2.
|
80
|
-
activesupport (= 3.2.
|
77
|
+
railties (= 3.2.7)
|
78
|
+
railties (3.2.7)
|
79
|
+
actionpack (= 3.2.7)
|
80
|
+
activesupport (= 3.2.7)
|
81
81
|
rack-ssl (~> 1.3.2)
|
82
82
|
rake (>= 0.8.7)
|
83
83
|
rdoc (~> 3.4)
|
84
|
-
thor (
|
84
|
+
thor (>= 0.14.6, < 2.0)
|
85
85
|
rake (0.9.2.2)
|
86
86
|
rdoc (3.12)
|
87
87
|
json (~> 1.4)
|
@@ -98,11 +98,11 @@ GEM
|
|
98
98
|
simplecov-html (~> 0.5.3)
|
99
99
|
simplecov-html (0.5.3)
|
100
100
|
spanner (0.0.2)
|
101
|
-
sprockets (2.1.
|
101
|
+
sprockets (2.1.3)
|
102
102
|
hike (~> 1.2)
|
103
103
|
rack (~> 1.0)
|
104
104
|
tilt (~> 1.1, != 1.3.0)
|
105
|
-
thor (0.
|
105
|
+
thor (0.15.4)
|
106
106
|
tilt (1.3.3)
|
107
107
|
treetop (1.4.10)
|
108
108
|
polyglot
|
@@ -120,8 +120,8 @@ DEPENDENCIES
|
|
120
120
|
chronic
|
121
121
|
chronic_duration
|
122
122
|
jeweler (>= 1.8.3)
|
123
|
-
mongoid (
|
124
|
-
rails (~> 3.2)
|
123
|
+
mongoid (~> 3.0.0)
|
124
|
+
rails (~> 3.2.7)
|
125
125
|
rdoc (>= 3.12)
|
126
126
|
rspec (>= 2.8.0)
|
127
127
|
simplecov (>= 0.5)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.1
|
data/lib/timespan.rb
CHANGED
data/timespan.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "timespan"
|
8
|
-
s.version = "0.4.
|
8
|
+
s.version = "0.4.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-09-18"
|
13
13
|
s.description = "Makes it easy to calculate time distance in different units"
|
14
14
|
s.email = "kmandrup@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -69,8 +69,8 @@ Gem::Specification.new do |s|
|
|
69
69
|
s.add_runtime_dependency(%q<spanner>, [">= 0"])
|
70
70
|
s.add_runtime_dependency(%q<xduration>, ["~> 2.2"])
|
71
71
|
s.add_development_dependency(%q<rspec>, [">= 2.8.0"])
|
72
|
-
s.add_development_dependency(%q<rails>, ["~> 3.2"])
|
73
|
-
s.add_development_dependency(%q<mongoid>, ["
|
72
|
+
s.add_development_dependency(%q<rails>, ["~> 3.2.7"])
|
73
|
+
s.add_development_dependency(%q<mongoid>, ["~> 3.0.0"])
|
74
74
|
s.add_development_dependency(%q<rdoc>, [">= 3.12"])
|
75
75
|
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
76
76
|
s.add_development_dependency(%q<jeweler>, [">= 1.8.3"])
|
@@ -81,8 +81,8 @@ Gem::Specification.new do |s|
|
|
81
81
|
s.add_dependency(%q<spanner>, [">= 0"])
|
82
82
|
s.add_dependency(%q<xduration>, ["~> 2.2"])
|
83
83
|
s.add_dependency(%q<rspec>, [">= 2.8.0"])
|
84
|
-
s.add_dependency(%q<rails>, ["~> 3.2"])
|
85
|
-
s.add_dependency(%q<mongoid>, ["
|
84
|
+
s.add_dependency(%q<rails>, ["~> 3.2.7"])
|
85
|
+
s.add_dependency(%q<mongoid>, ["~> 3.0.0"])
|
86
86
|
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
87
87
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
88
88
|
s.add_dependency(%q<jeweler>, [">= 1.8.3"])
|
@@ -94,8 +94,8 @@ Gem::Specification.new do |s|
|
|
94
94
|
s.add_dependency(%q<spanner>, [">= 0"])
|
95
95
|
s.add_dependency(%q<xduration>, ["~> 2.2"])
|
96
96
|
s.add_dependency(%q<rspec>, [">= 2.8.0"])
|
97
|
-
s.add_dependency(%q<rails>, ["~> 3.2"])
|
98
|
-
s.add_dependency(%q<mongoid>, ["
|
97
|
+
s.add_dependency(%q<rails>, ["~> 3.2.7"])
|
98
|
+
s.add_dependency(%q<mongoid>, ["~> 3.0.0"])
|
99
99
|
s.add_dependency(%q<rdoc>, [">= 3.12"])
|
100
100
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
101
101
|
s.add_dependency(%q<jeweler>, [">= 1.8.3"])
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: timespan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: chronic
|
@@ -98,7 +98,7 @@ dependencies:
|
|
98
98
|
requirements:
|
99
99
|
- - ~>
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
version:
|
101
|
+
version: 3.2.7
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
104
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -106,23 +106,23 @@ dependencies:
|
|
106
106
|
requirements:
|
107
107
|
- - ~>
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version:
|
109
|
+
version: 3.2.7
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: mongoid
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
none: false
|
114
114
|
requirements:
|
115
|
-
- -
|
115
|
+
- - ~>
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: 3.0.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
none: false
|
122
122
|
requirements:
|
123
|
-
- -
|
123
|
+
- - ~>
|
124
124
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
125
|
+
version: 3.0.0
|
126
126
|
- !ruby/object:Gem::Dependency
|
127
127
|
name: rdoc
|
128
128
|
requirement: !ruby/object:Gem::Requirement
|
@@ -246,7 +246,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
246
246
|
version: '0'
|
247
247
|
segments:
|
248
248
|
- 0
|
249
|
-
hash:
|
249
|
+
hash: -2725134475145941873
|
250
250
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
251
251
|
none: false
|
252
252
|
requirements:
|