date_time_precision 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71536a97bec964927b020bef1a1eb66e9701f3ac
|
4
|
+
data.tar.gz: 565285ab3969674b1af42a04da76e47d99211520
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a50f19fe82162b7e3248c3b3691c69c72a486c5660741bfacfa0e3426ce563c77fe6c69a237bbe0e4ce71921a50e48a425ec10a7af0ac671f36271361a359de3
|
7
|
+
data.tar.gz: 3e4ae33d5bf281f1ca2c6f5ec79c51e1d471f1f98c54ee3bc35076b76bcc7d75c9df71ddfe1c6b943812775baaf0eefa2b9a814a456fa4de5985eab0843aee3f
|
@@ -32,7 +32,7 @@ class DateTime < Date
|
|
32
32
|
precision = self.precision(orig_args)
|
33
33
|
time_args = normalize_new_args(orig_args)
|
34
34
|
|
35
|
-
dt =
|
35
|
+
dt = civil_orig(*[time_args, args].flatten)
|
36
36
|
dt.precision = precision
|
37
37
|
dt.attributes_set(*orig_args)
|
38
38
|
dt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: date_time_precision
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Butler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.0.
|
157
|
+
rubygems_version: 2.0.3
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Patches Date, Time, and DateTime ruby classes to keep track of precision
|