fat_zebra 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/fat_zebra/request/multipart/stream.rb +3 -1
- data/lib/fat_zebra/request.rb +2 -1
- data/lib/fat_zebra/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdc84addf970c04ee56f7bb8be168f40ceb0482f
|
4
|
+
data.tar.gz: f28696467b1be6159a0c0d82c5e42118623c006e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36ff239292848bd05d1707565c9cdf77708d47db9fc4ff31015bced2942984d25fe2458fb64378ebffb7456d9e55940a2d95c11516a50c5f1ab90c47f0bb7169
|
7
|
+
data.tar.gz: 30f35e347fbb3df2e6c009f866c38dabc25ca73e8353d61ed075060f88033ad294ed4a531bcd0f85a4febd050ec742a2a08fe0164f9a6cce37be0e096ad72b5a
|
data/README.md
CHANGED
@@ -3,7 +3,7 @@ Ruby API Library for Fat Zebra
|
|
3
3
|
|
4
4
|
[![Build Status](https://travis-ci.org/fatzebra/Ruby-Library.svg?branch=master)](https://travis-ci.org/fatzebra/Ruby-Library)
|
5
5
|
|
6
|
-
Release 3.0.
|
6
|
+
Release 3.0.6 for API version 1.0
|
7
7
|
|
8
8
|
A Ruby client for the [Fat Zebra](https://www.fatzebra.com.au) Online Payment Gateway (for Australian Merchants)
|
9
9
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module FatZebra
|
2
2
|
##
|
3
|
-
# == FatZebra \Request \Multipart \
|
3
|
+
# == FatZebra \Request \Multipart \Stream
|
4
4
|
#
|
5
5
|
# Steam the multipart
|
6
6
|
class Request
|
@@ -37,6 +37,8 @@ module FatZebra
|
|
37
37
|
|
38
38
|
!got_result && length ? nil : outbuf
|
39
39
|
end
|
40
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
41
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
40
42
|
|
41
43
|
private
|
42
44
|
|
data/lib/fat_zebra/request.rb
CHANGED
@@ -73,13 +73,14 @@ module FatZebra
|
|
73
73
|
@request = Net::HTTP::Put.new(uri.path)
|
74
74
|
|
75
75
|
setup_auth_basic if params[:basic_auth]
|
76
|
+
set_header
|
76
77
|
request.body = params[:payload].to_json
|
77
78
|
|
78
79
|
handle_request
|
79
80
|
end
|
80
81
|
|
81
82
|
def get
|
82
|
-
@request = Net::HTTP::Get.new(uri)
|
83
|
+
@request = Net::HTTP::Get.new(uri.path)
|
83
84
|
|
84
85
|
setup_auth_basic if params[:basic_auth]
|
85
86
|
set_header
|
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: 3.0.
|
4
|
+
version: 3.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -401,7 +401,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
401
401
|
version: '0'
|
402
402
|
requirements: []
|
403
403
|
rubyforge_project: fat_zebra
|
404
|
-
rubygems_version: 2.
|
404
|
+
rubygems_version: 2.6.8
|
405
405
|
signing_key:
|
406
406
|
specification_version: 4
|
407
407
|
summary: Fat Zebra payments gem - integrate your ruby app with Fat Zebra
|