zones 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zones.rb +1 -1
- data/zones.gemspec +1 -1
- metadata +3 -4
- data/.ruby-version +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 849ad931c3600169ffafe613ee4dbdea31e43d6164a2fa70c7e389561be64e36
|
4
|
+
data.tar.gz: 7721087a68b9d227da0187c0e95b3f2b12ff9f1a80aab7a4f91beeb67478681e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc91b4e9b83b532a7f971ad3b17fa11b3c826918c1c535147e67816c5f15afd0e27af606e3131d4a6956d0ae4198262baebdd316a67c5be383c65811352214bc
|
7
|
+
data.tar.gz: 82ae0d0bbf8820bccac25d2e55c6f38dde144ceb81f5d6b522237c03edda1416a00b1007bb1102450d6bae62cca8592f87f4b9b92cce2d87a1410ed9dde1fcf5
|
data/lib/zones.rb
CHANGED
@@ -64,7 +64,7 @@ class Time
|
|
64
64
|
when %r!^((?:19|20)\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)?\.?(\d+)?([-+]\d\d:?\d\d)?!
|
65
65
|
ymd = [$1.to_i, $2.to_i, $3.to_i]
|
66
66
|
hms = [$4.to_i, $5.to_i, "#{$6}.#{$7}".to_f]
|
67
|
-
off = $8.sub(/(\d)(\d\d)$/,
|
67
|
+
off = $8.sub(/(\d)(\d\d)$/,'\1:\2') if $8 && !ignore_offset
|
68
68
|
when %r!^
|
69
69
|
(?:(0[1-9]|[12]\d|3[01]|[1-9][-/ ])[-/ ]? # $1: day
|
70
70
|
((?>[a-z]{3,9}))[-/ ]? # $2: month
|
data/zones.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zones
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Steve Shreeve
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: This gem makes it easy to work with time zones.
|
14
14
|
email: steve.shreeve@gmail.com
|
@@ -16,7 +16,6 @@ executables: []
|
|
16
16
|
extensions: []
|
17
17
|
extra_rdoc_files: []
|
18
18
|
files:
|
19
|
-
- ".ruby-version"
|
20
19
|
- Gemfile
|
21
20
|
- LICENSE
|
22
21
|
- README.md
|
@@ -41,7 +40,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
41
40
|
- !ruby/object:Gem::Version
|
42
41
|
version: '0'
|
43
42
|
requirements: []
|
44
|
-
rubygems_version: 3.
|
43
|
+
rubygems_version: 3.4.14
|
45
44
|
signing_key:
|
46
45
|
specification_version: 4
|
47
46
|
summary: Easy time parsing and conversion between time zones
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.6.5
|