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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/et-orbi.gemspec +7 -1
- data/lib/et-orbi.rb +24 -22
- metadata +7 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a483e51ede4f1880d1d3ccafcbabcf418f34abf
|
4
|
+
data.tar.gz: 537d66567277eba18947f3c175c244715ce9917f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 975490af3b9c016e8d8c3d30f19d4503ad6753fa7ef56493998f115aac78603db00f04790f04ec1d37bef2fe6132fa6290f3244b526a274eac95c512b7e83499
|
7
|
+
data.tar.gz: ab06522781f0bdf7caeb533c1a499999c9b363ee2d7f55a28d38fcd36706ad007645e66c9393f99cf62c1acc33c6c652d53d408952713e703f723999827545cc
|
data/CHANGELOG.md
CHANGED
data/et-orbi.gemspec
CHANGED
@@ -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")
|
data/lib/et-orbi.rb
CHANGED
@@ -9,7 +9,7 @@ require 'et-orbi/zone_aliases'
|
|
9
9
|
|
10
10
|
module EtOrbi
|
11
11
|
|
12
|
-
VERSION = '1.1.
|
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
|
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
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
654
|
-
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
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
|
665
|
-
|
666
|
-
|
667
|
-
|
668
|
-
|
669
|
-
|
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.
|
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-
|
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.
|
83
|
+
rubygems_version: 2.5.2.3
|
80
84
|
signing_key:
|
81
85
|
specification_version: 4
|
82
86
|
summary: time with zones
|