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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1c07167e784b4b56414110ef63def3aac9c666bd
4
- data.tar.gz: aa95ca274f2c296572908fbf11589e3c3d54ba97
3
+ metadata.gz: c35234d994ec95480c6c0c96e5db8d413d878887
4
+ data.tar.gz: 2ff74bea5ad4f9dc634bcb7dd20a73b2b18786bf
5
5
  SHA512:
6
- metadata.gz: 61b9beec0e83c9bd2fdda9f3c0228f9fd5a755d2078d72b8efdaab8fa5390cc77901116fcbb7d5961b33df038c0ea86e7fe2b24b6e6de450721cf08b865da5ec
7
- data.tar.gz: a267387af4d2e225e9233133605b6eafd9fa419db0cba7882f56471b2aec38f33f3530238ac20a7134721e80c52f1aee95f97e14c8b89ca347ab65aaa58d2b58
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JsonApiToolbox
4
- VERSION = '0.12.0'
4
+ VERSION = '0.12.1'
5
5
  end
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.0
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-03 00:00:00.000000000 Z
11
+ date: 2018-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack