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 +4 -4
- data/lib/moneta/api/data_mapper.rb +3 -2
- data/lib/moneta/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1002fb03d1ee243d568a4fb2ef77bdd9bf731faa
|
4
|
+
data.tar.gz: 020b2053ccf5ec29fae5e7e81256ea5d25465ddf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
46
|
-
|
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
|
data/lib/moneta/api/version.rb
CHANGED
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.
|
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-
|
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.
|
374
|
+
rubygems_version: 2.4.8
|
375
375
|
signing_key:
|
376
376
|
specification_version: 4
|
377
377
|
summary: "МОНЕТА.РУ (MONETA.MerchantAPI.v2)"
|