fat_zebra 2.0.9 → 2.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/FatZebra.gemspec +1 -1
- data/lib/fat_zebra/gateway.rb +3 -3
- data/lib/fat_zebra/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Mjc5NDhjZDc3ZGIyODQxNDNjNmZjNDIyMjVmNDkyYTJhMjE5YTVjNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZjA5YjYwYzM4MDhjOTQzZmZjODAzMWJjYWIzYjQwMjgzMWViZjE3ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTBkMTg3ZTgzNGIzYWMzZTU3ZjRmNjU2OWEzOGM1MThlMGIyNzVhNTIzZjNk
|
10
|
+
M2Y0MjExYTBjMjc3MTQ0NDZkNDY0MDlmMDZmZTkzY2FhZGVlM2YzZjMyYmUz
|
11
|
+
Zjc1MDZmZDY0ZjlmMzc5ZmZkMzFmM2Q3OTM1YWViNDliOTgzNmI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTExNjE1YmM5Y2YyY2NlOTMwNzQ0YmI0OTlmYjI2OTY5NjJjNTM1ZjZkM2M1
|
14
|
+
NWViNTVlZDNmMWU5YzdiMjZmNzkzYjE0Y2Q2MGZjZjY4MmNlNTczZTllNzkx
|
15
|
+
Y2M2OTQ2NTcyOTZkZjkyZDZmMWUwNjQzMzdlNjNlZWZmZDU2ZTc=
|
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"
|
28
|
+
s.add_runtime_dependency "rest-client", "2.0.0.rc2"
|
29
29
|
s.add_runtime_dependency "json"
|
30
30
|
s.add_runtime_dependency "activesupport", ">= 3.2"
|
31
31
|
end
|
data/lib/fat_zebra/gateway.rb
CHANGED
@@ -40,14 +40,14 @@ module FatZebra
|
|
40
40
|
#
|
41
41
|
# @return Nil
|
42
42
|
def proxy=(val)
|
43
|
-
|
43
|
+
self.options[:proxy] = val
|
44
44
|
end
|
45
45
|
|
46
46
|
# Get the proxy set for RestClient
|
47
47
|
#
|
48
48
|
# @return [String] the proxy set for RestClient
|
49
49
|
def proxy
|
50
|
-
|
50
|
+
self.options[:proxy]
|
51
51
|
end
|
52
52
|
|
53
53
|
# Performs a purchase transaction against the gateway
|
@@ -258,7 +258,7 @@ module FatZebra
|
|
258
258
|
:verify_ssl => OpenSSL::SSL::VERIFY_PEER
|
259
259
|
} : {}
|
260
260
|
|
261
|
-
opts = {:user => self.username, :password => self.token}
|
261
|
+
opts = {:user => self.username, :password => self.token, proxy: self.options[:proxy]}
|
262
262
|
if method == :get
|
263
263
|
url = build_url(uri, data)
|
264
264
|
else
|
data/lib/fat_zebra/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fat_zebra
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -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:
|
75
|
+
version: 2.0.0.rc2
|
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:
|
82
|
+
version: 2.0.0.rc2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: json
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|