fat_zebra 3.0.8 → 3.0.9
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/fat_zebra.gemspec +1 -1
- data/lib/fat_zebra/request.rb +1 -1
- data/lib/fat_zebra/version.rb +1 -1
- data/spec/lib/fat_zebra/purchase_spec.rb +2 -2
- data/spec/spec_helper.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: 0e621a3a911570984d008388fc4ca7c7890a626c
|
4
|
+
data.tar.gz: c1e53ea7c17eb46741a9d2d9fceb7782c089f79e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc6f098cd8c980fab7f916768d54908c2d6fca78bc0a61c9c5e794163a1e5a77c7fc28a8e4bb6019674ffaa856a71253fb1b820f97ebaba5f90eb9f6b038f3d
|
7
|
+
data.tar.gz: d2da31b6e51dffbdd8279470463e5befe72843be38b5c66eeccc4ade569cfc2ceb42a9ea0f4e73a620035b244059f2bfc079ba492f50a1d43cdc4f3170205cc3
|
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.9 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
|
|
data/fat_zebra.gemspec
CHANGED
data/lib/fat_zebra/request.rb
CHANGED
data/lib/fat_zebra/version.rb
CHANGED
@@ -44,7 +44,7 @@ describe FatZebra::Purchase do
|
|
44
44
|
end
|
45
45
|
|
46
46
|
describe '.search', :vcr do
|
47
|
-
let!(:start) {
|
47
|
+
let!(:start) { Date.parse('2017-07-03') }
|
48
48
|
subject(:purchases) { FatZebra::Purchase.search(from: start) }
|
49
49
|
|
50
50
|
before { 2.times { |i| FatZebra::Purchase.create(valid_purchase_payload.merge(reference: "#{SecureRandom.hex}-#{i}")) } }
|
@@ -95,7 +95,7 @@ describe FatZebra::Purchase do
|
|
95
95
|
describe '.settlement', :vcr do
|
96
96
|
before { 2.times { |i| FatZebra::Purchase.create(valid_purchase_payload.merge(reference: "#{SecureRandom.hex}-#{i}")) } }
|
97
97
|
|
98
|
-
subject(:settlement) { FatZebra::Purchase.settlement(from:
|
98
|
+
subject(:settlement) { FatZebra::Purchase.settlement(from: Date.parse('2017/06/22'), to: Date.parse('2017-06-27')) }
|
99
99
|
|
100
100
|
it { is_expected.to be_accepted }
|
101
101
|
it { expect(settlement.data.count).to be >= 2 }
|
data/spec/spec_helper.rb
CHANGED
@@ -30,7 +30,7 @@ VCR.configure do |config|
|
|
30
30
|
config.hook_into :webmock
|
31
31
|
config.configure_rspec_metadata!
|
32
32
|
config.allow_http_connections_when_no_cassette = true
|
33
|
-
config.default_cassette_options = { match_requests_on: [:method, uri_ignoring_trailing_id] }
|
33
|
+
config.default_cassette_options = { match_requests_on: [:method, :query, uri_ignoring_trailing_id] }
|
34
34
|
end
|
35
35
|
|
36
36
|
RSpec.configure do |config|
|
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.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Savage
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -402,7 +402,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
402
402
|
version: '0'
|
403
403
|
requirements: []
|
404
404
|
rubyforge_project: fat_zebra
|
405
|
-
rubygems_version: 2.
|
405
|
+
rubygems_version: 2.6.8
|
406
406
|
signing_key:
|
407
407
|
specification_version: 4
|
408
408
|
summary: Fat Zebra payments gem - integrate your ruby app with Fat Zebra
|