moneta-api 1.12.6 → 1.12.7

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: aee4e34e9fc436cc419b33fb86fcf67092caaf76
4
- data.tar.gz: 3c22d7bcfd3c0cae874a64541cadad5f80481c9a
3
+ metadata.gz: 1002fb03d1ee243d568a4fb2ef77bdd9bf731faa
4
+ data.tar.gz: 020b2053ccf5ec29fae5e7e81256ea5d25465ddf
5
5
  SHA512:
6
- metadata.gz: 64dfba2dc9b0b9020afad8e6d7afcae56aaa8059ad9e342a7605e07bd9d36e3d8213fe19b55e1fa911fab33fcb269109568702aac264bc984307dae484f9e01e
7
- data.tar.gz: 5dcf4fe2817c86456eeba2a7cc9f780b62bb88448a22d9e252e5c63423fb11573bbcab9fade3366d6bb8faf8dd80150885680a4b0b792d9aaeeec7bfbfedc941
6
+ metadata.gz: 22ab12c3fa2c6f7b0e1f25738a061a2ffeb5fbc1fcdbe6ae92ead0b392962e61c5db362c9eed1028e8025ffc90370df9fa356f549952349ebfa6447ee53753b5
7
+ data.tar.gz: 464c9df5f595f71bd7e6a75adaf899ab3a556bb938665ee3d16e004e1a6fac6c62a1a5431cfe94bab83742ebb12c266dbf4e803d9c241be6b66ab836157305d0
@@ -42,8 +42,9 @@ module Moneta
42
42
 
43
43
  def fill(data)
44
44
  properties.each do |property, type|
45
- value = data[ property ]
46
- if value
45
+ if data.has_key?(property)
46
+ value = data[property]
47
+
47
48
  property_value = type.nil? ? value : build_complex_value(type, value)
48
49
  instance_variable_set("@#{ property }", property_value)
49
50
  end
@@ -1,5 +1,5 @@
1
1
  module Moneta
2
2
  module Api
3
- VERSION = '1.12.6'
3
+ VERSION = '1.12.7'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moneta-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.6
4
+ version: 1.12.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ssnikolay
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-01-18 00:00:00.000000000 Z
12
+ date: 2017-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
371
  version: '0'
372
372
  requirements: []
373
373
  rubyforge_project:
374
- rubygems_version: 2.4.6
374
+ rubygems_version: 2.4.8
375
375
  signing_key:
376
376
  specification_version: 4
377
377
  summary: "МОНЕТА.РУ (MONETA.MerchantAPI.v2)"