json_api_toolbox 0.12.0 → 0.12.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/json_api_toolbox/version.rb +1 -1
- data/lib/service.rb +1 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c35234d994ec95480c6c0c96e5db8d413d878887
|
4
|
+
data.tar.gz: 2ff74bea5ad4f9dc634bcb7dd20a73b2b18786bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b691f35cf10e21d4378a2eac9388fc76191d0cb4fcb3db3ad2eddc78acaabd14db41169a37236a9c5ecacf1a3bb5ac2914d60ccf4929019acd962a02191d6b77
|
7
|
+
data.tar.gz: 789eec7fe490605780dff1c5bbcf3fea7315e89f8ea92284ed138b722ab00a371ed73da59c1c262d77c1b4d8a743b9fcb596fb5445367344395631b50cd1ddcc
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|
6
6
|
|
7
7
|
## [Unreleased]
|
8
8
|
|
9
|
+
## [0.12.1] - 2018-04-04
|
10
|
+
### Changed
|
11
|
+
- Bug fix proxy at Service class
|
12
|
+
|
9
13
|
## [0.12.0] - 2018-04-03
|
10
14
|
### Added
|
11
15
|
- Added JsonApi default exception renderizable
|
data/lib/service.rb
CHANGED
@@ -27,13 +27,11 @@ module JsonApiToolbox
|
|
27
27
|
end
|
28
28
|
|
29
29
|
def request(url, payload, method)
|
30
|
-
RestClient.proxy = nil
|
31
30
|
RestClient::Request.execute(
|
32
31
|
method: method,
|
33
32
|
url: url,
|
34
33
|
payload: payload,
|
35
|
-
headers: build_header
|
36
|
-
verify_ssl: false
|
34
|
+
headers: build_header
|
37
35
|
)
|
38
36
|
rescue RestClient::ExceptionWithResponse => e
|
39
37
|
e.response
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: json_api_toolbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adriano Bacha
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-04-
|
11
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|