zones 0.6.0 → 0.6.1

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/lib/zones.rb +1 -1
  3. data/zones.gemspec +1 -1
  4. metadata +3 -4
  5. data/.ruby-version +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e885735f5b158bc128438382c99bab2319a1717e3bee2582240c241c6a97d5d
4
- data.tar.gz: 4ec9636d438698c2ee257904e01e8b6f2a48389fb1bfc0df06a935a031bbbe61
3
+ metadata.gz: 849ad931c3600169ffafe613ee4dbdea31e43d6164a2fa70c7e389561be64e36
4
+ data.tar.gz: 7721087a68b9d227da0187c0e95b3f2b12ff9f1a80aab7a4f91beeb67478681e
5
5
  SHA512:
6
- metadata.gz: c7791eeed90e65b247d6a3a2a841e6f2774f5381b4d3ab3e7c6c010e11eb7c271eb2ddeaed587275e05bbbe8c42b94d65fe6b66d7d41ce9caf82aee801fe54fd
7
- data.tar.gz: 6935b6b8c8f7e9e92f7f2bdb6c30ab4f5ea65b2da7e07e7094b0b5a61aec9cb6d4510492f164015649f4fb2d2342fdc039593cd09ecec47d13b064457e622144
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)$/,"\1:\2") if $8 && !ignore_offset
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "zones"
5
- s.version = "0.6.0"
5
+ s.version = "0.6.1"
6
6
  s.author = "Steve Shreeve"
7
7
  s.email = "steve.shreeve@gmail.com"
8
8
  s.summary = "Easy time parsing and conversion between time zones"
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.0
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: 2021-09-18 00:00:00.000000000 Z
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.2.16
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