et-orbi 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5 -0
  3. data/lib/et-orbi.rb +5 -3
  4. metadata +14 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c7c982477f7068d7be62fbb84846f81de496a87
4
- data.tar.gz: ec767fc4ce7efd5413d17b5cd90f69f9cc1dc6cd
3
+ metadata.gz: 4341ea1620f51e75acee26880d7c6dc60fb032db
4
+ data.tar.gz: 7a9ce637533a5d2568e4a918175f8d4ccd6996fe
5
5
  SHA512:
6
- metadata.gz: ea3c1d4c24633d9820a1e9c58b30e9b0e418c91c9eda5308c20782210c4b041500df882a466e327e6110be1323966e64eaaf291aa12288e87cd96619f88bba91
7
- data.tar.gz: ee248987a931f7ec23c58048b45f6970d082046656d790a2eb8c4fccec14ee1c58ff56484fba0e9cd0e18ae51ed452579e7909582de9d51c9e664f63b6fda090
6
+ metadata.gz: 52837ad80880da6341a49108a9f7c23b60b12724a87872811f769071de34b1070dbb753bcb5ae59831b87cd4005397b21354d3a8b8536b5e5581ed77f9aff587
7
+ data.tar.gz: cca6da99499ae5a9da3aeda65e0931b2f2455966707d5e8d74d1762177d5f8d1224ca932651d94948f2d4c74929e9273fa2f4059d3f72a4ff83956965d147a92
@@ -2,6 +2,11 @@
2
2
  # et-orbi CHANGELOG.md
3
3
 
4
4
 
5
+ ## et-orbi 1.0.3 released 2017-04-07
6
+
7
+ - Let not #render_nozone_time fail when local_tzone is nil
8
+
9
+
5
10
  ## et-orbi 1.0.2 released 2017-03-24
6
11
 
7
12
  - Enhance no zone ArgumentError data
@@ -7,7 +7,7 @@ require 'tzinfo'
7
7
 
8
8
  module EtOrbi
9
9
 
10
- VERSION = '1.0.2'
10
+ VERSION = '1.0.3'
11
11
 
12
12
  #
13
13
  # module methods
@@ -365,9 +365,11 @@ module EtOrbi
365
365
  t.strftime('%Y-%m-%d %H:%M:%S') +
366
366
  ".#{(seconds % 1).to_s.split('.').last}"
367
367
  z =
368
- EtOrbi.local_tzone.period_for_local(t).abbreviation.to_s
368
+ EtOrbi.local_tzone ?
369
+ EtOrbi.local_tzone.period_for_local(t).abbreviation.to_s :
370
+ nil
369
371
 
370
- "(secs:#{seconds},utc~:#{ts.inspect},zo~:#{z.inspect})"
372
+ "(secs:#{seconds},utc~:#{ts.inspect},ltz~:#{z.inspect})"
371
373
  end
372
374
 
373
375
  def strfz(code)
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.2
4
+ version: 1.0.3
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-03-23 00:00:00.000000000 Z
11
+ date: 2017-04-06 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
48
51
  - Makefile
52
+ - README.md
53
+ - et-orbi.gemspec
49
54
  - lib/et-orbi.rb
50
55
  - lib/et_orbi.rb
51
56
  - 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.0.14
77
+ rubygems_version: 2.5.2
78
78
  signing_key:
79
79
  specification_version: 4
80
80
  summary: time with zones