tomlrb 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +4 -0
- data/lib/tomlrb/scanner.rb +2 -2
- data/lib/tomlrb/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ab9d9abc1066720c536800a9ce163d4b9fbea36d45c54e3baf58d8c696f4f525
|
4
|
+
data.tar.gz: 17063b96f6cc0dcf2b0afb2a320bb0b8f47a351d8eea701a56606ac50021ff1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3152a4f20f0bd1e01c22a2d07d0651f259f7b2590e23cab00a1711f361c0954a7895b55b56641d671ca5272d1830e4b47240b9cae1ca98f5c8358bd408db255
|
7
|
+
data.tar.gz: ef4663e12a42e04b205bd383da8c137ed07b69685c7862eac3fc5204b59b19f7e23778e1a1d4f210c8fc3f297dd15817640750068619317b6f4d95d5712c5038
|
data/CHANGELOG.md
CHANGED
data/lib/tomlrb/scanner.rb
CHANGED
@@ -43,11 +43,11 @@ module Tomlrb
|
|
43
43
|
|
44
44
|
def process_datetime
|
45
45
|
if @ss[7].nil?
|
46
|
-
offset =
|
46
|
+
offset = '+00:00'
|
47
47
|
else
|
48
48
|
offset = @ss[7].gsub('Z', '+00:00')
|
49
49
|
end
|
50
|
-
args = [
|
50
|
+
args = [@ss[1], @ss[2], @ss[3], @ss[4] || 0, @ss[5] || 0, @ss[6].to_f, offset]
|
51
51
|
[:DATETIME, args]
|
52
52
|
end
|
53
53
|
end
|
data/lib/tomlrb/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomlrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francois Bernier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A racc based toml parser
|
14
14
|
email:
|
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
56
56
|
version: '0'
|
57
57
|
requirements: []
|
58
58
|
rubyforge_project:
|
59
|
-
rubygems_version: 2.
|
59
|
+
rubygems_version: 2.7.6
|
60
60
|
signing_key:
|
61
61
|
specification_version: 4
|
62
62
|
summary: A racc based toml parser
|