poper 0.2.0 → 0.2.1

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: 91ce853722b93b72d992dc75390b80c5f79d8ba2
4
- data.tar.gz: 9627c465d6d4e6526f40a676a1ae77516adfbea2
3
+ metadata.gz: 007bc58cd6706a2358f6be770aa4ec65329dccc4
4
+ data.tar.gz: 79709122776b26429f7bb8a69719fe932d6a0dff
5
5
  SHA512:
6
- metadata.gz: 42a89ba0bc33f310933dc3010f8fe325aa4f38b88c6a8af132e6401468f64d616867121957e21598c3264c3eed4168fc1e5cd69419e2f9e9cb2b68ef9bfebf27
7
- data.tar.gz: 54c9061775f67d4a5c5faebb60ec1401d653f40dabf11952d55fea4b82d3283308d76a7275d36109defdf50f72878012f7788eacf78fcd0acd7672bc8fc7dee2
6
+ metadata.gz: f0331ca98a0531c7465fc56311e8de34c88a0397413c1319631e7faf787e222d3f72c4f863e197881f94efe3766deff90f3b7a3031a97f8d04c617fde7b0c276
7
+ data.tar.gz: 32f0d2b141b645d013e6c6bae64ad155ff0f0c25c42e6655320ee362f9c5f5d84345840d8de9de641e3acb12d5ae54977731fa03bf8f489ec93886fbb98a486c
@@ -38,7 +38,7 @@ module Poper
38
38
  if oldval.is_a?(Hash) && newval.is_a?(Hash)
39
39
  oldval.merge(newval, &merger)
40
40
  else
41
- oldval || newval
41
+ oldval.nil? ? newval : oldval
42
42
  end
43
43
  end
44
44
 
@@ -1,3 +1,3 @@
1
1
  module Poper
2
- VERSION = '0.2.0'.freeze
2
+ VERSION = '0.2.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: poper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-04 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged
@@ -132,16 +132,16 @@ dependencies:
132
132
  name: pry
133
133
  requirement: !ruby/object:Gem::Requirement
134
134
  requirements:
135
- - - ">="
135
+ - - "~>"
136
136
  - !ruby/object:Gem::Version
137
- version: '0'
137
+ version: '0.10'
138
138
  type: :development
139
139
  prerelease: false
140
140
  version_requirements: !ruby/object:Gem::Requirement
141
141
  requirements:
142
- - - ">="
142
+ - - "~>"
143
143
  - !ruby/object:Gem::Version
144
- version: '0'
144
+ version: '0.10'
145
145
  description:
146
146
  email: mindaugas.mozuras@gmail.com
147
147
  executables: