time 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/time.rb +2 -2
- data/time.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c649f3e03bc94c67fb970de271850e36dc34f9734b8346b507a36c55e9f7997b
|
4
|
+
data.tar.gz: b6363dc0af8599975a0e58edbbf7a39ce9b59f1cfe9072806a3179d0cbf455b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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})
|
513
|
-
(
|
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
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.
|
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:
|
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.
|
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.
|