et-orbi 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8ef8fc834961c17b876b47c41d4d68c7901aa84
4
- data.tar.gz: 6f2be70aa989f8a1245556b59bfefba5bd21e9cd
3
+ metadata.gz: 1f1138451d72204cbbf239500bb74bb4791ac319
4
+ data.tar.gz: 10e14f5f381ff80c2f803e79619d9caa84c27d44
5
5
  SHA512:
6
- metadata.gz: 92da61eef8752d71237a83a14d8295c818f4236ecc725616bb7264ba6c0ff019fafabc813912e3bcb9e24b408da37d5222658b8671223a91cba9aa48867cdf52
7
- data.tar.gz: c79094b2d43fa66d2907552603c8e973a0936e8a1b5d73d0b55c6d505eef6e280c8c868cbaa011119a9669abe1bc3314fe476de377806d780187fe277fba0b79
6
+ metadata.gz: da566f8fb9efa143f2da602e7bfae0318c546cdda88f2f26ffa4655d3f61a838774d344c61c5e723faa08bf052f9a806a5e2f31f36932b2236275d5e3fbff321
7
+ data.tar.gz: 2bc3a94c59a25b044ba446e85aaa0c2e7e960881ae186ad781a6942f7c4bbebdf1e2a9e7568118f3fa804c3a9dbd7788972c0163c4a135f26ed5ab8fe45a50c3
@@ -2,6 +2,11 @@
2
2
  # et-orbi CHANGELOG.md
3
3
 
4
4
 
5
+ ## et-orbi 1.1.5 released 2018-08-25
6
+
7
+ - Prevent encoding issue on Windows with "Mitteleuropaeische Sommerzeit", gh-15
8
+
9
+
5
10
  ## et-orbi 1.1.4 released 2018-07-25
6
11
 
7
12
  - Silence 3 Ruby warnings (thanks Jamie Stackhouse, gh-13)
data/CREDITS.md CHANGED
@@ -1,6 +1,8 @@
1
1
 
2
2
  # et-orbi credits
3
3
 
4
+ * Marcel https://github.com/MTRNord "Mitteleuropaeische Sommerzeit", gh-15
5
+ * Stanisław Pitucha https://github.com/viraptor rubygems link to changelog, gh-14
4
6
  * Jamie Stackhouse https://github.com/itsjamie reported warnings, gh-13
5
7
  * mlotfi2005 https://github.com/mlotfi2005 reported infinite loop, gh-12
6
8
  * Mayur Dave https://github.com/mdave16 reported trailing warning, gh-10
@@ -18,6 +18,10 @@ Gem::Specification.new do |s|
18
18
  Time zones for fugit and rufus-scheduler. Urbi et Orbi.
19
19
  }.strip
20
20
 
21
+ s.metadata = {
22
+ 'changelog_uri' => s.homepage + '/blob/master/CHANGELOG.md'
23
+ }
24
+
21
25
  #s.files = `git ls-files`.split("\n")
22
26
  s.files = Dir[
23
27
  'README.{md,txt}',
@@ -9,7 +9,7 @@ require 'et-orbi/zone_aliases'
9
9
 
10
10
  module EtOrbi
11
11
 
12
- VERSION = '1.1.4'
12
+ VERSION = '1.1.5'
13
13
 
14
14
  #
15
15
  # module methods
@@ -750,7 +750,11 @@ module EtOrbi
750
750
 
751
751
  # custom timezones, no DST, just an offset, like "+08:00" or "-01:30"
752
752
 
753
- m = str.match(/\A([+-][0-1][0-9]):?([0-5][0-9])?\z/)
753
+ m = str.match(/\A([+-][0-1][0-9]):?([0-5][0-9])?\z/) rescue nil
754
+ #
755
+ # On Windows, the real encoding could be something other than UTF-8,
756
+ # and make the match fail
757
+ #
754
758
  return nil unless m
755
759
 
756
760
  hr = m[1].to_i
@@ -3,6 +3,8 @@ module EtOrbi
3
3
 
4
4
  def self.unalias(name)
5
5
 
6
+ return name unless (name.match(/./) rescue nil)
7
+
6
8
  ZONE_ALIASES[name.sub(/ Daylight /, ' Standard ')] ||
7
9
  unzz(name) ||
8
10
  name
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.4
4
+ version: 1.1.5
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-07-24 00:00:00.000000000 Z
11
+ date: 2018-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tzinfo
@@ -58,7 +58,8 @@ files:
58
58
  homepage: http://github.com/floraison/et-orbi
59
59
  licenses:
60
60
  - MIT
61
- metadata: {}
61
+ metadata:
62
+ changelog_uri: http://github.com/floraison/et-orbi/blob/master/CHANGELOG.md
62
63
  post_install_message:
63
64
  rdoc_options: []
64
65
  require_paths:
@@ -75,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  version: '0'
76
77
  requirements: []
77
78
  rubyforge_project:
78
- rubygems_version: 2.5.2.3
79
+ rubygems_version: 2.6.14.1
79
80
  signing_key:
80
81
  specification_version: 4
81
82
  summary: time with zones