pin_up 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/Gemfile +1 -1
- data/README.md +9 -0
- data/VERSION +1 -1
- data/pin_up.gemspec +5 -2
- metadata +32 -18
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
NWE2Nzc2NmMxZGVjYmNkODA1OTRlMjA0M2E1ZDdjNGQ1MjYwZmIwMDIzNjQ3
|
10
|
-
M2MyNGU2ZTk3OTE4N2Q2N2UwNDhkNjI3MGU1NjExMjk0NjcxNmEzNThmN2Ex
|
11
|
-
YjBkYmM0OTdjYTc5ZmE4YTkzMGE4YTk0OWFmNWY2MmY4NjNmMjI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
YmIxNDI2NWM4OTc0ZjBlYTQ4NjEwZWExNmU1Njc1NjIyOWY2Mjk5MjFjODEx
|
14
|
-
YTYwYzI1MWVmOWZmZTlmZDJjZWM2NDcyMGFjZjU3N2UzMWM0YjhiMDkwYjMw
|
15
|
-
MWE3NDgzMWFhOWY2ZTc2MjM4ZDJiMDQxNWU4OWYwMTRhNjYxZTM=
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e0f31765da7ffc9f39b6fb6d35a60c6fbf802413
|
4
|
+
data.tar.gz: 4516322b09242e38d0a42e1dbc2571e94be4a97d
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1d154a6dd94cc6881a408fd0a41f8876bef4eac02364ffdebcc5aebd3b9928668c6915f739da69a8489c04cf80fc216506c9fda21df720f2534b237203845a99
|
7
|
+
data.tar.gz: c821268fe007a9f8a76bb944d1612866b2091c1d3fd862e9b662ac70c6af76da8a213641f22237ef6edb37651286784e0515c9b88eb3a9eab720f0daf1028217
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -105,6 +105,15 @@ Will return a card_token that can be stored against a customer.
|
|
105
105
|
|
106
106
|
Only use this method if you're comfortable sending card details to your server - otherwise you can use a form that Pin provides (https://pin.net.au/docs/guides/payment-forms) and get the card_token that way.
|
107
107
|
|
108
|
+
## Testing localy
|
109
|
+
Create a YAML file under 'spec' called 'test_data.yml' and add in:
|
110
|
+
|
111
|
+
PIN_SECRET: "your pin test secret"
|
112
|
+
|
113
|
+
run
|
114
|
+
|
115
|
+
rspec spec/*.rb
|
116
|
+
|
108
117
|
## Todo
|
109
118
|
|
110
119
|
* Validate a response before it gets sent to Pin (eg. Update customer)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.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.3.
|
8
|
+
s.version = "0.3.1"
|
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"]
|
@@ -61,13 +61,14 @@ Gem::Specification.new do |s|
|
|
61
61
|
s.homepage = "http://github.com/dNitza/pin_up"
|
62
62
|
s.licenses = ["MIT"]
|
63
63
|
s.require_paths = ["lib"]
|
64
|
-
s.rubygems_version = "2.0.
|
64
|
+
s.rubygems_version = "2.0.3"
|
65
65
|
s.summary = "A Ruby gem wrapper for the pin-payments (pin.net.au) API"
|
66
66
|
|
67
67
|
if s.respond_to? :specification_version then
|
68
68
|
s.specification_version = 4
|
69
69
|
|
70
70
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
71
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
71
72
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
72
73
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
73
74
|
s.add_development_dependency(%q<rspec>, [">= 0"])
|
@@ -78,6 +79,7 @@ Gem::Specification.new do |s|
|
|
78
79
|
s.add_development_dependency(%q<vcr>, [">= 0"])
|
79
80
|
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
80
81
|
else
|
82
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
81
83
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
82
84
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
83
85
|
s.add_dependency(%q<rspec>, [">= 0"])
|
@@ -89,6 +91,7 @@ Gem::Specification.new do |s|
|
|
89
91
|
s.add_dependency(%q<httparty>, [">= 0"])
|
90
92
|
end
|
91
93
|
else
|
94
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
92
95
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
93
96
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
94
97
|
s.add_dependency(%q<rspec>, [">= 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.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Nitsikopoulos
|
@@ -10,18 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httparty
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: shoulda
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
16
30
|
requirements:
|
17
|
-
- -
|
31
|
+
- - '>='
|
18
32
|
- !ruby/object:Gem::Version
|
19
33
|
version: '0'
|
20
34
|
type: :development
|
21
35
|
prerelease: false
|
22
36
|
version_requirements: !ruby/object:Gem::Requirement
|
23
37
|
requirements:
|
24
|
-
- -
|
38
|
+
- - '>='
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: '0'
|
27
41
|
- !ruby/object:Gem::Dependency
|
@@ -42,28 +56,28 @@ dependencies:
|
|
42
56
|
name: rspec
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- -
|
59
|
+
- - '>='
|
46
60
|
- !ruby/object:Gem::Version
|
47
61
|
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- -
|
66
|
+
- - '>='
|
53
67
|
- !ruby/object:Gem::Version
|
54
68
|
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: httparty
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- -
|
73
|
+
- - '>='
|
60
74
|
- !ruby/object:Gem::Version
|
61
75
|
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- -
|
80
|
+
- - '>='
|
67
81
|
- !ruby/object:Gem::Version
|
68
82
|
version: '0'
|
69
83
|
- !ruby/object:Gem::Dependency
|
@@ -84,56 +98,56 @@ dependencies:
|
|
84
98
|
name: simplecov
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
|
-
- -
|
101
|
+
- - '>='
|
88
102
|
- !ruby/object:Gem::Version
|
89
103
|
version: '0'
|
90
104
|
type: :development
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
|
-
- -
|
108
|
+
- - '>='
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: webmock
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
|
-
- -
|
115
|
+
- - '>='
|
102
116
|
- !ruby/object:Gem::Version
|
103
117
|
version: '0'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
|
-
- -
|
122
|
+
- - '>='
|
109
123
|
- !ruby/object:Gem::Version
|
110
124
|
version: '0'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: vcr
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- -
|
129
|
+
- - '>='
|
116
130
|
- !ruby/object:Gem::Version
|
117
131
|
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- -
|
136
|
+
- - '>='
|
123
137
|
- !ruby/object:Gem::Version
|
124
138
|
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: httparty
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
128
142
|
requirements:
|
129
|
-
- -
|
143
|
+
- - '>='
|
130
144
|
- !ruby/object:Gem::Version
|
131
145
|
version: '0'
|
132
146
|
type: :runtime
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
135
149
|
requirements:
|
136
|
-
- -
|
150
|
+
- - '>='
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
139
153
|
description: A Ruby gem wrapper for the pin-payments (pin.net.au) API
|
@@ -194,17 +208,17 @@ require_paths:
|
|
194
208
|
- lib
|
195
209
|
required_ruby_version: !ruby/object:Gem::Requirement
|
196
210
|
requirements:
|
197
|
-
- -
|
211
|
+
- - '>='
|
198
212
|
- !ruby/object:Gem::Version
|
199
213
|
version: '0'
|
200
214
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
201
215
|
requirements:
|
202
|
-
- -
|
216
|
+
- - '>='
|
203
217
|
- !ruby/object:Gem::Version
|
204
218
|
version: '0'
|
205
219
|
requirements: []
|
206
220
|
rubyforge_project:
|
207
|
-
rubygems_version: 2.0.
|
221
|
+
rubygems_version: 2.0.3
|
208
222
|
signing_key:
|
209
223
|
specification_version: 4
|
210
224
|
summary: A Ruby gem wrapper for the pin-payments (pin.net.au) API
|