time 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/time.rb +2 -2
  3. data/time.gemspec +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d67a10f8addb032f5d27184fb5035df17abae9f7cc1f5775bb987fbe8bfe9404
4
- data.tar.gz: 9899c8c7a376234c9aea26b7961b8f83728f9da80cd3b86ee905f9333c7681bb
3
+ metadata.gz: c649f3e03bc94c67fb970de271850e36dc34f9734b8346b507a36c55e9f7997b
4
+ data.tar.gz: b6363dc0af8599975a0e58edbbf7a39ce9b59f1cfe9072806a3179d0cbf455b6
5
5
  SHA512:
6
- metadata.gz: 1718723931f86588cc6f4c1d52f2a953a98700a421526e5d44db84dec5947d897481ce959560824156a2160aa854121280d90e8295fe8eb2d5e8fc5900fb3427
7
- data.tar.gz: 000e2bd07b0baee233a7f3efcd0d6a4542ff5872d9234d8345368cb07dcabf5ebbf6792b22b9396272df07cb15dc905e8daa0beea4af53f0cbf6ee0cff71d056
6
+ metadata.gz: 6aa3f46a4ac364d93d54f3d3992f514d9893894603808158afecc12cc864e9b3739a96205b48c928c309d7aa330f0a6202be520f3ca9360e025f289b7902bae8
7
+ data.tar.gz: 5adb6fc047ab5b42c9931c58398db41c0b613444a705f07885a6330c7a4a267e48ae9b0916649a83f110da1c7889989ce6662993d2de50803837a831b1872c58
data/lib/time.rb CHANGED
@@ -509,8 +509,8 @@ class Time
509
509
  (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s+
510
510
  (\d{2,})\s+
511
511
  (\d{2})\s*
512
- :\s*(\d{2})\s*
513
- (?::\s*(\d{2}))?\s+
512
+ :\s*(\d{2})
513
+ (?:\s*:\s*(\d\d))?\s+
514
514
  ([+-]\d{4}|
515
515
  UT|GMT|EST|EDT|CST|CDT|MST|MDT|PST|PDT|[A-IK-Z])/ix =~ date
516
516
  # Since RFC 2822 permit comments, the regexp has no right anchor.
data/time.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "time"
3
- spec.version = "0.2.1"
3
+ spec.version = "0.2.2"
4
4
  spec.authors = ["Tanaka Akira"]
5
5
  spec.email = ["akr@fsij.org"]
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: time
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanaka Akira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-14 00:00:00.000000000 Z
11
+ date: 2023-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: date
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubygems_version: 3.4.0.dev
67
+ rubygems_version: 3.5.0.dev
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Extends the Time class with methods for parsing and conversion.