bloom_remit_client 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b495a3723c43ccd6610bdb0ae206f2297e699418
|
|
4
|
+
data.tar.gz: 4e12b293dff3d7bee1f544822bfb7651e1768683
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bda2caaa2476659fe3045c3e9730071d1dc1bb34ac1f10bbd6cdd1cde528aaa9595115912210ab516742ad1219d4ef16b1b139effc8c89b0a2ad890ab8f5973
|
|
7
|
+
data.tar.gz: 2094b42c7637fa67025fb494d1a0c293353ce951f0aef87b35992ee128070b99bf45591de25aa412b02eec749aa479c409a2b56f74249ea0438e798daf750776
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
|
4
4
|
|
|
5
|
+
## [0.4.0] - 2016-09-01
|
|
6
|
+
### Added
|
|
7
|
+
- Made response `#success` a virtus attribute, so that it can be set in factories
|
|
8
|
+
|
|
5
9
|
## [0.3.1] - 2016-08-06
|
|
6
10
|
### Fixed
|
|
7
11
|
- Fix syntax issue
|
|
@@ -7,9 +7,14 @@ module BloomRemitClient
|
|
|
7
7
|
lazy: true,
|
|
8
8
|
default: :default_body,
|
|
9
9
|
})
|
|
10
|
+
attribute :success, Boolean, lazy: true, default: :default_success
|
|
10
11
|
|
|
11
12
|
private
|
|
12
13
|
|
|
14
|
+
def default_success
|
|
15
|
+
raw_response.success?
|
|
16
|
+
end
|
|
17
|
+
|
|
13
18
|
def default_body
|
|
14
19
|
json = JSON.parse(raw_response.body)
|
|
15
20
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bloom_remit_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ramon Tayag
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activemodel
|
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
209
|
version: '0'
|
|
210
210
|
requirements: []
|
|
211
211
|
rubyforge_project:
|
|
212
|
-
rubygems_version: 2.
|
|
212
|
+
rubygems_version: 2.5.1
|
|
213
213
|
signing_key:
|
|
214
214
|
specification_version: 4
|
|
215
215
|
summary: Ruby wrapper around Bloom Remit's API
|