hocon 0.9.2 → 0.9.3
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/simple_config_document.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44f406e62a39a1c2cba5bdc5e8dbaad2432e60dd
|
4
|
+
data.tar.gz: dd9d83559492dc562df9d46411530e54c2a4722d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33e003ed097a1c85a3c77cbd3e1f3c825af00aac85a8b407ebd11755da80494eef7d7dc7972690f035b26f97a53dda00e1e410d5bd32a691c4e4a7b5680cef13
|
7
|
+
data.tar.gz: 16537a3d00192d354cc085957ff8e775b480432c14cecad153f3fd1b613a73dfef5ef18ba7839d2c11d3c38f49c7a5c0471b61de556e3bd0eaf1b9d0b7217428
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,7 @@
|
|
3
3
|
require 'hocon/impl'
|
4
4
|
require 'hocon/parser/config_document'
|
5
5
|
require 'hocon/impl/config_document_parser'
|
6
|
+
require 'hocon/config_render_options'
|
6
7
|
|
7
8
|
class Hocon::Impl::SimpleConfigDocument
|
8
9
|
include Hocon::Parser::ConfigDocument
|
@@ -23,7 +24,9 @@ class Hocon::Impl::SimpleConfigDocument
|
|
23
24
|
end
|
24
25
|
|
25
26
|
def set_config_value(path, new_value)
|
26
|
-
|
27
|
+
options = Hocon::ConfigRenderOptions.defaults
|
28
|
+
options.origin_comments = false
|
29
|
+
set_value(path, new_value.render(options).strip)
|
27
30
|
end
|
28
31
|
|
29
32
|
def remove_value(path)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hocon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Price
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|