arrow_payments 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +2 -1
- data/LICENSE +1 -1
- data/README.md +6 -0
- data/arrow_payments.gemspec +3 -3
- data/lib/arrow_payments/entity.rb +1 -1
- data/lib/arrow_payments/version.rb +1 -1
- data/spec/payment_methods_spec.rb +2 -3
- data/spec/spec_helper.rb +3 -1
- metadata +32 -51
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: b3c8ffdb08982356c06a886e26ab968eaaaf39d0
|
4
|
+
data.tar.gz: 04a88b25a776b161267c13e159c0bd0dfc285cda
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: e0afd3137b056061c630a0460df06da0b1e308263c1921973ac6015f0b26cd742daf01ff4fc0ed0b8d62d997844fa0a1e3078f4863afb2ed52d58aad15a103e6
|
7
|
+
data.tar.gz: ab70900b1b48b23d2e00f1c12358fa1b22e2f750fd61f5f6290ef53be7d28718c75ab25d1700c9ed9b726a6f7420616d100039a795d6f380f8554a3bbaf1803e
|
data/.travis.yml
CHANGED
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
Ruby wrapper for [Arrow Payments](http://www.arrowpayments.com/) gateway
|
4
4
|
|
5
|
+
## Status
|
6
|
+
|
7
|
+
- [![Build Status](http://img.shields.io/travis/sosedoff/arrow_payments/master.svg?style=flat)](https://travis-ci.org/sosedoff/arrow_payments)
|
8
|
+
- [![Code Climate](http://img.shields.io/codeclimate/github/sosedoff/arrow_payments.svg?style=flat)](https://codeclimate.com/github/sosedoff/arrow_payments)
|
9
|
+
- [![Gem Version](http://img.shields.io/gem/v/arrow_payments.svg?style=flat)](http://rubygems.org/gems/arrow_payments)
|
10
|
+
|
5
11
|
## Installation
|
6
12
|
|
7
13
|
Add dependency to your Gemfile:
|
data/arrow_payments.gemspec
CHANGED
@@ -11,13 +11,13 @@ Gem::Specification.new do |s|
|
|
11
11
|
|
12
12
|
s.add_development_dependency 'webmock', '~> 1.6'
|
13
13
|
s.add_development_dependency 'rake', '~> 10.0'
|
14
|
-
s.add_development_dependency 'rspec', '~> 2.
|
14
|
+
s.add_development_dependency 'rspec', '~> 2.13'
|
15
15
|
s.add_development_dependency 'simplecov', '~> 0.7'
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'faraday', '
|
17
|
+
s.add_runtime_dependency 'faraday', '< 0.9'
|
18
18
|
s.add_runtime_dependency 'faraday_middleware', '~> 0.8'
|
19
19
|
s.add_runtime_dependency 'hashie', '~> 2.0'
|
20
|
-
s.add_runtime_dependency 'json', '~> 1.
|
20
|
+
s.add_runtime_dependency 'json', '~> 1.8'
|
21
21
|
|
22
22
|
s.files = `git ls-files`.split("\n")
|
23
23
|
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
@@ -91,8 +91,7 @@ describe ArrowPayments::PaymentMethods do
|
|
91
91
|
let(:request_headers) do
|
92
92
|
{
|
93
93
|
'Accept' => '*/*',
|
94
|
-
'Content-Type' => 'application/x-www-form-urlencoded'
|
95
|
-
'User-Agent' => 'Faraday v0.8.7'
|
94
|
+
'Content-Type' => 'application/x-www-form-urlencoded'
|
96
95
|
}
|
97
96
|
end
|
98
97
|
|
@@ -140,7 +139,7 @@ describe ArrowPayments::PaymentMethods do
|
|
140
139
|
stub_request(:post, "https://secure.nmi.com/api/v2/three-step/4i873m0s").
|
141
140
|
with(
|
142
141
|
:body => {"billing-cc-exp"=>"1214", "billing-cc-number"=>"4111111111111111", "billing-cvv"=>"123", "billing-first-name"=>"John", "billing-last-name"=>"Doe"},
|
143
|
-
:headers => {'Accept'=>'*/*', 'Content-Type'=>'application/x-www-form-urlencoded'
|
142
|
+
:headers => {'Accept'=>'*/*', 'Content-Type'=>'application/x-www-form-urlencoded'}
|
144
143
|
).
|
145
144
|
to_return(
|
146
145
|
:status => 200,
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,144 +1,127 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: arrow_payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
5
|
-
prerelease:
|
4
|
+
version: 0.1.3
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Sosedoff
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-08-29 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: webmock
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '1.6'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '1.6'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rake
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- - ~>
|
31
|
+
- - "~>"
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '10.0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- - ~>
|
38
|
+
- - "~>"
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '10.0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: rspec
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- - ~>
|
45
|
+
- - "~>"
|
52
46
|
- !ruby/object:Gem::Version
|
53
|
-
version: '2.
|
47
|
+
version: '2.13'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- - ~>
|
52
|
+
- - "~>"
|
60
53
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
54
|
+
version: '2.13'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: simplecov
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- - ~>
|
59
|
+
- - "~>"
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0.7'
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- - ~>
|
66
|
+
- - "~>"
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0.7'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: faraday
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - "<"
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version: '0.
|
75
|
+
version: '0.9'
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - "<"
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version: '0.
|
82
|
+
version: '0.9'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: faraday_middleware
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- - ~>
|
87
|
+
- - "~>"
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0.8'
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- - ~>
|
94
|
+
- - "~>"
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0.8'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: hashie
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- - ~>
|
101
|
+
- - "~>"
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '2.0'
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- - ~>
|
108
|
+
- - "~>"
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '2.0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: json
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- - ~>
|
115
|
+
- - "~>"
|
132
116
|
- !ruby/object:Gem::Version
|
133
|
-
version: '1.
|
117
|
+
version: '1.8'
|
134
118
|
type: :runtime
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- - ~>
|
122
|
+
- - "~>"
|
140
123
|
- !ruby/object:Gem::Version
|
141
|
-
version: '1.
|
124
|
+
version: '1.8'
|
142
125
|
description: Ruby wrapper for ArrowPayments gateway
|
143
126
|
email:
|
144
127
|
- dan.sosedoff@gmail.com
|
@@ -146,9 +129,9 @@ executables: []
|
|
146
129
|
extensions: []
|
147
130
|
extra_rdoc_files: []
|
148
131
|
files:
|
149
|
-
- .gitignore
|
150
|
-
- .rspec
|
151
|
-
- .travis.yml
|
132
|
+
- ".gitignore"
|
133
|
+
- ".rspec"
|
134
|
+
- ".travis.yml"
|
152
135
|
- Gemfile
|
153
136
|
- LICENSE
|
154
137
|
- README.md
|
@@ -197,27 +180,26 @@ files:
|
|
197
180
|
- spec/transactions_spec.rb
|
198
181
|
homepage: http://github.com/sosedoff/arrow_payments
|
199
182
|
licenses: []
|
183
|
+
metadata: {}
|
200
184
|
post_install_message:
|
201
185
|
rdoc_options: []
|
202
186
|
require_paths:
|
203
187
|
- lib
|
204
188
|
required_ruby_version: !ruby/object:Gem::Requirement
|
205
|
-
none: false
|
206
189
|
requirements:
|
207
|
-
- -
|
190
|
+
- - ">="
|
208
191
|
- !ruby/object:Gem::Version
|
209
192
|
version: '0'
|
210
193
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
211
|
-
none: false
|
212
194
|
requirements:
|
213
|
-
- -
|
195
|
+
- - ">="
|
214
196
|
- !ruby/object:Gem::Version
|
215
197
|
version: '0'
|
216
198
|
requirements: []
|
217
199
|
rubyforge_project:
|
218
|
-
rubygems_version:
|
200
|
+
rubygems_version: 2.2.2
|
219
201
|
signing_key:
|
220
|
-
specification_version:
|
202
|
+
specification_version: 4
|
221
203
|
summary: Ruby wrapper for ArrowPayments gateway
|
222
204
|
test_files:
|
223
205
|
- spec/arrow_payments_spec.rb
|
@@ -244,4 +226,3 @@ test_files:
|
|
244
226
|
- spec/recurring_billing_spec.rb
|
245
227
|
- spec/spec_helper.rb
|
246
228
|
- spec/transactions_spec.rb
|
247
|
-
has_rdoc:
|