transproc 0.1.1 → 0.1.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 +8 -0
- data/lib/transproc/hash.rb +1 -1
- data/lib/transproc/version.rb +1 -1
- data/spec/integration/hash_spec.rb +2 -2
- 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: 8e48e0386ec7eb3b18878b0a49f7aa292eceaf95
|
4
|
+
data.tar.gz: 8add522072d758b21a1bdcdacd038e074e276656
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec69053a3c644da6e9681ff45e7f61c19a843ca2d7d3bca3678ee6afbca25685c9c503852e634bdcefadffb3fc67b61311785fe95ca2e3b0b10e6a335616779d
|
7
|
+
data.tar.gz: 1d379f5fa10fc373a2f3d56d5ffc2392189c93fc184f09c9fcb992b912418655e3cc11f2da223b5463b328dfea878981b439409d32a1ffe9498630668044006e
|
data/CHANGELOG.md
CHANGED
data/lib/transproc/hash.rb
CHANGED
data/lib/transproc/version.rb
CHANGED
@@ -50,11 +50,11 @@ describe 'Hash mapping with Transproc' do
|
|
50
50
|
expect(input).to eql(output)
|
51
51
|
end
|
52
52
|
|
53
|
-
it 'returns new hash with
|
53
|
+
it 'returns new hash with an empty hash under a new key when nest-keys are missing' do
|
54
54
|
nest = Transproc(:nest!, :baz, ['foo'])
|
55
55
|
|
56
56
|
input = { 'bar' => 'foo' }
|
57
|
-
output = { 'bar' => 'foo', baz:
|
57
|
+
output = { 'bar' => 'foo', baz: {} }
|
58
58
|
|
59
59
|
nest[input]
|
60
60
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transproc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotr Solnica
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|