et-orbi 1.1.5 → 1.1.6

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 +7 -1
  3. data/et-orbi.gemspec +7 -1
  4. data/lib/et-orbi.rb +24 -22
  5. metadata +7 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f1138451d72204cbbf239500bb74bb4791ac319
4
- data.tar.gz: 10e14f5f381ff80c2f803e79619d9caa84c27d44
3
+ metadata.gz: 7a483e51ede4f1880d1d3ccafcbabcf418f34abf
4
+ data.tar.gz: 537d66567277eba18947f3c175c244715ce9917f
5
5
  SHA512:
6
- metadata.gz: da566f8fb9efa143f2da602e7bfae0318c546cdda88f2f26ffa4655d3f61a838774d344c61c5e723faa08bf052f9a806a5e2f31f36932b2236275d5e3fbff321
7
- data.tar.gz: 2bc3a94c59a25b044ba446e85aaa0c2e7e960881ae186ad781a6942f7c4bbebdf1e2a9e7568118f3fa804c3a9dbd7788972c0163c4a135f26ed5ab8fe45a50c3
6
+ metadata.gz: 975490af3b9c016e8d8c3d30f19d4503ad6753fa7ef56493998f115aac78603db00f04790f04ec1d37bef2fe6132fa6290f3244b526a274eac95c512b7e83499
7
+ data.tar.gz: ab06522781f0bdf7caeb533c1a499999c9b363ee2d7f55a28d38fcd36706ad007645e66c9393f99cf62c1acc33c6c652d53d408952713e703f723999827545cc
@@ -1,5 +1,11 @@
1
1
 
2
- # et-orbi CHANGELOG.md
2
+ # CHANGELOG.md
3
+
4
+
5
+ ## et-orbi 1.1.6 released 2018-09-05
6
+
7
+ - Ensure Olson timezone name regex covers all timezone names
8
+ https://github.com/floraison/fugit/issues/9
3
9
 
4
10
 
5
11
  ## et-orbi 1.1.5 released 2018-08-25
@@ -19,7 +19,13 @@ Time zones for fugit and rufus-scheduler. Urbi et Orbi.
19
19
  }.strip
20
20
 
21
21
  s.metadata = {
22
- 'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md'
22
+ 'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md',
23
+ 'documentation_uri' => s.homepage,
24
+ 'bug_tracker_uri' => s.homepage + '/issues',
25
+ #'mailing_list_uri' => 'https://groups.google.com/forum/#!forum/floraison',
26
+ 'homepage_uri' => s.homepage,
27
+ 'source_code_uri' => s.homepage,
28
+ #'wiki_uri' => s.homepage + '/wiki',
23
29
  }
24
30
 
25
31
  #s.files = `git ls-files`.split("\n")
@@ -9,7 +9,7 @@ require 'et-orbi/zone_aliases'
9
9
 
10
10
  module EtOrbi
11
11
 
12
- VERSION = '1.1.5'
12
+ VERSION = '1.1.6'
13
13
 
14
14
  #
15
15
  # module methods
@@ -103,7 +103,7 @@ module EtOrbi
103
103
 
104
104
  z ||= t.zone
105
105
  # pass the abbreviation anyway,
106
- # it will be used in resulting the error message
106
+ # it will be used in the resulting error message
107
107
 
108
108
  EoTime.new(t, z)
109
109
  end
@@ -643,30 +643,32 @@ module EtOrbi
643
643
  #
644
644
  def list_iso8601_zones(s)
645
645
 
646
- s.scan(
647
- %r{
648
- (?<=:\d\d)
649
- \s*
650
- (?:
651
- [-+]
652
- (?:[0-1][0-9]|2[0-4])
653
- (?:(?::)?(?:[0-5][0-9]|60))?
654
- (?![-+])
655
- |
656
- Z
657
- )
658
- }x
659
- ).collect(&:strip)
646
+ s
647
+ .scan(
648
+ %r{
649
+ (?<=:\d\d)
650
+ \s*
651
+ (?:
652
+ [-+]
653
+ (?:[0-1][0-9]|2[0-4])
654
+ (?:(?::)?(?:[0-5][0-9]|60))?
655
+ (?![-+])
656
+ |
657
+ Z
658
+ )
659
+ }x)
660
+ .collect(&:strip)
660
661
  end
661
662
 
662
663
  def list_olson_zones(s)
663
664
 
664
- s.scan(
665
- %r{
666
- (?<=\s|\A)
667
- (?:[A-Za-z][A-Za-z0-9+_-]+)
668
- (?:\/(?:[A-Za-z][A-Za-z0-9+_-]+)){0,2}
669
- }x)
665
+ s
666
+ .scan(
667
+ %r{
668
+ (?<=\s|\A)
669
+ (?:[A-Z][A-Za-z0-9+_-]+)
670
+ (?:\/(?:[A-Z][A-Za-z0-9+_-]+)){0,2}
671
+ }x)
670
672
  end
671
673
 
672
674
  def find_olson_zone(str)
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.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Mettraux
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-25 00:00:00.000000000 Z
11
+ date: 2018-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -60,6 +60,10 @@ licenses:
60
60
  - MIT
61
61
  metadata:
62
62
  changelog_uri: http://github.com/floraison/et-orbi/blob/master/CHANGELOG.md
63
+ documentation_uri: http://github.com/floraison/et-orbi
64
+ bug_tracker_uri: http://github.com/floraison/et-orbi/issues
65
+ homepage_uri: http://github.com/floraison/et-orbi
66
+ source_code_uri: http://github.com/floraison/et-orbi
63
67
  post_install_message:
64
68
  rdoc_options: []
65
69
  require_paths:
@@ -76,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
80
  version: '0'
77
81
  requirements: []
78
82
  rubyforge_project:
79
- rubygems_version: 2.6.14.1
83
+ rubygems_version: 2.5.2.3
80
84
  signing_key:
81
85
  specification_version: 4
82
86
  summary: time with zones