hocon 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/hocon/impl/config_node_object.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b632389a9c4957a52e78bd533c597604ae78984
|
4
|
+
data.tar.gz: 1ea00e86535840794244881bbc191b45a5fe12a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6276a38035c3a78654e67fcfa006429cb633f2b11bb1d3e2e1f0488f253392625508a114f4e5ddcd4c7a051b21f93608c7c0465696cce1eaf13b62f11f9a199e
|
7
|
+
data.tar.gz: fdfa750c8b85bf74c1fb7692f6c52b8fddc7722b2c3f6e592c7a058a0076c825906a8046c77d50f30ec557bc197a80b887a9f0b429ef66b627ae138c488b6d4a
|
data/CHANGELOG.md
CHANGED
@@ -176,7 +176,7 @@ class Hocon::Impl::ConfigNodeObject
|
|
176
176
|
indentation = indentation().clone
|
177
177
|
|
178
178
|
# If the value we're inserting is a complex value, we'll need to indent it for insertion
|
179
|
-
if value.is_a?(Hocon::Impl::ConfigNodeComplexValue)
|
179
|
+
if value.is_a?(Hocon::Impl::ConfigNodeComplexValue) && indentation.length > 0
|
180
180
|
indented_value = value.indent_text(indentation[-1])
|
181
181
|
else
|
182
182
|
indented_value = value
|