fat_zebra 2.0.10 → 2.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- Mjc5NDhjZDc3ZGIyODQxNDNjNmZjNDIyMjVmNDkyYTJhMjE5YTVjNg==
4
+ YWQzOTgwOGU5OTNmYzA2ZWM5MWExODlhYmRkOWM5MTdkYzg1NTA5Zg==
5
5
  data.tar.gz: !binary |-
6
- ZjA5YjYwYzM4MDhjOTQzZmZjODAzMWJjYWIzYjQwMjgzMWViZjE3ZA==
6
+ NDEyNjJlMmE5NjljZWEwMmRkYzBlNjYwMjU3ZGI0YTllZmRhZmY2ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTBkMTg3ZTgzNGIzYWMzZTU3ZjRmNjU2OWEzOGM1MThlMGIyNzVhNTIzZjNk
10
- M2Y0MjExYTBjMjc3MTQ0NDZkNDY0MDlmMDZmZTkzY2FhZGVlM2YzZjMyYmUz
11
- Zjc1MDZmZDY0ZjlmMzc5ZmZkMzFmM2Q3OTM1YWViNDliOTgzNmI=
9
+ OGJkMTA3MGY4NzgyNGFhMjI4MDY4YjgzNGEzNmYzOGYwOTI4ZTdlZWVhOTMy
10
+ OTFjN2VkYzY1YzRkOTIyOGY3YzVkMWUyNWE1ZjJlNzZjMWRiNDA4NzYxZGU5
11
+ NDc0NzAzZGE2ZjNiZTQ0MzMyZDkyMmY3Y2I2YjNlNjMxYjQ4ZmE=
12
12
  data.tar.gz: !binary |-
13
- OTExNjE1YmM5Y2YyY2NlOTMwNzQ0YmI0OTlmYjI2OTY5NjJjNTM1ZjZkM2M1
14
- NWViNTVlZDNmMWU5YzdiMjZmNzkzYjE0Y2Q2MGZjZjY4MmNlNTczZTllNzkx
15
- Y2M2OTQ2NTcyOTZkZjkyZDZmMWUwNjQzMzdlNjNlZWZmZDU2ZTc=
13
+ YzllOWE1MjYyN2U2NzdjYjQ2ZmFlMDI0MjQ1NjZjZTI0YWQ1MmE3OTRkZGQ4
14
+ YzU5MGZhNDA5MGMwNjdhMjAwNjllMjRlM2U4NzU1ZDA1NjUxNDVhZDc0ZjRi
15
+ MzhjNDQ4ZTQ1Njc0N2MyZjk4OWQ1ZWU0YTNmYzFkMTA5ZmMxYjA=
data/FatZebra.gemspec CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
25
25
  s.add_development_dependency "yard-tomdoc"
26
26
 
27
27
 
28
- s.add_runtime_dependency "rest-client", "2.0.0.rc2"
28
+ s.add_runtime_dependency "rest-client", "~> 1.6"
29
29
  s.add_runtime_dependency "json"
30
30
  s.add_runtime_dependency "activesupport", ">= 3.2"
31
31
  end
@@ -1,3 +1,3 @@
1
1
  module FatZebra
2
- VERSION = "2.0.10"
2
+ VERSION = "2.0.11"
3
3
  end
data/lib/fat_zebra.rb CHANGED
@@ -5,6 +5,7 @@ require 'active_support'
5
5
  require 'active_support/core_ext'
6
6
  require 'forwardable'
7
7
 
8
+ require_relative 'rest-client/request_ext'
8
9
  require_relative 'fat_zebra/config'
9
10
  require_relative 'fat_zebra/errors'
10
11
  require_relative 'fat_zebra/version'
@@ -16,6 +17,10 @@ require_relative 'fat_zebra/models/refund'
16
17
  require_relative 'fat_zebra/models/card'
17
18
  require_relative 'fat_zebra/models/response'
18
19
 
20
+ RestClient::Request.class_eval do
21
+ include RestClientExt::ProxyRequest
22
+ end
23
+
19
24
  module FatZebra
20
25
  extend self
21
26
  extend Forwardable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fat_zebra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.10
4
+ version: 2.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Savage
@@ -70,16 +70,16 @@ dependencies:
70
70
  name: rest-client
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
- version: 2.0.0.rc2
75
+ version: '1.6'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '='
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
- version: 2.0.0.rc2
82
+ version: '1.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: json
85
85
  requirement: !ruby/object:Gem::Requirement