et-orbi 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/CREDITS.md +1 -0
- data/Makefile +1 -1
- data/lib/et-orbi.rb +1 -1
- data/lib/et-orbi/make.rb +3 -4
- data/lib/et-orbi/time.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d149cca00007283238dcce941bdfea63eaeacb4c41750790fae08b5967acbafc
|
4
|
+
data.tar.gz: b6fc9ae4924376894010c180b3bd4c8b735b4647635cb7899fa0f8ede1c4f233
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32858697fce82e2ad0d58fa913b8eaf91b4104f6afdb2c447d27edf3dbadc7a6af9610cfdc98d5f1d821f47f604c961417599c5a1a4116cc2e27f7a799c30cde
|
7
|
+
data.tar.gz: 0c507744256eac6fd376b1023ff2da5c3c73c35cded7cc61ccd5d98ab0ad97a3e6356374aec386dc4a807c8ae1bfd35a340e57b28d04f34b6fb3a989b487f752
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
# CHANGELOG.md
|
3
3
|
|
4
4
|
|
5
|
+
## et-orbi 1.2.4 released 2020-03-18
|
6
|
+
|
7
|
+
- Do not call Chronic (even if enabled) from make_from_array, gh-28
|
8
|
+
- Be modern, use strftime '%6N', join Ruby 2.x :-)
|
9
|
+
|
10
|
+
|
5
11
|
## et-orbi 1.2.3 released 2020-03-06
|
6
12
|
|
7
13
|
- Introduce EtOrbi.chronic_enabled = false and EtOrbi.chronic_enabled?, gh-26
|
data/CREDITS.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
|
2
2
|
# et-orbi credits
|
3
3
|
|
4
|
+
* adank92 (https://github.com/adank92) https://github.com/ondrejbartas/sidekiq-cron/issues/276 gh-28
|
4
5
|
* Stan Hu (https://github.com/stanhu) Chronic toubles, gh-24, gh-26, etc
|
5
6
|
* d-m-u (https://github.com/d-m-u) EoTime#==(Time), gh-20, gh-7
|
6
7
|
* Vais Salikhov (https://github.com/vais) missing US timezone aliases, gh-18 gh-19
|
data/Makefile
CHANGED
data/lib/et-orbi.rb
CHANGED
data/lib/et-orbi/make.rb
CHANGED
@@ -105,10 +105,9 @@ module EtOrbi
|
|
105
105
|
|
106
106
|
def make_from_array(a, zone)
|
107
107
|
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
make_from_string(s, zone)
|
108
|
+
parse(
|
109
|
+
Time.utc(*a).strftime('%Y-%m-%d %H:%M:%S.%6N'), # not a Chronic string
|
110
|
+
zone: zone, enable_chronic: false)
|
112
111
|
end
|
113
112
|
|
114
113
|
def make_from_string(s, zone)
|
data/lib/et-orbi/time.rb
CHANGED
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.2.
|
4
|
+
version: 1.2.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: 2020-03-
|
11
|
+
date: 2020-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tzinfo
|
@@ -97,8 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
|
101
|
-
rubygems_version: 2.7.6.2
|
100
|
+
rubygems_version: 3.0.3
|
102
101
|
signing_key:
|
103
102
|
specification_version: 4
|
104
103
|
summary: time with zones
|