chronological 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chronological.rb +5 -116
- data/lib/chronological/absolute_timeframe.rb +98 -0
- data/lib/chronological/base.rb +41 -0
- data/lib/chronological/relative_timeframe.rb +57 -0
- data/lib/chronological/version.rb +1 -1
- data/spec/{chronological_spec.rb → absolute_timeframe_spec.rb} +72 -218
- data/spec/base_spec.rb +230 -0
- data/spec/relative_timeframe_spec.rb +207 -0
- data/spec/spec_helper.rb +15 -2
- metadata +11 -4
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chronological
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-10-
|
13
|
+
date: 2012-10-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -164,12 +164,17 @@ extra_rdoc_files:
|
|
164
164
|
- README.md
|
165
165
|
- LICENSE
|
166
166
|
files:
|
167
|
+
- lib/chronological/absolute_timeframe.rb
|
168
|
+
- lib/chronological/base.rb
|
169
|
+
- lib/chronological/relative_timeframe.rb
|
167
170
|
- lib/chronological/version.rb
|
168
171
|
- lib/chronological.rb
|
169
172
|
- Rakefile
|
170
173
|
- README.md
|
171
174
|
- LICENSE
|
172
|
-
- spec/
|
175
|
+
- spec/absolute_timeframe_spec.rb
|
176
|
+
- spec/base_spec.rb
|
177
|
+
- spec/relative_timeframe_spec.rb
|
173
178
|
- spec/spec_helper.rb
|
174
179
|
- spec/support/focused.rb
|
175
180
|
- spec/support/pending.rb
|
@@ -200,7 +205,9 @@ signing_key:
|
|
200
205
|
specification_version: 3
|
201
206
|
summary: Easy Accessors for ActiveModel Objects
|
202
207
|
test_files:
|
203
|
-
- spec/
|
208
|
+
- spec/absolute_timeframe_spec.rb
|
209
|
+
- spec/base_spec.rb
|
210
|
+
- spec/relative_timeframe_spec.rb
|
204
211
|
- spec/spec_helper.rb
|
205
212
|
- spec/support/focused.rb
|
206
213
|
- spec/support/pending.rb
|