ruby-duration 3.2.0 → 3.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZTQzZmEyYTE0Y2IzNzQ0MjE1OTM2YmRjMjI1OThmMDBlZDIwM2RiMw==
5
- data.tar.gz: !binary |-
6
- ZjNjODE1MzJkZGQxOWFjZWFlOTgzZWM2ZWZlM2I2MTBmNjQ0NzQ2Zg==
2
+ SHA1:
3
+ metadata.gz: f0855490b231809abb27c1957aa9f55667b02366
4
+ data.tar.gz: a5efb067e60baf7d49020bb29d4b0ecf538fc143
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- NWQzYTRhZTViNzEyYzcxMTZjNzQxNWIzNDI1YThmM2E5MmYxZTk5YzE1ZTZi
10
- YzQxY2RmZDA4NWRhOTE4MTk1Y2FjODY3OGNmYzgxMDgzNTQ2MjllY2VmMzZi
11
- MGYzODY1OTU3ZjU3NzE0YmNiYjRlNjQ2NjI4NGNmOGRhMjFhYjI=
12
- data.tar.gz: !binary |-
13
- ZDFiMzI1MTg3MWY0MjJlMGY1MmVmYzQ3MGE2OTllYzE2ZTYzNDY2ODdlMjI4
14
- M2NmOWM2MjkyYzMzMGQ5ODJkYjAzOWIxMzk5YzBkMmRhNjQ1YmMzMWMxYWVl
15
- M2VlZTk5NTMxMzAyY2RlNWY1NmNhMmU5MjZiNTM5Y2JkNDlmYzQ=
6
+ metadata.gz: d12e6721def4224a5af50b3a2c1ae6472c5339da0c836efa50ea23c0f199133a2ea5d7ae85419dbba73f58cfe3c24f42d8949397954c889aa8ca143d7d2c5339
7
+ data.tar.gz: 7d24a038abd40ec328e4573d324096eb3004354890ac9bf91e239b59f7f3d8c9f3cf4ea1369a947b5afc7078e0ae694d18618ce377e66e06df19dc2e3724246f
@@ -0,0 +1 @@
1
+ biblebox
@@ -0,0 +1 @@
1
+ 2.2
@@ -2,5 +2,6 @@ language: ruby
2
2
  rvm:
3
3
  - 1.9.3
4
4
  - 2.0.0
5
+ - 2.1
6
+ - 2.2
5
7
  - jruby-19mode
6
- - jruby-head
data/README.md CHANGED
@@ -4,9 +4,8 @@ ruby-duration
4
4
  Duration is an immutable type that represents some amount of time with accuracy in seconds.
5
5
 
6
6
  A lot of the code and inspirations is borrowed from [duration](http://rubyforge.org/projects/duration)
7
- lib, which is a **mutable** Duration type with lot more features but lack of tests.
7
+ lib, which is a **mutable** Duration type with lot more features.
8
8
 
9
- I'll try to contact the author of duration to make ruby-duration version 2 of duration's lib. ;)
10
9
 
11
10
 
12
11
  Features
@@ -32,7 +31,7 @@ Show me the code
32
31
  Duration.new(:weeks => 3, :days => 1).format("%w %~w and %d %~d") => "3 weeks and 1 day"
33
32
  Duration.new(:weeks => 1, :days => 20).format("%w %~w and %d %~d") => "3 weeks and 6 days"
34
33
 
35
- ### iso 8601 [more info](http://en.wikipedia.org/wiki/ISO_8601#Durations)
34
+ ### [iso 8601](http://en.wikipedia.org/wiki/ISO_8601#Durations)
36
35
 
37
36
  Duration.new(:weeks => 1, :days => 20).iso8601 => "P3W6DT0H0M0S"
38
37
 
@@ -1,5 +1,6 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require 'i18n'
3
+ require 'active_support'
3
4
  require 'active_support/core_ext'
4
5
  require 'iso8601'
5
6
 
@@ -1,3 +1,3 @@
1
1
  class Duration
2
- VERSION = "3.2.0"
2
+ VERSION = "3.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-duration
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jose Peleteiro
@@ -9,138 +9,138 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-17 00:00:00.000000000 Z
12
+ date: 2015-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - ! '>='
18
+ - - ">="
19
19
  - !ruby/object:Gem::Version
20
20
  version: 3.0.0
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - ! '>='
25
+ - - ">="
26
26
  - !ruby/object:Gem::Version
27
27
  version: 3.0.0
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: i18n
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ! '>='
32
+ - - ">="
33
33
  - !ruby/object:Gem::Version
34
34
  version: '0'
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - ! '>='
39
+ - - ">="
40
40
  - !ruby/object:Gem::Version
41
41
  version: '0'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: iso8601
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ! '>='
46
+ - - ">="
47
47
  - !ruby/object:Gem::Version
48
48
  version: '0'
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ! '>='
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: bundler
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - ! '>='
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: 1.0.0
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ! '>='
67
+ - - ">="
68
68
  - !ruby/object:Gem::Version
69
69
  version: 1.0.0
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: minitest
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - ! '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ! '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: yard
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ! '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - ! '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rake
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - ! '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '0'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ! '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  - !ruby/object:Gem::Dependency
113
113
  name: simplecov
114
114
  requirement: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ! '>='
116
+ - - ">="
117
117
  - !ruby/object:Gem::Version
118
118
  version: 0.3.5
119
119
  type: :development
120
120
  prerelease: false
121
121
  version_requirements: !ruby/object:Gem::Requirement
122
122
  requirements:
123
- - - ! '>='
123
+ - - ">="
124
124
  - !ruby/object:Gem::Version
125
125
  version: 0.3.5
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: mongoid
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - ! '>='
130
+ - - ">="
131
131
  - !ruby/object:Gem::Version
132
132
  version: 3.0.0
133
- - - <
133
+ - - "<"
134
134
  - !ruby/object:Gem::Version
135
135
  version: 4.0.0
136
136
  type: :development
137
137
  prerelease: false
138
138
  version_requirements: !ruby/object:Gem::Requirement
139
139
  requirements:
140
- - - ! '>='
140
+ - - ">="
141
141
  - !ruby/object:Gem::Version
142
142
  version: 3.0.0
143
- - - <
143
+ - - "<"
144
144
  - !ruby/object:Gem::Version
145
145
  version: 4.0.0
146
146
  description: Duration type
@@ -151,9 +151,10 @@ executables: []
151
151
  extensions: []
152
152
  extra_rdoc_files: []
153
153
  files:
154
- - .gitignore
155
- - .rvmrc
156
- - .travis.yml
154
+ - ".gitignore"
155
+ - ".ruby-gemset"
156
+ - ".ruby-version"
157
+ - ".travis.yml"
157
158
  - Gemfile
158
159
  - LICENSE
159
160
  - README.md
@@ -173,22 +174,22 @@ licenses: []
173
174
  metadata: {}
174
175
  post_install_message:
175
176
  rdoc_options:
176
- - --charset=UTF-8
177
+ - "--charset=UTF-8"
177
178
  require_paths:
178
179
  - lib
179
180
  required_ruby_version: !ruby/object:Gem::Requirement
180
181
  requirements:
181
- - - ! '>='
182
+ - - ">="
182
183
  - !ruby/object:Gem::Version
183
184
  version: '0'
184
185
  required_rubygems_version: !ruby/object:Gem::Requirement
185
186
  requirements:
186
- - - ! '>='
187
+ - - ">="
187
188
  - !ruby/object:Gem::Version
188
189
  version: 1.3.6
189
190
  requirements: []
190
191
  rubyforge_project: ruby-duration
191
- rubygems_version: 2.2.2
192
+ rubygems_version: 2.4.5
192
193
  signing_key:
193
194
  specification_version: 4
194
195
  summary: Duration type
data/.rvmrc DELETED
@@ -1 +0,0 @@
1
- rvm 1.9.3@ruby-duration --create