unichron 0.3.5 → 0.3.7

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
  SHA256:
3
- metadata.gz: c94563f11984c9edc01094f3149c3e79d83458492b5c659f3872ac3e8588ae96
4
- data.tar.gz: d65aeedccc5da43c22e5585c4d56fdbee6afe22af56b44b24e6b7db5df47a148
3
+ metadata.gz: 18dff906e476c832a0272131a633b5a029aa26507750b0936d0f183d8b150019
4
+ data.tar.gz: cc77fdbfc484f6dcff6415c6bf3c82ab680e67ed7cb6ac6ac39923d3c6d48c59
5
5
  SHA512:
6
- metadata.gz: ab7de3b681d9f9e764bca7848add0bf4f2ac1ed3eeb2bc40ebbcace63e134d52a099b75ff434f0aeceffe08b5aec0fcd6a150f3edc934249855c2c4e48b971dc
7
- data.tar.gz: 6dc77c5dbd27fcadc14f485fa9c3b3bb474e4f87eec1fa678bfaeaaa59532b6b127493d560be39990b1f003e8346f72a371ce336f94cf32f563c40c78923ae4d
6
+ metadata.gz: 77effe7c012cd16ff9ef473c4086140b0d8a12535c27a975af32bce2a8e1b72266f75b0f7c808b5db5c1a708fa1321911d0cb0fc1790ea628857a7247de8e5f6
7
+ data.tar.gz: 22e32cccfce09bb1519b63571aef206e3a6a198b32af635a727db690aaf3d17defc9a15c7cd7a387cc78445bb0b82f35c003aafc660cadd3f1830767e72ff660
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/unichron.rb CHANGED
@@ -85,7 +85,10 @@ class Unichron
85
85
 
86
86
 
87
87
  return nil
88
-
88
+
89
+ elsif obj.is_a? Integer
90
+ r = Time.at obj
91
+ return r
89
92
  else
90
93
  obj
91
94
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unichron
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file