toml-rb 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/toml-rb/dumper.rb +3 -1
- data/lib/toml-rb/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea53f790d0b22319d57007c11b9d585bce92d0cbd1f97a7340fec49d03804271
|
4
|
+
data.tar.gz: 1e2e02260452b5dbd94eeeb9268116e64fed6d7f974b99f853d2cdd28cbd8fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aaad1b4cd6379c6b1a66ce385b442d3fa1c068b985ba374d6c526bbd441b0c1fd4014c12eec523b2ca745b00d43e943c470fef3fcd79c132cc76882f4c2f87c2
|
7
|
+
data.tar.gz: e979b29743c71fe8ebb48afcbe1bc70129ed8a5f8df911bf812663af9983f4fee31388b2b4d030df0b8413b26832815d313c080b9c3e3d9e362414d47f9904bd
|
data/lib/toml-rb/dumper.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "date"
|
2
4
|
|
3
5
|
module TomlRB
|
@@ -53,7 +55,7 @@ module TomlRB
|
|
53
55
|
def dump_simple_pairs(simple_pairs)
|
54
56
|
simple_pairs.each do |key, val|
|
55
57
|
key = quote_key(key) unless bare_key? key
|
56
|
-
@toml_str
|
58
|
+
@toml_str += "#{key} = #{to_toml(val)}\n"
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
data/lib/toml-rb/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: toml-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emiliano Mancuso
|
8
8
|
- Lucas Tolchinsky
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: citrus
|
@@ -103,7 +103,7 @@ homepage: https://github.com/emancu/toml-rb
|
|
103
103
|
licenses:
|
104
104
|
- MIT
|
105
105
|
metadata: {}
|
106
|
-
post_install_message:
|
106
|
+
post_install_message:
|
107
107
|
rdoc_options: []
|
108
108
|
require_paths:
|
109
109
|
- lib
|
@@ -118,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
118
118
|
- !ruby/object:Gem::Version
|
119
119
|
version: '0'
|
120
120
|
requirements: []
|
121
|
-
rubygems_version: 3.2.
|
122
|
-
signing_key:
|
121
|
+
rubygems_version: 3.2.9
|
122
|
+
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Toml parser in ruby, for ruby.
|
125
125
|
test_files: []
|