dslh 0.4.9 → 0.4.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -3
- data/lib/dslh.rb +7 -2
- data/lib/dslh/version.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: 52e8fca92396ff10604912350977f2d50a8c94fb85f88223adfc5296ca54f694
|
4
|
+
data.tar.gz: 73e0742000b6a98cae5de8020deb5e68c7a91f46c4f7821a70318a23dafd6fc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b2ded09c1ad8f1385b2cb05e0a93f29e6126205700bda9af4fcf7ed3a1b2446e58d32549ceba546aba3be41e307e25fcba4b8cc8df7d1739266056feecbd2a69
|
7
|
+
data.tar.gz: 1153bcb401924575bacc76cd7532345d14bc1f0de30311d8f50f81d3ddbeb10c3fece4b66d0ab9ef93d8a25b1440db89d85f50ebeca5be4644dd8c3e30dfd740
|
data/.travis.yml
CHANGED
data/lib/dslh.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'dslh/version'
|
2
2
|
require 'stringio'
|
3
3
|
require 'pp'
|
4
|
+
require 'json'
|
4
5
|
require 'yaml'
|
5
6
|
|
6
7
|
class Dslh
|
@@ -193,8 +194,12 @@ class Dslh
|
|
193
194
|
key_conv = @options[:key_conv]
|
194
195
|
|
195
196
|
if exclude_keys?(hash.keys)
|
196
|
-
|
197
|
-
|
197
|
+
_buf = <<EOS
|
198
|
+
(
|
199
|
+
#{JSON.pretty_generate(hash, { indent: indent })}
|
200
|
+
)
|
201
|
+
EOS
|
202
|
+
return buf.puts(_buf)
|
198
203
|
end
|
199
204
|
|
200
205
|
hash.each do |key, value|
|
data/lib/dslh/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dslh
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Genki Sugawara
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|