bloom_net_center_client 0.3.0 → 0.3.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea59a59777528213f3e4db2b41f41e7b0a658c2b
|
4
|
+
data.tar.gz: 04098780a5219f9ad94f4491d6e96fd61d4910ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c54ef07d6656c1a9e3ca7b2efc458fe9eeaefddb28767d20bc11d7ecb9c2204d7d00250bb592d4da21775cfcc9505fd89508742ab9fe62685a79ed7f36a4db0b
|
7
|
+
data.tar.gz: d7a260f6980651833c6e20f98a51985eecc8d5223ba636cec6ba30552d791486d1802343591b156569b0d469d99f9da562fdfbbdc4212004da059ca4062d9b98
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [0.3.1] - 2017-03-31
|
8
|
+
### Fixed
|
9
|
+
- FindTxnResponse: `txn` is nil (no longer raises exception) when the response is invalid
|
10
|
+
|
7
11
|
## [0.3.0] - 2017-03-27
|
8
12
|
### Changed
|
9
13
|
- Work with new version of BloomNet Center
|
@@ -6,10 +6,13 @@ module BloomNetCenterClient
|
|
6
6
|
private
|
7
7
|
|
8
8
|
def default_txn
|
9
|
+
attribute_params = body[:data][:attributes]
|
10
|
+
return nil if attribute_params.nil?
|
11
|
+
|
9
12
|
attributes = Txn::ATTRS.each_with_object({}) do |attr, hash|
|
10
13
|
attr_dasherized = attr.to_s.dasherize
|
11
14
|
hash[attr] = body[:data][attr_dasherized] ||
|
12
|
-
|
15
|
+
attribute_params[attr_dasherized]
|
13
16
|
end
|
14
17
|
BloomNetCenterClient::Txn.new(attributes)
|
15
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bloom_net_center_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_config
|