time_ext 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
data/lib/time_ext.rb CHANGED
@@ -5,3 +5,4 @@ require 'time_ext/calculations'
5
5
  require 'time_ext/iterations'
6
6
  require 'time_ext/support'
7
7
  require 'time_ext/core_ext/time'
8
+ require 'time_ext/core_ext/numeric'
@@ -0,0 +1,4 @@
1
+ class Numeric
2
+ alias :sec :seconds
3
+ alias :min :minutes
4
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time_ext
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Myhrberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-05 00:00:00 +03:00
18
+ date: 2010-08-11 00:00:00 +03:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -83,6 +83,7 @@ files:
83
83
  - lib/time/ext.rb
84
84
  - lib/time_ext.rb
85
85
  - lib/time_ext/calculations.rb
86
+ - lib/time_ext/core_ext/numeric.rb
86
87
  - lib/time_ext/core_ext/time.rb
87
88
  - lib/time_ext/iterations.rb
88
89
  - lib/time_ext/support.rb