adyen-admin 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. data/CHANGES.md +3 -0
  2. data/VERSION +1 -1
  3. data/lib/adyen-admin/skin.rb +2 -0
  4. data/spec/adyen-admin/skin_spec.rb +18 -2
  5. data/spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml +9 -9
  6. data/spec/fixtures/cassettes/Adyen_Admin_Client/_get/sets_authenticated_to_false_on_error.yml +9 -9
  7. data/spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml +34 -34
  8. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml +6 -5
  9. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml +6 -5
  10. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml +6 -5
  11. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml +6 -5
  12. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_decompile/new_remote_skin/downloads_and_decompiles_skin.yml +1025 -196
  13. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml +89 -84
  14. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/is_a_zipfile.yml +89 -84
  15. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml +6 -5
  16. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml +6 -5
  17. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_remote_version/returns_live_value.yml +3 -3
  18. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_remote_version/returns_test_value.yml +5 -5
  19. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_remote_version/returns_uploaded_value.yml +7 -7
  20. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml +17 -17
  21. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_update/create_skin_yml_file.yml +16 -16
  22. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml +115 -114
  23. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/updates_skin_data.yml +84 -83
  24. data/spec/fixtures/cassettes/login.yml +35 -35
  25. data/spec/fixtures/skins/DV3tf95f/skin.yml +1 -1
  26. metadata +16 -16
@@ -29,7 +29,7 @@ http_interactions:
29
29
  message: OK
30
30
  headers:
31
31
  Date:
32
- - Thu, 19 Apr 2012 17:35:02 GMT
32
+ - Wed, 02 May 2012 10:49:55 GMT
33
33
  Server:
34
34
  - Apache
35
35
  Cache-Control:
@@ -41,7 +41,7 @@ http_interactions:
41
41
  X-Frame-Options:
42
42
  - SAMEORIGIN
43
43
  Set-Cookie:
44
- - JSESSIONID=CA386567EC1FD51CF8A38DD8D6A23977.test5e; Path=/ca/; Secure; HttpOnly
44
+ - JSESSIONID=140C58329B4F1727D68F68E707D7580A.test5e; Path=/ca/; Secure; HttpOnly
45
45
  Content-Language:
46
46
  - en-GB
47
47
  Keep-Alive:
@@ -66,15 +66,15 @@ http_interactions:
66
66
  <meta http-equiv="imagetoolbar" content="no" />
67
67
  <meta content="TRUE" name="MSSmartTagsPreventParsing" />
68
68
 
69
- <link rel="shortcut icon" href="/ca/img/adyen/favicon.ico;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" type="image/ico"/>
69
+ <link rel="shortcut icon" href="/ca/img/adyen/favicon.ico;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" type="image/ico"/>
70
70
 
71
- <script type="text/javascript" src="/ca/js/functions.js;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e"></script>
72
- <script src="/ca/js/prototype.js;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" type="text/javascript"></script>
73
- <script src="/ca/js/scriptaculous.js;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" type="text/javascript"></script>
71
+ <script type="text/javascript" src="/ca/js/functions.js;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e"></script>
72
+ <script src="/ca/js/prototype.js;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" type="text/javascript"></script>
73
+ <script src="/ca/js/scriptaculous.js;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" type="text/javascript"></script>
74
74
 
75
- <link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" />
75
+ <link rel="stylesheet" type="text/css" href="/ca/css/adyen/style.css;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" />
76
76
  <!--[if lt IE 7]>
77
- <link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" />
77
+ <link rel="stylesheet" type="text/css" href="/ca/css/adyen/style_ie6.css;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" />
78
78
  <![endif]-->
79
79
 
80
80
 
@@ -84,9 +84,9 @@ http_interactions:
84
84
  <div id="topbar"><div class="iefillerdiv"></div></div>
85
85
  <div id="middlebarcontainer">
86
86
  <div id="middlebar">
87
- <a href="/ca/ca/overview/default.shtml;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e"><img id="mainlogo" src="/ca/img/adyen.png;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="Logo"/>
88
- <img id="testsystemwarning" src="/ca/img/adyen_test.png;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="test"/></a>
89
- <img id="maintagline" src="/ca/img/adyen_tagline.png;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="Complex Finance, Online Insight" />
87
+ <a href="/ca/ca/overview/default.shtml;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e"><img id="mainlogo" src="/ca/img/adyen.png;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="Logo"/>
88
+ <img id="testsystemwarning" src="/ca/img/adyen_test.png;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="test"/></a>
89
+ <img id="maintagline" src="/ca/img/adyen_tagline.png;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="Complex Finance, Online Insight" />
90
90
  </div>
91
91
  </div>
92
92
  <div id="bottombar"><div id="bottombar2"></div></div>
@@ -101,9 +101,9 @@ http_interactions:
101
101
  </div>
102
102
 
103
103
  <div style="text-align: left; margin-top: 5px">
104
- <!--a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" title="Home"><img src="/ca/img/home.gif;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="Home"/></a-->
105
- <a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e"><img src="/ca/img/home.png;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="Home"/> home</a><br/>
106
- <a class="icon" href="/ca/logoff.shtml;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" title="Sign Off"><img src="/ca/img/exit.png;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e" alt="Sign Off"/> sign off</a>
104
+ <!--a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" title="Home"><img src="/ca/img/home.gif;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="Home"/></a-->
105
+ <a class="icon" href="/ca/ca/overview/default.shtml;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e"><img src="/ca/img/home.png;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="Home"/> home</a><br/>
106
+ <a class="icon" href="/ca/logoff.shtml;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" title="Sign Off"><img src="/ca/img/exit.png;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e" alt="Sign Off"/> sign off</a>
107
107
  </div>
108
108
  </div>
109
109
  </div>
@@ -193,13 +193,13 @@ http_interactions:
193
193
 
194
194
  <tr>
195
195
  <td colspan="2"><br />
196
- <input type="hidden" name="j_formHash" value="656lGZg1+3ZtxIPofI+DDi2AGIdCQU=" />
196
+ <input type="hidden" name="j_formHash" value="622MrVuTZujZbuEjX8uIPKIh8g9Bwk=" />
197
197
  <input type="submit" class="button" value="Submit" /></td>
198
198
  </tr>
199
199
  </table>
200
200
  </form>
201
201
  <br/>
202
- <a href="/ca/forgotPassword.shtml;jsessionid=CA386567EC1FD51CF8A38DD8D6A23977.test5e">Forgot your password?</a>
202
+ <a href="/ca/forgotPassword.shtml;jsessionid=140C58329B4F1727D68F68E707D7580A.test5e">Forgot your password?</a>
203
203
  </div>
204
204
 
205
205
  <div class="bbarl">
@@ -218,13 +218,13 @@ http_interactions:
218
218
  </html>
219
219
 
220
220
  http_version:
221
- recorded_at: Thu, 19 Apr 2012 17:35:02 GMT
221
+ recorded_at: Wed, 02 May 2012 10:49:55 GMT
222
222
  - request:
223
223
  method: post
224
224
  uri: https://ca-test.adyen.com/ca/ca/config/j_security_check
225
225
  body:
226
226
  encoding: UTF-8
227
- string: j_account=SoundCloud&j_username=skinadmin&j_password=12312311&j_formHash=656lGZg1%2B3ZtxIPofI%2BDDi2AGIdCQU%3D
227
+ string: j_account=SoundCloud&j_username=skinadmin&j_password=12312311&j_formHash=622MrVuTZujZbuEjX8uIPKIh8g9Bwk%3D
228
228
  headers:
229
229
  Accept:
230
230
  - "*/*"
@@ -237,7 +237,7 @@ http_interactions:
237
237
  Accept-Language:
238
238
  - en-us,en;q=0.5
239
239
  Cookie:
240
- - JSESSIONID=CA386567EC1FD51CF8A38DD8D6A23977.test5e
240
+ - JSESSIONID=140C58329B4F1727D68F68E707D7580A.test5e
241
241
  Host:
242
242
  - ca-test.adyen.com
243
243
  Referer:
@@ -256,7 +256,7 @@ http_interactions:
256
256
  Content-Type:
257
257
  - application/x-www-form-urlencoded
258
258
  Content-Length:
259
- - "110"
259
+ - "106"
260
260
  Connection:
261
261
  - keep-alive
262
262
  Keep-Alive:
@@ -267,11 +267,11 @@ http_interactions:
267
267
  message: Moved Temporarily
268
268
  headers:
269
269
  Date:
270
- - Thu, 19 Apr 2012 17:35:03 GMT
270
+ - Wed, 02 May 2012 10:49:55 GMT
271
271
  Server:
272
272
  - Apache
273
273
  Set-Cookie:
274
- - JSESSIONID=F2EEF8221C8C8DCFAC103BF99231FA3E.test5e; Path=/ca/; Secure; HttpOnly
274
+ - JSESSIONID=6B0311CC4E89FEA6AF12A8C4194D5FB9.test5e; Path=/ca/; Secure; HttpOnly
275
275
  Location:
276
276
  - https://ca-test.adyen.com/ca/
277
277
  Content-Length:
@@ -286,7 +286,7 @@ http_interactions:
286
286
  encoding: US-ASCII
287
287
  string: ""
288
288
  http_version:
289
- recorded_at: Thu, 19 Apr 2012 17:35:03 GMT
289
+ recorded_at: Wed, 02 May 2012 10:49:56 GMT
290
290
  - request:
291
291
  method: get
292
292
  uri: https://ca-test.adyen.com/ca/
@@ -305,7 +305,7 @@ http_interactions:
305
305
  Accept-Language:
306
306
  - en-us,en;q=0.5
307
307
  Cookie:
308
- - JSESSIONID=F2EEF8221C8C8DCFAC103BF99231FA3E.test5e
308
+ - JSESSIONID=6B0311CC4E89FEA6AF12A8C4194D5FB9.test5e
309
309
  Host:
310
310
  - ca-test.adyen.com
311
311
  Referer:
@@ -320,7 +320,7 @@ http_interactions:
320
320
  message: Moved Temporarily
321
321
  headers:
322
322
  Date:
323
- - Thu, 19 Apr 2012 17:35:03 GMT
323
+ - Wed, 02 May 2012 10:49:56 GMT
324
324
  Server:
325
325
  - Apache
326
326
  Location:
@@ -339,7 +339,7 @@ http_interactions:
339
339
  encoding: US-ASCII
340
340
  string: ""
341
341
  http_version:
342
- recorded_at: Thu, 19 Apr 2012 17:35:03 GMT
342
+ recorded_at: Wed, 02 May 2012 10:49:56 GMT
343
343
  - request:
344
344
  method: get
345
345
  uri: https://ca-test.adyen.com/ca/ca/overview/default.shtml
@@ -358,7 +358,7 @@ http_interactions:
358
358
  Accept-Language:
359
359
  - en-us,en;q=0.5
360
360
  Cookie:
361
- - JSESSIONID=F2EEF8221C8C8DCFAC103BF99231FA3E.test5e
361
+ - JSESSIONID=6B0311CC4E89FEA6AF12A8C4194D5FB9.test5e
362
362
  Host:
363
363
  - ca-test.adyen.com
364
364
  Referer:
@@ -373,7 +373,7 @@ http_interactions:
373
373
  message: OK
374
374
  headers:
375
375
  Date:
376
- - Thu, 19 Apr 2012 17:35:04 GMT
376
+ - Wed, 02 May 2012 10:49:56 GMT
377
377
  Server:
378
378
  - Apache
379
379
  Cache-Control:
@@ -501,7 +501,7 @@ http_interactions:
501
501
 
502
502
 
503
503
 
504
- <div style="float: right; text-align: right; font-size: 0.8em;"><h1 title="Page Generation Time">2012-04-19 19:35:04 CEST</h1>
504
+ <div style="float: right; text-align: right; font-size: 0.8em;"><h1 title="Page Generation Time">2012-05-02 12:49:56 CEST</h1>
505
505
  <span class="topright">
506
506
  <a href="/ca/ca/overview/default.shtml?configure=true" title="Configure this page">
507
507
  <img src="/ca/img/icons/layout_edit.png" alt="Edit Layout" /> Customise this page </a>
@@ -524,7 +524,7 @@ http_interactions:
524
524
  <div class="content">
525
525
  You are logged in under the SoundCloud
526
526
  Company account.<br />
527
- Your last login was on <b>2012-04-19 19:35:00 CEST</b>.
527
+ Your last login was on <b>2012-05-02 12:49:54 CEST</b>.
528
528
  </div>
529
529
  </div>
530
530
  <div id="system_messages" class="block">
@@ -552,7 +552,7 @@ http_interactions:
552
552
  <script type="text/javascript">
553
553
  var chart1 = new FusionCharts("/ca/Charts/AngularGauge.swf", "sampleChart", "180", "110", "0", "0","#FFFFFF","noScale","EN");
554
554
  //debugMode, registerWithJS, c, scaleMode, lang, detectFlashVersion, autoInstallRedirect
555
- chart1.setDataURL("/ca/ca/reports/chartdata/speedometer.shtml?random=1334856904151");
555
+ chart1.setDataURL("/ca/ca/reports/chartdata/speedometer.shtml?random=1335955796402");
556
556
  chart1.render("chart2div");
557
557
  </script> </div>
558
558
  </div>
@@ -589,7 +589,7 @@ http_interactions:
589
589
  <script type="text/javascript">
590
590
  var chart1 = new FusionCharts("/ca/Charts/MSLine.swf", "sampleChart", "374", "180", "0", "1","#FFFFFF","noScale","EN","1","0");
591
591
  //debugMode, registerWithJS, c, scaleMode, lang, detectFlashVersion, autoInstallRedirect
592
- chart1.setDataURL("/ca/ca/reports/chartdata/chart_weekhistory.shtml?random=1334856904153");
592
+ chart1.setDataURL("/ca/ca/reports/chartdata/chart_weekhistory.shtml?random=1335955796403");
593
593
  chart1.render("chart1div");
594
594
  </script> </div>
595
595
  </div>
@@ -605,7 +605,7 @@ http_interactions:
605
605
  Current system time:
606
606
  </th>
607
607
  <td>
608
- 2012-04-19 19:35:04 CEST
608
+ 2012-05-02 12:49:56 CEST
609
609
  </td>
610
610
  </tr>
611
611
  <tr>
@@ -613,7 +613,7 @@ http_interactions:
613
613
  Backoffice up-to-date till:
614
614
  </th>
615
615
  <td>
616
- <span title="All payments made till this time are listed in the payments list. Newer payments may not be visible yet.">2012-04-19 19:34:20 CEST</span>
616
+ <span title="All payments made till this time are listed in the payments list. Newer payments may not be visible yet.">2012-05-02 12:48:45 CEST</span>
617
617
  </td>
618
618
  </tr>
619
619
  </table> </div>
@@ -645,5 +645,5 @@ http_interactions:
645
645
  </html>
646
646
 
647
647
  http_version:
648
- recorded_at: Thu, 19 Apr 2012 17:35:04 GMT
648
+ recorded_at: Wed, 02 May 2012 10:49:56 GMT
649
649
  recorded_with: VCR 2.0.1
@@ -1,5 +1,5 @@
1
1
  ---
2
- :name: from-file
2
+ :name: DV3tf95f
3
3
  :code: customCode
4
4
  :uploaded_at:
5
5
  :version: 12
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.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-23 00:00:00.000000000Z
12
+ date: 2012-05-02 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mechanize
16
- requirement: &70207780752880 !ruby/object:Gem::Requirement
16
+ requirement: &70183613017020 !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: *70207780752880
24
+ version_requirements: *70183613017020
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rubyzip
27
- requirement: &70207780752400 !ruby/object:Gem::Requirement
27
+ requirement: &70183613016540 !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: *70207780752400
35
+ version_requirements: *70183613016540
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70207780751820 !ruby/object:Gem::Requirement
38
+ requirement: &70183613015960 !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: *70207780751820
46
+ version_requirements: *70183613015960
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec
49
- requirement: &70207780751360 !ruby/object:Gem::Requirement
49
+ requirement: &70183613015500 !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: *70207780751360
57
+ version_requirements: *70183613015500
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: vcr
60
- requirement: &70207780750900 !ruby/object:Gem::Requirement
60
+ requirement: &70183613015040 !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: *70207780750900
68
+ version_requirements: *70183613015040
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: webmock
71
- requirement: &70207780750440 !ruby/object:Gem::Requirement
71
+ requirement: &70183613014580 !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: *70207780750440
79
+ version_requirements: *70183613014580
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: debugger
82
- requirement: &70207780749980 !ruby/object:Gem::Requirement
82
+ requirement: &70183613014120 !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: *70207780749980
90
+ version_requirements: *70183613014120
91
91
  description: A little Gem to make your life easier when dealing with Adyen skins
92
92
  email:
93
93
  - tobi@soundcloud.com