pin_up 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/build +9 -0
- data/pin_up.gemspec +3 -1
- data/spec/vcr/Errors/Should_raise_a_ResourceNotFound_error_when_can_t_find_customer.yml +49 -0
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7b0d9ffafced5275ad482304a030e214f3a01ed1
|
|
4
|
+
data.tar.gz: 68ea77395e74030ab035877fb048258ce6d087f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ecf617978f07cc004c0cea66af7a9744e93414a466faee3e8be2aaff5ae48fc2f515dd6dafe17246d293f42da46f64bef7f15df734a03a6d6c01d1bad52a0750
|
|
7
|
+
data.tar.gz: 7ef923f2d0d5224863ffb6ad14a33f714bf047d81f89edead04ee9468f83dc0b4cacdbcd4bfbe1a9374681a568308440b34868d98b82ba076cd54cf731a65ee3
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.2
|
data/build
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
Generated: pin_up.gemspec
|
|
2
|
+
pin_up.gemspec is valid.
|
|
3
|
+
Successfully built RubyGem
|
|
4
|
+
Name: pin_up
|
|
5
|
+
Version: 0.4.1
|
|
6
|
+
File: pin_up-0.4.1.gem
|
|
7
|
+
Executing "gem push ./pkg/pin_up-0.4.1.gem":
|
|
8
|
+
Pushing gem to https://rubygems.org...
|
|
9
|
+
Successfully registered gem: pin_up (0.4.1)
|
data/pin_up.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "pin_up"
|
|
8
|
-
s.version = "0.4.
|
|
8
|
+
s.version = "0.4.2"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Daniel Nitsikopoulos"]
|
|
@@ -24,6 +24,7 @@ Gem::Specification.new do |s|
|
|
|
24
24
|
"README.md",
|
|
25
25
|
"Rakefile",
|
|
26
26
|
"VERSION",
|
|
27
|
+
"build",
|
|
27
28
|
"lib/pin_up.rb",
|
|
28
29
|
"lib/pin_up/base.rb",
|
|
29
30
|
"lib/pin_up/card.rb",
|
|
@@ -53,6 +54,7 @@ Gem::Specification.new do |s|
|
|
|
53
54
|
"spec/vcr/Customer/should_raise_an_error_if_an_attribute_is_missing_in_the_card_hash.yml",
|
|
54
55
|
"spec/vcr/Customer/should_show_a_customer_given_a_token.yml",
|
|
55
56
|
"spec/vcr/Customer/should_update_a_customer_given_a_token_and_details_to_update.yml",
|
|
57
|
+
"spec/vcr/Errors/Should_raise_a_ResourceNotFound_error_when_can_t_find_customer.yml",
|
|
56
58
|
"spec/vcr/Errors/should_raise_a_400_error_when_trying_to_make_a_payment_and_a_valid_card_gets_declined.yml",
|
|
57
59
|
"spec/vcr/Errors/should_raise_a_404_error_when_looking_for_a_customer_that_doesn_t_exist.yml",
|
|
58
60
|
"spec/vcr/Errors/should_raise_a_422_error_when_trying_to_make_a_payment_with_an_expired_card.yml",
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: get
|
|
5
|
+
uri: https://<key>:@test-api.pin.net.au/1/customers/foo/charges
|
|
6
|
+
body:
|
|
7
|
+
encoding: US-ASCII
|
|
8
|
+
string: ''
|
|
9
|
+
headers: {}
|
|
10
|
+
response:
|
|
11
|
+
status:
|
|
12
|
+
code: 404
|
|
13
|
+
message: Not Found
|
|
14
|
+
headers:
|
|
15
|
+
Cache-Control:
|
|
16
|
+
- no-cache, private
|
|
17
|
+
Content-Type:
|
|
18
|
+
- application/json; charset=utf-8
|
|
19
|
+
Date:
|
|
20
|
+
- Mon, 08 Jul 2013 16:33:58 GMT
|
|
21
|
+
Server:
|
|
22
|
+
- Apache/2.2.20 (Ubuntu)
|
|
23
|
+
Status:
|
|
24
|
+
- '404'
|
|
25
|
+
Strict-Transport-Security:
|
|
26
|
+
- max-age=31536000
|
|
27
|
+
Vary:
|
|
28
|
+
- User-Agent
|
|
29
|
+
X-Powered-By:
|
|
30
|
+
- Phusion Passenger (mod_rails/mod_rack) 3.0.11
|
|
31
|
+
X-Rack-Cache:
|
|
32
|
+
- miss
|
|
33
|
+
X-Request-Id:
|
|
34
|
+
- 7b6bb9e5be5c750e9a120255a5f328c8
|
|
35
|
+
X-Runtime:
|
|
36
|
+
- '0.016711'
|
|
37
|
+
X-Ua-Compatible:
|
|
38
|
+
- IE=Edge,chrome=1
|
|
39
|
+
Content-Length:
|
|
40
|
+
- '86'
|
|
41
|
+
Connection:
|
|
42
|
+
- keep-alive
|
|
43
|
+
body:
|
|
44
|
+
encoding: UTF-8
|
|
45
|
+
string: '{"error":"not_found","error_description":"The requested resource could
|
|
46
|
+
not be found."}'
|
|
47
|
+
http_version:
|
|
48
|
+
recorded_at: Mon, 08 Jul 2013 16:34:02 GMT
|
|
49
|
+
recorded_with: VCR 2.5.0
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pin_up
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Nitsikopoulos
|
|
@@ -165,6 +165,7 @@ files:
|
|
|
165
165
|
- README.md
|
|
166
166
|
- Rakefile
|
|
167
167
|
- VERSION
|
|
168
|
+
- build
|
|
168
169
|
- lib/pin_up.rb
|
|
169
170
|
- lib/pin_up/base.rb
|
|
170
171
|
- lib/pin_up/card.rb
|
|
@@ -194,6 +195,7 @@ files:
|
|
|
194
195
|
- spec/vcr/Customer/should_raise_an_error_if_an_attribute_is_missing_in_the_card_hash.yml
|
|
195
196
|
- spec/vcr/Customer/should_show_a_customer_given_a_token.yml
|
|
196
197
|
- spec/vcr/Customer/should_update_a_customer_given_a_token_and_details_to_update.yml
|
|
198
|
+
- spec/vcr/Errors/Should_raise_a_ResourceNotFound_error_when_can_t_find_customer.yml
|
|
197
199
|
- spec/vcr/Errors/should_raise_a_400_error_when_trying_to_make_a_payment_and_a_valid_card_gets_declined.yml
|
|
198
200
|
- spec/vcr/Errors/should_raise_a_404_error_when_looking_for_a_customer_that_doesn_t_exist.yml
|
|
199
201
|
- spec/vcr/Errors/should_raise_a_422_error_when_trying_to_make_a_payment_with_an_expired_card.yml
|