adyen-admin 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (21) hide show
  1. data/CHANGES.md +3 -0
  2. data/VERSION +1 -1
  3. data/lib/adyen-admin/skin.rb +1 -1
  4. data/spec/adyen-admin/skin_spec.rb +6 -0
  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/_login/passes_with_correct_username_password.yml +35 -35
  7. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml +3 -3
  8. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml +3 -3
  9. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml +3 -3
  10. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml +244 -244
  11. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml +5520 -229
  12. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/is_a_zipfile.yml +5566 -0
  13. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml +3 -3
  14. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml +3 -3
  15. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml +17 -17
  16. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml +95 -95
  17. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_live_value.yml +3 -3
  18. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_test_value.yml +3 -3
  19. data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_uploaded_value.yml +4 -4
  20. data/spec/fixtures/cassettes/login.yml +35 -35
  21. metadata +17 -15
@@ -18,7 +18,7 @@ http_interactions:
18
18
  Accept-Language:
19
19
  - en-us,en;q=0.5
20
20
  Cookie:
21
- - JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
21
+ - JSESSIONID=8C3D2F4728B757CCE97F3C32698E9008.test5e
22
22
  Host:
23
23
  - ca-test.adyen.com
24
24
  Connection:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  message: OK
32
32
  headers:
33
33
  Date:
34
- - Wed, 11 Apr 2012 17:34:17 GMT
34
+ - Thu, 12 Apr 2012 15:12:35 GMT
35
35
  Server:
36
36
  - Apache
37
37
  Cache-Control:
@@ -288,5 +288,5 @@ http_interactions:
288
288
  </html>
289
289
 
290
290
  http_version:
291
- recorded_at: Wed, 11 Apr 2012 17:34:17 GMT
291
+ recorded_at: Thu, 12 Apr 2012 15:12:35 GMT
292
292
  recorded_with: VCR 2.0.1
@@ -18,7 +18,7 @@ http_interactions:
18
18
  Accept-Language:
19
19
  - en-us,en;q=0.5
20
20
  Cookie:
21
- - JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
21
+ - JSESSIONID=8C3D2F4728B757CCE97F3C32698E9008.test5e
22
22
  Host:
23
23
  - ca-test.adyen.com
24
24
  Connection:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  message: OK
32
32
  headers:
33
33
  Date:
34
- - Wed, 11 Apr 2012 17:34:17 GMT
34
+ - Thu, 12 Apr 2012 15:12:35 GMT
35
35
  Server:
36
36
  - Apache
37
37
  Cache-Control:
@@ -288,5 +288,5 @@ http_interactions:
288
288
  </html>
289
289
 
290
290
  http_version:
291
- recorded_at: Wed, 11 Apr 2012 17:34:17 GMT
291
+ recorded_at: Thu, 12 Apr 2012 15:12:35 GMT
292
292
  recorded_with: VCR 2.0.1
@@ -18,7 +18,7 @@ http_interactions:
18
18
  Accept-Language:
19
19
  - en-us,en;q=0.5
20
20
  Cookie:
21
- - JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
21
+ - JSESSIONID=8C3D2F4728B757CCE97F3C32698E9008.test5e
22
22
  Host:
23
23
  - ca-test.adyen.com
24
24
  Connection:
@@ -31,7 +31,7 @@ http_interactions:
31
31
  message: OK
32
32
  headers:
33
33
  Date:
34
- - Wed, 11 Apr 2012 17:34:21 GMT
34
+ - Thu, 12 Apr 2012 15:12:43 GMT
35
35
  Server:
36
36
  - Apache
37
37
  Cache-Control:
@@ -193,7 +193,7 @@ http_interactions:
193
193
  </tr>
194
194
  <tr>
195
195
  <th class="row">Latest Version</th>
196
- <td>30</td>
196
+ <td>31</td>
197
197
  </tr>
198
198
  <tr>
199
199
  <td colspan="2">
@@ -219,7 +219,7 @@ http_interactions:
219
219
  If the version on Test is not the same as the Latest version, it will be published automatically. Note that there is a few minutes delay after modifying the skin before it is deployed on the Test Hosted Payment Pages. </div>
220
220
  </th>
221
221
  <td>
222
- <iframe src="https://test.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&amp;version=30" height="50" width="450"></iframe>
222
+ <iframe src="https://test.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&amp;version=31" height="50" width="450"></iframe>
223
223
  </td>
224
224
  </tr>
225
225
  <tr>
@@ -237,7 +237,7 @@ http_interactions:
237
237
  If the version on Live is not the same as the Latest version, you will have to Publish the Skin to Live via the Publish Tab. Note that there is a few minutes delay after publishing the skin before it is deployed on the Live Hosted Payment Pages. </div>
238
238
  </th>
239
239
  <td>
240
- <iframe src="https://live.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&amp;version=30" height="50" width="450"></iframe>
240
+ <iframe src="https://live.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&amp;version=31" height="50" width="450"></iframe>
241
241
  </td>
242
242
  </tr>
243
243
  <tr>
@@ -597,7 +597,7 @@ http_interactions:
597
597
  <tr>
598
598
  <th class="row">Merchant Reference</th>
599
599
  <td>
600
- <input type="text" name="merchantReference" value="SKINTEST-1334165661643" size="20" />
600
+ <input type="text" name="merchantReference" value="SKINTEST-1334243563369" size="20" />
601
601
  </td>
602
602
  </tr>
603
603
  <tr>
@@ -662,13 +662,13 @@ http_interactions:
662
662
  </html>
663
663
 
664
664
  http_version:
665
- recorded_at: Wed, 11 Apr 2012 17:34:21 GMT
665
+ recorded_at: Thu, 12 Apr 2012 15:12:43 GMT
666
666
  - request:
667
667
  method: post
668
668
  uri: https://ca-test.adyen.com/ca/ca/skin/testpayment.shtml
669
669
  body:
670
670
  encoding: UTF-8
671
- string: paymentAmount=199&currencyCode=EUR&countryCode=&shopperLocale=en_GB&merchantReference=SKINTEST-1334165661643&merchantAccount=SoundCloudCOM&system=test&skinCode=7hFAQnmt
671
+ string: paymentAmount=199&currencyCode=EUR&countryCode=&shopperLocale=en_GB&merchantReference=SKINTEST-1334243563369&merchantAccount=SoundCloudCOM&system=test&skinCode=7hFAQnmt
672
672
  headers:
673
673
  Accept:
674
674
  - "*/*"
@@ -681,7 +681,7 @@ http_interactions:
681
681
  Accept-Language:
682
682
  - en-us,en;q=0.5
683
683
  Cookie:
684
- - JSESSIONID=90A4E71B7C6A54FEF7409AB3B2BFB7D4.test5e
684
+ - JSESSIONID=8C3D2F4728B757CCE97F3C32698E9008.test5e
685
685
  Host:
686
686
  - ca-test.adyen.com
687
687
  Referer:
@@ -711,7 +711,7 @@ http_interactions:
711
711
  message: OK
712
712
  headers:
713
713
  Date:
714
- - Wed, 11 Apr 2012 17:34:21 GMT
714
+ - Thu, 12 Apr 2012 15:12:43 GMT
715
715
  Server:
716
716
  - Apache
717
717
  Cache-Control:
@@ -888,11 +888,11 @@ http_interactions:
888
888
  </tr>
889
889
  <tr>
890
890
  <th class="row">Signature String</th>
891
- <td>199EUR2012-04-17SKINTEST-13341656616437hFAQnmtSoundCloudCOM2012-04-11T18:04:21Z</td>
891
+ <td>199EUR2012-04-18SKINTEST-13342435633697hFAQnmtSoundCloudCOM2012-04-12T15:42:43Z</td>
892
892
  </tr>
893
893
  <tr>
894
894
  <th class="row">HMAC Signature</th>
895
- <td>7TdU3ba2fa4NZJezgYuQv4UnUOQ=</td>
895
+ <td>fO1gOwHYMrpYm21rgss5cM3T2xY=</td>
896
896
  </tr>
897
897
  <tr>
898
898
  <td colspan="2">&nbsp;</td>
@@ -900,17 +900,17 @@ http_interactions:
900
900
  <tr>
901
901
  <td colspan="2">
902
902
  <form action="https://test.adyen.com/hpp/select.shtml" method="post" id="paymentform" target="myNewWin" onsubmit="return formValidate(this);">
903
- <input type="hidden" name="merchantSig" value="7TdU3ba2fa4NZJezgYuQv4UnUOQ=" />
904
- <input type="hidden" name="merchantReference" value="SKINTEST-1334165661643" />
903
+ <input type="hidden" name="merchantSig" value="fO1gOwHYMrpYm21rgss5cM3T2xY=" />
904
+ <input type="hidden" name="merchantReference" value="SKINTEST-1334243563369" />
905
905
  <input type="hidden" name="paymentAmount" value="199" />
906
906
  <input type="hidden" name="currencyCode" value="EUR" />
907
- <input type="hidden" name="shipBeforeDate" value="2012-04-17" />
907
+ <input type="hidden" name="shipBeforeDate" value="2012-04-18" />
908
908
  <input type="hidden" name="merchantAccount" value="SoundCloudCOM" />
909
909
 
910
910
 
911
911
 
912
912
  <input type="hidden" name="shopperLocale" value="en_GB" />
913
- <input type="hidden" name="sessionValidity" value="2012-04-11T18:04:21Z" />
913
+ <input type="hidden" name="sessionValidity" value="2012-04-12T15:42:43Z" />
914
914
  <input type="hidden" name="countryCode" value="" />
915
915
 
916
916
  <input type="hidden" name="skinCode" value="7hFAQnmt" />
@@ -937,5 +937,5 @@ http_interactions:
937
937
  </html>
938
938
 
939
939
  http_version:
940
- recorded_at: Wed, 11 Apr 2012 17:34:21 GMT
940
+ recorded_at: Thu, 12 Apr 2012 15:12:43 GMT
941
941
  recorded_with: VCR 2.0.1