adyen-admin 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES.md +8 -3
- data/VERSION +1 -1
- data/lib/adyen-admin/skin.rb +21 -13
- data/lib/adyen-admin.rb +0 -4
- data/spec/adyen-admin/skin_spec.rb +5 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml +292 -0
- metadata +17 -15
data/CHANGES.md
CHANGED
@@ -7,15 +7,20 @@
|
|
7
7
|
* add CLI binaries (to compile + upload) -> read from .adyenrc file
|
8
8
|
* make compatible with Live system
|
9
9
|
|
10
|
-
## v0.0.
|
10
|
+
## v0.0.4
|
11
|
+
* get the default path right
|
12
|
+
* add path to remote skins
|
13
|
+
* freeze local skins by default
|
14
|
+
|
15
|
+
## v0.0.3
|
11
16
|
* force update remote
|
12
17
|
* .all unions remote + local (no more duplicates)
|
13
18
|
* freeze locals to indicate missing remote endpoint
|
14
19
|
* raise exception when page could not be loaded
|
15
20
|
|
16
21
|
## v0.0.2
|
17
|
-
|
18
|
-
|
22
|
+
* cleanup
|
23
|
+
* dep. fix
|
19
24
|
|
20
25
|
## v0.0.1 - 10-04-2012
|
21
26
|
_inital release_
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.4
|
data/lib/adyen-admin/skin.rb
CHANGED
@@ -20,41 +20,49 @@ module Adyen
|
|
20
20
|
send("#{key}=", value)
|
21
21
|
end
|
22
22
|
|
23
|
-
path ||= File.join(
|
23
|
+
self.path ||= File.join(Skin.default_path, [name,code].compact.join("-"))
|
24
24
|
|
25
25
|
raise ArgumentError unless code
|
26
26
|
end
|
27
27
|
|
28
|
+
def self.default_path
|
29
|
+
@default_path || "."
|
30
|
+
end
|
31
|
+
|
32
|
+
def self.default_path=(path)
|
33
|
+
@default_path = path
|
34
|
+
end
|
35
|
+
|
28
36
|
# union remote and local skins. Local skins are frozen to
|
29
37
|
# indicate no availble remote counter part which avoid update
|
30
|
-
def self.all(path =
|
38
|
+
def self.all(path = Skin.default_path)
|
31
39
|
{}.tap do |hash|
|
32
40
|
self.all_remote.each do |skin|
|
33
41
|
hash[skin.code] = skin unless hash[skin.code]
|
34
42
|
end
|
35
43
|
self.all_local(path).each do |skin|
|
36
|
-
hash[skin.code] = skin
|
44
|
+
hash[skin.code] = skin unless hash[skin.code]
|
37
45
|
end
|
38
46
|
end.values
|
39
47
|
end
|
40
48
|
|
41
49
|
# fetch all remote skins
|
42
50
|
def self.all_remote
|
43
|
-
|
51
|
+
@skins_remote ||= begin
|
44
52
|
page = Adyen::Admin.get(SKINS)
|
45
53
|
page.search(".data tbody tr").map do |node|
|
46
54
|
Skin.new({
|
47
55
|
:code => node.search("a")[0].content.strip,
|
48
|
-
:name => node.search("td")[1].content.strip
|
56
|
+
:name => node.search("td")[1].content.strip,
|
49
57
|
})
|
50
58
|
end
|
51
59
|
end
|
52
60
|
end
|
53
61
|
|
54
62
|
# fetch all local skins
|
55
|
-
def self.all_local(path)
|
63
|
+
def self.all_local(path = Skin.default_path)
|
56
64
|
Dir[File.join(path.to_s, "*")].map do |path|
|
57
|
-
Skin.new(:path => path) rescue nil
|
65
|
+
Skin.new(:path => path).freeze rescue nil
|
58
66
|
end.compact
|
59
67
|
end
|
60
68
|
|
@@ -66,18 +74,18 @@ module Adyen
|
|
66
74
|
end
|
67
75
|
|
68
76
|
def self.purge_cache
|
69
|
-
|
77
|
+
@skins_remote = nil
|
70
78
|
end
|
71
79
|
|
72
80
|
##################################
|
73
81
|
|
74
|
-
def path=(
|
75
|
-
if Skin.is_skin_path?(
|
76
|
-
new_code, new_name = File.basename(
|
82
|
+
def path=(new_path)
|
83
|
+
if Skin.is_skin_path?(new_path)
|
84
|
+
new_code, new_name = File.basename(new_path).split("-").reverse
|
77
85
|
self.code ||= new_code
|
78
86
|
self.name ||= new_name
|
79
87
|
raise ArgumentError if self.code && self.code != new_code
|
80
|
-
@path =
|
88
|
+
@path = new_path
|
81
89
|
end
|
82
90
|
end
|
83
91
|
|
@@ -195,7 +203,7 @@ module Adyen
|
|
195
203
|
|
196
204
|
def self.is_skin_path?(path)
|
197
205
|
%w(skin.html.erb inc css js).each do |sub_path|
|
198
|
-
return true if File.exists?(File.join(path, sub_path))
|
206
|
+
return true if File.exists?(File.join(path.to_s, sub_path))
|
199
207
|
end
|
200
208
|
false
|
201
209
|
end
|
data/lib/adyen-admin.rb
CHANGED
@@ -29,6 +29,11 @@ module Adyen::Admin
|
|
29
29
|
Skin.new(:code => "vQW0fEo8", :name => "test"),
|
30
30
|
]
|
31
31
|
end
|
32
|
+
|
33
|
+
it 'sets local path' do
|
34
|
+
Adyen::Admin::Skin.default_path = skin_fixtures
|
35
|
+
Skin.all_remote.first.path.should == "#{skin_fixtures}/example-7hFAQnmt"
|
36
|
+
end
|
32
37
|
end
|
33
38
|
|
34
39
|
describe ".all_local" do
|
@@ -0,0 +1,292 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: https://ca-test.adyen.com/ca/ca/skin/skins.shtml
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ""
|
9
|
+
headers:
|
10
|
+
Accept:
|
11
|
+
- "*/*"
|
12
|
+
User-Agent:
|
13
|
+
- Mechanize/2.3 Ruby/1.9.2p290 (http://github.com/tenderlove/mechanize/)
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip,deflate,identity
|
16
|
+
Accept-Charset:
|
17
|
+
- ISO-8859-1,utf-8;q=0.7,*;q=0.7
|
18
|
+
Accept-Language:
|
19
|
+
- en-us,en;q=0.5
|
20
|
+
Cookie:
|
21
|
+
- JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
|
22
|
+
Host:
|
23
|
+
- ca-test.adyen.com
|
24
|
+
Connection:
|
25
|
+
- keep-alive
|
26
|
+
Keep-Alive:
|
27
|
+
- 300
|
28
|
+
response:
|
29
|
+
status:
|
30
|
+
code: 200
|
31
|
+
message: OK
|
32
|
+
headers:
|
33
|
+
Date:
|
34
|
+
- Wed, 11 Apr 2012 17:34:16 GMT
|
35
|
+
Server:
|
36
|
+
- Apache
|
37
|
+
Cache-Control:
|
38
|
+
- no-cache, no-store, must-revalidate, max-age=0, post-check=0, pre-check=0
|
39
|
+
Pragma:
|
40
|
+
- no-cache
|
41
|
+
Expires:
|
42
|
+
- "-1"
|
43
|
+
X-Frame-Options:
|
44
|
+
- SAMEORIGIN
|
45
|
+
Content-Language:
|
46
|
+
- en-GB
|
47
|
+
Keep-Alive:
|
48
|
+
- timeout=15, max=100
|
49
|
+
Connection:
|
50
|
+
- Keep-Alive
|
51
|
+
Transfer-Encoding:
|
52
|
+
- chunked
|
53
|
+
Content-Type:
|
54
|
+
- text/html;charset=UTF-8
|
55
|
+
body:
|
56
|
+
encoding: US-ASCII
|
57
|
+
string: |
|
58
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
59
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
60
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
61
|
+
<head>
|
62
|
+
|
63
|
+
<title>Adyen PSP System</title>
|
64
|
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
65
|
+
<meta http-equiv="content-style-type" content="text/css" />
|
66
|
+
<meta http-equiv="imagetoolbar" content="no" />
|
67
|
+
<meta content="TRUE" name="MSSmartTagsPreventParsing" />
|
68
|
+
|
69
|
+
<link rel="shortcut icon" href="/ca/img/adyen/favicon.ico" type="image/ico"/>
|
70
|
+
|
71
|
+
<script type="text/javascript" src="/ca/js/functions.js"></script>
|
72
|
+
<script src="/ca/js/prototype.js" type="text/javascript"></script>
|
73
|
+
<script src="/ca/js/scriptaculous.js" type="text/javascript"></script>
|
74
|
+
|
75
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css" />
|
76
|
+
<!--[if lt IE 7]>
|
77
|
+
<link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css" />
|
78
|
+
<![endif]-->
|
79
|
+
|
80
|
+
<link rel="alternate" title="Payments Per Hour RSS" href="https://ca-test.adyen.com/reports/token/rss/lasttx/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
81
|
+
<link rel="alternate" title="Authorised Volume RSS" href="https://ca-test.adyen.com/reports/token/rss/authorisedtxrss/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
82
|
+
<link rel="alternate" title="System Messages RSS" href="https://ca-test.adyen.com/reports/token/rss/systemmessagesrss/Company/SoundCloud/?user=skinadmin%40Company.SoundCloud&amp%3Bkey=1334075779504&amp%3Btoken=KV7veoeR9GsL%2FH%2BZrgI1Yhiio5I%3D" type="application/rss+xml" />
|
83
|
+
|
84
|
+
</head>
|
85
|
+
<body>
|
86
|
+
|
87
|
+
<div id="topbar"><div class="iefillerdiv"></div></div>
|
88
|
+
<div id="middlebarcontainer">
|
89
|
+
<div id="middlebar">
|
90
|
+
<a href="/ca/ca/overview/default.shtml"><img id="mainlogo" src="/ca/img/adyen.png" alt="Logo"/>
|
91
|
+
<img id="testsystemwarning" src="/ca/img/adyen_test.png" alt="test"/></a>
|
92
|
+
<img id="maintagline" src="/ca/img/adyen_tagline.png" alt="Complex Finance, Online Insight" />
|
93
|
+
</div>
|
94
|
+
</div>
|
95
|
+
<div id="bottombar"><div id="bottombar2"></div></div>
|
96
|
+
|
97
|
+
<div id="maincontent">
|
98
|
+
<div id="boxleft">
|
99
|
+
<div id="infobox">
|
100
|
+
<ul class="nav">
|
101
|
+
</ul>
|
102
|
+
<div id="infoboxcontent">
|
103
|
+
<div id="merchantlogo">
|
104
|
+
<a href="/ca/ca/accounts/manage.shtml"><img src="/ca/ca/image.shtml?cachingId=Company.SoundCloud&name=accountLogo&mimeType=image%2Fpng" alt="merchantlogo"/></a>
|
105
|
+
</div>
|
106
|
+
<div>
|
107
|
+
<div style="padding-left: 0px;">
|
108
|
+
<a class="accountnav" href="/ca/ca/accounts/choose.shtml?setActiveAccountKey=Company.SoundCloud"
|
109
|
+
style="text-decoration: underline; color: #666;" >SoundCloud</a>
|
110
|
+
</div>
|
111
|
+
</div>
|
112
|
+
|
113
|
+
<div style="text-align: left; margin-top: 5px">
|
114
|
+
<!--a class="icon" href="/ca/ca/overview/default.shtml" title="Home"><img src="/ca/img/home.gif" alt="Home"/></a-->
|
115
|
+
<a class="icon" href="/ca/logoff.shtml" title="Sign Off"><img src="/ca/img/exit.png" alt="Sign Off"/> sign off</a>
|
116
|
+
<br/><a class="icon" href="/ca/ca/accounts/choose.shtml?chooseUserAccount=true"><img src="/ca/img/bookmark.png" alt="bookmarks"/> bookmarks</a>
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
|
122
|
+
<div class="bbarlmenu">
|
123
|
+
<div class="bbarrmenu">
|
124
|
+
<div class="bbarmenu">
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
</div>
|
128
|
+
|
129
|
+
<div id="menu">
|
130
|
+
<ul class="nav">
|
131
|
+
<li class="navfirstli"> </li>
|
132
|
+
<li ><a href="/ca/ca/overview/default.shtml">Home</a></li>
|
133
|
+
<li ><a href="/ca/ca/payments/showList.shtml">Payments</a></li>
|
134
|
+
<li ><a href="/ca/ca/accounts/choose.shtml">Accounts</a></li>
|
135
|
+
<li ><a href="/ca/ca/reports/choose.shtml">Reports</a></li>
|
136
|
+
<li class="activelink" ><a href="/ca/ca/skin/skins.shtml">Skins</a></li>
|
137
|
+
<li ><a href="/ca/ca/config/choose.shtml">Settings</a></li>
|
138
|
+
<li ><a href="/ca/ca/support/start.shtml">Support</a></li>
|
139
|
+
</ul>
|
140
|
+
</div>
|
141
|
+
<div class="bbarlmenu">
|
142
|
+
<div class="bbarrmenu">
|
143
|
+
<div class="bbarmenu">
|
144
|
+
</div>
|
145
|
+
</div>
|
146
|
+
</div>
|
147
|
+
</div>
|
148
|
+
|
149
|
+
<div id="contentbg">
|
150
|
+
<div id="content">
|
151
|
+
<div id="contentwrapper">
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
<div id="toolbar">
|
157
|
+
<ul id="tbtabs">
|
158
|
+
<li id="tbbut1" class="activelink" ><a href="/ca/ca/skin/skins.shtml">List</a></li>
|
159
|
+
<li id="tbbut2" ><a href="/ca/ca/skin/editskin.shtml?newSkin=true">New</a></li>
|
160
|
+
<li id="tbbut3" class="disabledlink" >
|
161
|
+
<a href="#">
|
162
|
+
Edit</a>
|
163
|
+
</li>
|
164
|
+
<li id="tbbut4" class="disabledlink" >
|
165
|
+
<a href="#">
|
166
|
+
Upload</a>
|
167
|
+
</li>
|
168
|
+
<li id="tbbut5" class="disabledlink" >
|
169
|
+
<a href="#">
|
170
|
+
Publish</a>
|
171
|
+
</li>
|
172
|
+
<li id="tbbut6" ><a href="/ca/ca/skin/testhmac.shtml">Test HMAC</a></li>
|
173
|
+
<li id="tbbut7" class="disabledlink" >
|
174
|
+
<a href="#">
|
175
|
+
Test</a>
|
176
|
+
</li>
|
177
|
+
</ul>
|
178
|
+
</div>
|
179
|
+
<div id="subcontent">
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
|
184
|
+
|
185
|
+
|
186
|
+
<h1 class="pagetitle">Skins for the Payment Pages</h1>
|
187
|
+
|
188
|
+
<table class="data">
|
189
|
+
<thead>
|
190
|
+
<tr>
|
191
|
+
<th>
|
192
|
+
Skin Code
|
193
|
+
<a href="/ca/ca/skin/modifyFilter.shtml?orderDirection=desc"><img style="vertical-align: middle" src="/ca/img/icons/bullet_arrow_down.png" alt="down"/></a>
|
194
|
+
</th>
|
195
|
+
<th>
|
196
|
+
<a href="/ca/ca/skin/modifyFilter.shtml?orderDirection=asc&orderBy=description">Description</a>
|
197
|
+
</th>
|
198
|
+
<th>Upload</th><th>Download</th><th>Remove</th> </tr>
|
199
|
+
</thead>
|
200
|
+
<tbody>
|
201
|
+
<tr class="std">
|
202
|
+
<td>
|
203
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=7hFAQnmt"><img
|
204
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
205
|
+
/> 7hFAQnmt</a>
|
206
|
+
</td>
|
207
|
+
<td>example</td>
|
208
|
+
<td align="center">
|
209
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=7hFAQnmt"><img
|
210
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
211
|
+
/></a>
|
212
|
+
</td>
|
213
|
+
<td align="center">
|
214
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=7hFAQnmt"><img
|
215
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
216
|
+
/></a>
|
217
|
+
</td>
|
218
|
+
<td align="center">
|
219
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=7hFAQnmt"><img
|
220
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
221
|
+
/></a>
|
222
|
+
</td>
|
223
|
+
</tr>
|
224
|
+
<tr class="alt">
|
225
|
+
<td>
|
226
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=Kx9axnRf"><img
|
227
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
228
|
+
/> Kx9axnRf</a>
|
229
|
+
</td>
|
230
|
+
<td>soundcloud</td>
|
231
|
+
<td align="center">
|
232
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=Kx9axnRf"><img
|
233
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
234
|
+
/></a>
|
235
|
+
</td>
|
236
|
+
<td align="center">
|
237
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=Kx9axnRf"><img
|
238
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
239
|
+
/></a>
|
240
|
+
</td>
|
241
|
+
<td align="center">
|
242
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=Kx9axnRf"><img
|
243
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
244
|
+
/></a>
|
245
|
+
</td>
|
246
|
+
</tr>
|
247
|
+
<tr class="std">
|
248
|
+
<td>
|
249
|
+
<a href="/ca/ca/skin/editskin.shtml?skinCode=vQW0fEo8"><img
|
250
|
+
style="vertical-align: middle" title="skins.edit" src="/ca/img/icons/layout_content.png" alt="skins.edit"
|
251
|
+
/> vQW0fEo8</a>
|
252
|
+
</td>
|
253
|
+
<td>test</td>
|
254
|
+
<td align="center">
|
255
|
+
<a href="/ca/ca/skin/uploadskin.shtml?skinCode=vQW0fEo8"><img
|
256
|
+
style="vertical-align: middle" title="skins.upload" src="/ca/img/icons/disk.png" alt="skins.upload"
|
257
|
+
/></a>
|
258
|
+
</td>
|
259
|
+
<td align="center">
|
260
|
+
<a href="/ca/ca/skin/downloadskin.shtml?skinCode=vQW0fEo8"><img
|
261
|
+
style="vertical-align: middle" title="skins.download" src="/ca/img/icons/disk.png" alt="skins.download"
|
262
|
+
/></a>
|
263
|
+
</td>
|
264
|
+
<td align="center">
|
265
|
+
<a href="/ca/ca/skin/removeskin.shtml?skinCode=vQW0fEo8"><img
|
266
|
+
style="vertical-align: middle" title="skins.remove" src="/ca/img/icons/cross.png" alt="skins.remove"
|
267
|
+
/></a>
|
268
|
+
</td>
|
269
|
+
</tr>
|
270
|
+
</tbody>
|
271
|
+
</table>
|
272
|
+
</div>
|
273
|
+
|
274
|
+
|
275
|
+
<div class="bbarl">
|
276
|
+
<div class="bbarr">
|
277
|
+
<div class="bbar">
|
278
|
+
</div>
|
279
|
+
</div>
|
280
|
+
</div>
|
281
|
+
</div>
|
282
|
+
|
283
|
+
|
284
|
+
</div>
|
285
|
+
</div>
|
286
|
+
</div>
|
287
|
+
</body>
|
288
|
+
</html>
|
289
|
+
|
290
|
+
http_version:
|
291
|
+
recorded_at: Wed, 11 Apr 2012 17:34:16 GMT
|
292
|
+
recorded_with: VCR 2.0.1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-04-11 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mechanize
|
16
|
-
requirement: &
|
16
|
+
requirement: &70296435524120 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70296435524120
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rubyzip
|
27
|
-
requirement: &
|
27
|
+
requirement: &70296435523640 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70296435523640
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rake
|
38
|
-
requirement: &
|
38
|
+
requirement: &70296435523060 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70296435523060
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rspec
|
49
|
-
requirement: &
|
49
|
+
requirement: &70296435522600 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70296435522600
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: vcr
|
60
|
-
requirement: &
|
60
|
+
requirement: &70296435522140 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70296435522140
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: webmock
|
71
|
-
requirement: &
|
71
|
+
requirement: &70296435521680 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - ! '>='
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: '0'
|
77
77
|
type: :development
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70296435521680
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: debugger
|
82
|
-
requirement: &
|
82
|
+
requirement: &70296435521220 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,7 +87,7 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70296435521220
|
91
91
|
description: A little Gem to make your life easier when dealing with Adyen skins
|
92
92
|
email:
|
93
93
|
- tobi@soundcloud.com
|
@@ -114,6 +114,7 @@ files:
|
|
114
114
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml
|
115
115
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml
|
116
116
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml
|
117
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml
|
117
118
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml
|
118
119
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml
|
119
120
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml
|
@@ -191,6 +192,7 @@ test_files:
|
|
191
192
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml
|
192
193
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml
|
193
194
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml
|
195
|
+
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml
|
194
196
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml
|
195
197
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml
|
196
198
|
- spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml
|