apimatic_core 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/apimatic-core/utilities/date_time_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a61392d70a018d23e1947a9886c574b0cd341e04d99ee7e1ad18b1c10f3ef22e
|
4
|
+
data.tar.gz: 9b8f29acf6e4d9703912d9b9d1a5acf774625b26d6a36dc3c693518d2f02e274
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d16ad4522a07c009dbec86a53fb7310a2c2bc339a9403fd091da9f6ce7f43feace0dfb0e377ed9a9fc29ef144dc1b0e0a6df864fd431c2d82192c21bd8dec6
|
7
|
+
data.tar.gz: 6a2bee74082d6db01b028ee6a4265e7534c29b68848b847964a27277bfe3f7121f5478d694375a3ccfa47c7ad0e7c72dca317a23568df1606198aed68543733a
|
@@ -116,7 +116,7 @@ module CoreLibrary
|
|
116
116
|
# @return [DateTime] A DateTime object.
|
117
117
|
def self.from_rfc3339(date_time)
|
118
118
|
# missing timezone information
|
119
|
-
if date_time.
|
119
|
+
if date_time.match?(/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[-+]\d{2}:\d{2})\z$/)
|
120
120
|
DateTime.rfc3339(date_time)
|
121
121
|
else
|
122
122
|
DateTime.rfc3339("#{date_time}Z")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apimatic_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- APIMatic Ltd.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: apimatic_core_interfaces
|