party_mixins 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +2 -2
- data/lib/party_mixins.rb +1 -1
- data/lib/party_mixins/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45394825e247725cc9e7367f370c95370fa69e0c18fc35d8983e01449c3865e0
|
4
|
+
data.tar.gz: f066bdc8bd34367042dc17bce9237c3070cd996ba012e3e8d30789ff2cf781c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c2c84c94d1672406beed811c444dae62852437c6c84d7f751b058a5d356e0b2f7bec97f3358c436abd1efa55db6408d0f85a9212fb261ff7956f9120eb62dcc
|
7
|
+
data.tar.gz: c04bcb60a716e65e79315670e522fd50fac9c08e0922f76ff76baea58bcebc323598521010d5328f4b4ad1201325a3cb4da2a5529199c269a5743ff11c418535
|
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
|
|
5
5
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
6
6
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
7
7
|
|
8
|
+
## [0.2.2] - 2021-03-07
|
9
|
+
|
10
|
+
Fix response ok error
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Fix response ok error
|
14
|
+
|
8
15
|
## [0.2.1] - 2021-01-17
|
9
16
|
|
10
17
|
Fix response ok error and add more detail to message
|
data/Gemfile.lock
CHANGED
data/lib/party_mixins.rb
CHANGED
@@ -42,7 +42,7 @@ module PartyMixins
|
|
42
42
|
define_method(method_name) do |*args|
|
43
43
|
response = super(*args)
|
44
44
|
options = this.build_options(method_name, response)
|
45
|
-
raise ServiceError.new(response, options[:error_message]) unless response.success?
|
45
|
+
raise ServiceError.new(response, options[:error_message]) unless response.success? || response.ok?
|
46
46
|
|
47
47
|
response.parsed_response
|
48
48
|
end
|
data/lib/party_mixins/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: party_mixins
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Humberto Guerrero
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: HTTParty mixin extension
|
14
14
|
email:
|