unobtainium 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3aa9b74f8f1f3c7d408438a0cff087c268dc89d4
4
- data.tar.gz: 31f3f35f5ff7b1eccf2fd121c233b62d0056c386
3
+ metadata.gz: b12bef553352e0f1788bb6fe9839c977e74bd820
4
+ data.tar.gz: ad8dc22a879bf1318cd741b51b18c1b70360956b
5
5
  SHA512:
6
- metadata.gz: 953d864dd1286c499979044503a8655426f9e14912878d8ebd9300a3ddc9492143c8efe2f014168a44fe7131286107ba318c3c0509591832fda7fd67611dd667
7
- data.tar.gz: a5bfa05e01c37fd7a8f6a6e15d05227f9552971d708d65fa4a54a290d742d50f0152f95ad55cf9dc51bd6bcf5ee7c44cfc2574caf85cf32069cda8f20ed2fe04
6
+ metadata.gz: ef9a855a31611512176889884aa02f306ba731eb7da271369d0d5281be4789c873cf1681e6c4f1ccde4f7aa7f3c5d3df141018e9b55cb90dbaa6b6964f9b199e
7
+ data.tar.gz: f4d3c1ee2160e5faafc8d9b001bfa01571611a6c9ec37fb24745fe3dfc23df5f1ca38ed30f3d519345250cbda4d0c48e50d98ff2d50b938dbdc684cb8d10df72
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- unobtainium (0.3.1)
4
+ unobtainium (0.3.2)
5
5
  sys-proctable (~> 1.0)
6
6
 
7
7
  GEM
@@ -119,7 +119,9 @@ module Unobtainium
119
119
  # For write methods, we need to create intermediary hashes.
120
120
  leaf = recursive_fetch(components, @data,
121
121
  create: WRITE_METHODS.include?(method))
122
- leaf.default_proc = DEFAULT_PROC
122
+ if leaf.is_a? Hash
123
+ leaf.default_proc = DEFAULT_PROC
124
+ end
123
125
 
124
126
  # If we have a leaf, we want to send the requested method to that
125
127
  # leaf.
@@ -8,5 +8,5 @@
8
8
  #
9
9
  module Unobtainium
10
10
  # The current release version
11
- VERSION = "0.3.1".freeze
11
+ VERSION = "0.3.2".freeze
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unobtainium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Finkhaeuser