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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/CREDITS.md +1 -0
  4. data/lib/et-orbi.rb +2 -1
  5. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a73f3948e76c89fdb79154e903e590594eadee8
4
- data.tar.gz: '068a020b01766dad22cad3e2b0f3d20a612ceaaf'
3
+ metadata.gz: 4d6a8309df165816b992a3cf023e2402ee99fd43
4
+ data.tar.gz: 18054a7b9d63665fd8bec081125a813256d900ea
5
5
  SHA512:
6
- metadata.gz: 256b38da4dd9788c36d6499ff06e29915f5ee80413112a7bf5a9d5b678ac1b6a9fc520de4d5234a34c727adde6e5e0fe02cf815b37927d839e87271eda46ed66
7
- data.tar.gz: fe1b1a1bf20569bfe2a2c96d94bd3b9ed32c75a3df400622fef34d907ac20b4c154d055f4e3a991171655e685b40b3c84cc2b2687634bba28d6583c65312a54b
6
+ metadata.gz: 494279c96db53e01a9b7aabc72de4acaca3ae5be35695532c93f9d5cce3515d3ce6aece9de6cde1e3ff545f9ab6dcf86638a5c43ac20358b0f255a6a527c9db5
7
+ data.tar.gz: bebb4a2a3d67cfca571a67f5875c3ea877fd21a23b643730910880ca5c4a2877caa67c562b38d5bffa6dc8c60b71d4652f8aaa2e7d049b595ce3828f8db92993
@@ -2,6 +2,11 @@
2
2
  # et-orbi CHANGELOG.md
3
3
 
4
4
 
5
+ ## et-orbi 1.0.8 released 2017-10-24
6
+
7
+ - Ensure ::EoTime.new accepts ActiveSupport::TimeZone, closes gh-8
8
+
9
+
5
10
  ## et-orbi 1.0.7 released 2017-10-07
6
11
 
7
12
  - Leverage ActiveSupport::TimeWithZone when present, gh-6
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
 
@@ -7,7 +7,7 @@ require 'tzinfo'
7
7
 
8
8
  module EtOrbi
9
9
 
10
- VERSION = '1.0.7'
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.7
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-06 00:00:00.000000000 Z
11
+ date: 2017-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo