kelbim 0.2.7 → 0.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kelbim/dsl/attributes.rb +1 -1
- data/lib/kelbim/dsl/converter.rb +6 -1
- data/lib/kelbim/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 985c32d5001bec5916fa5249c6b6ca1be0e04c43
|
4
|
+
data.tar.gz: f042628f55dac37d71a44bbe0cf693954f0a055a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8af73901e757f33acf4eb6dabada4dbf8b6be7f660f04607ea1594c71691a4c608276f3d0a4fd238a514129088d181b5a8c617f663cfe57827ad15a7ff9da7f1
|
7
|
+
data.tar.gz: 43b411bffe8029948338138bea52e4ac7c106260a8a9c8bff536fb650bb5d7dd514f4c3d1cf38f39f3f7714582ab4bdb582199b3af0fa5974ccc2b8c356410b5
|
data/lib/kelbim/dsl/converter.rb
CHANGED
@@ -187,7 +187,12 @@ end
|
|
187
187
|
|
188
188
|
def output_attributes(attributes)
|
189
189
|
attributes = attributes.map do |name, value|
|
190
|
-
|
190
|
+
if value.kind_of?(Hash)
|
191
|
+
value = value.inspect.sub(/\A\s*{\s*/, '').sub!(/\s*}\s*\Z/, '')
|
192
|
+
else
|
193
|
+
value = value.inspect
|
194
|
+
end
|
195
|
+
|
191
196
|
[name, value]
|
192
197
|
end
|
193
198
|
|
data/lib/kelbim/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kelbim
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- winebarrel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.59.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.59.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: uuid
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|