et-orbi 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/CREDITS.md +1 -0
- data/lib/et-orbi.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d6a8309df165816b992a3cf023e2402ee99fd43
|
4
|
+
data.tar.gz: 18054a7b9d63665fd8bec081125a813256d900ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 494279c96db53e01a9b7aabc72de4acaca3ae5be35695532c93f9d5cce3515d3ce6aece9de6cde1e3ff545f9ab6dcf86638a5c43ac20358b0f255a6a527c9db5
|
7
|
+
data.tar.gz: bebb4a2a3d67cfca571a67f5875c3ea877fd21a23b643730910880ca5c4a2877caa67c562b38d5bffa6dc8c60b71d4652f8aaa2e7d049b595ce3828f8db92993
|
data/CHANGELOG.md
CHANGED
data/CREDITS.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
# et-orbi credits
|
3
3
|
|
4
|
+
* Miles Lane https://github.com/mileslane issue with ActiveSupport::TimeZone, gh-8
|
4
5
|
* Chris Arcand https://github.com/chrisarcand shew various issues around America/Chicago on OSX, gh-4
|
5
6
|
* Jeremy Strouse https://github.com/jstrouse helped alleviate issue with older versions of TZInfo
|
6
7
|
|
data/lib/et-orbi.rb
CHANGED
@@ -7,7 +7,7 @@ require 'tzinfo'
|
|
7
7
|
|
8
8
|
module EtOrbi
|
9
9
|
|
10
|
-
VERSION = '1.0.
|
10
|
+
VERSION = '1.0.8'
|
11
11
|
|
12
12
|
#
|
13
13
|
# module methods
|
@@ -146,6 +146,7 @@ module EtOrbi
|
|
146
146
|
return nil if o == nil
|
147
147
|
return local_tzone if o == :local
|
148
148
|
return ::TZInfo::Timezone.get('Zulu') if o == 'Z'
|
149
|
+
return o.tzinfo if o.respond_to?(:tzinfo)
|
149
150
|
|
150
151
|
o = to_offset(o) if o.is_a?(Numeric)
|
151
152
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et-orbi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Mettraux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-10-
|
11
|
+
date: 2017-10-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|