et-orbi 1.0.3 → 1.0.4

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 +4 -0
  4. data/lib/et-orbi.rb +2 -3
  5. metadata +14 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4341ea1620f51e75acee26880d7c6dc60fb032db
4
- data.tar.gz: 7a9ce637533a5d2568e4a918175f8d4ccd6996fe
3
+ metadata.gz: f05057ae10fbf427ca9254d719b8e994e1c67b6e
4
+ data.tar.gz: 949ba6a94e1fd23125735edfe93b619d6a4ecc96
5
5
  SHA512:
6
- metadata.gz: 52837ad80880da6341a49108a9f7c23b60b12724a87872811f769071de34b1070dbb753bcb5ae59831b87cd4005397b21354d3a8b8536b5e5581ed77f9aff587
7
- data.tar.gz: cca6da99499ae5a9da3aeda65e0931b2f2455966707d5e8d74d1762177d5f8d1224ca932651d94948f2d4c74929e9273fa2f4059d3f72a4ff83956965d147a92
6
+ metadata.gz: 0de6ce502b9344aff48161a8b32286ee1cd0bf5fd40ba8bed69b1f20d678b0c9ffd30e0868c7da7daba5aaab56df5534fa35aa7ba3dcc2c0422795061b19eb8b
7
+ data.tar.gz: 01e5291f4e3130ab7f9ca27b25e70f776a4fa942c3e913e68888c6dcd7715b873a420a09db6ea9708565dffc8d5aa3d3103b083212d3be366f6052bc5955a172
@@ -2,6 +2,11 @@
2
2
  # et-orbi CHANGELOG.md
3
3
 
4
4
 
5
+ ## et-orbi 1.0.4 released 2017-05-10
6
+
7
+ - Survive older versions of TZInfo with poor `<=>` impl, gh-1
8
+
9
+
5
10
  ## et-orbi 1.0.3 released 2017-04-07
6
11
 
7
12
  - Let not #render_nozone_time fail when local_tzone is nil
data/CREDITS.md CHANGED
@@ -1,6 +1,10 @@
1
1
 
2
2
  # et-orbi credits
3
3
 
4
+ * Jeremy Strouse https://github.com/jstrouse help alleviate issue with older versions of TZInfo
5
+
6
+ ## since rufus-scheduler
7
+
4
8
  Many thanks to all the rufus-scheduler contributors and people who gave feedback.
5
9
 
6
10
  https://github.com/jmettraux/rufus-scheduler/blob/master/CREDITS.txt
@@ -7,7 +7,7 @@ require 'tzinfo'
7
7
 
8
8
  module EtOrbi
9
9
 
10
- VERSION = '1.0.3'
10
+ VERSION = '1.0.4'
11
11
 
12
12
  #
13
13
  # module methods
@@ -88,10 +88,9 @@ module EtOrbi
88
88
 
89
89
  def self.get_tzone(o)
90
90
 
91
- #p [ :gtz, o ]
91
+ return o if o.is_a?(::TZInfo::Timezone)
92
92
  return nil if o == nil
93
93
  return local_tzone if o == :local
94
- return o if o.is_a?(::TZInfo::Timezone)
95
94
  return ::TZInfo::Timezone.get('Zulu') if o == 'Z'
96
95
 
97
96
  o = to_offset(o) if o.is_a?(Numeric)
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et-orbi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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-04-06 00:00:00.000000000 Z
11
+ date: 2017-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '3.4'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '3.4'
41
41
  description: Time zones for fugit and rufus-scheduler. Urbi et Orbi.
@@ -45,15 +45,15 @@ executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
- - CHANGELOG.md
49
- - CREDITS.md
50
- - LICENSE.txt
51
48
  - Makefile
52
- - README.md
53
- - et-orbi.gemspec
54
49
  - lib/et-orbi.rb
55
50
  - lib/et_orbi.rb
56
51
  - lib/etorbi.rb
52
+ - et-orbi.gemspec
53
+ - LICENSE.txt
54
+ - CHANGELOG.md
55
+ - CREDITS.md
56
+ - README.md
57
57
  homepage: http://github.com/floraison/et-orbi
58
58
  licenses:
59
59
  - MIT
@@ -64,17 +64,17 @@ require_paths:
64
64
  - lib
65
65
  required_ruby_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
69
  version: '0'
70
70
  required_rubygems_version: !ruby/object:Gem::Requirement
71
71
  requirements:
72
- - - ">="
72
+ - - '>='
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 2.5.2
77
+ rubygems_version: 2.0.14
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: time with zones