adyen-admin 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.md +1 -3
- data/README.md +10 -2
- data/VERSION +1 -1
- data/lib/adyen-admin/skin.rb +5 -5
- data/spec/adyen-admin/skin_spec.rb +39 -17
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_get/raises_authenticated_error_when_not_logged_in.yml +9 -9
- data/spec/fixtures/cassettes/Adyen_Admin_Client/_login/passes_with_correct_username_password.yml +35 -35
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/freezes_local_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all/returns_the_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/returns_the_skins.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_all_remote/sets_local_path.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_decompile/new_remote_skin/downloads_and_decompiles_skin.yml +537 -0
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/gets_the_file.yml +65 -65
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_download/is_a_zipfile.yml +65 -65
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_no_skin.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_find/returns_the_skin.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml +16 -16
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_upload/valid_set/increases_version.yml +103 -93
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_live_value.yml +4 -4
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_test_value.yml +3 -3
- data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_version/returns_uploaded_value.yml +4 -4
- data/spec/fixtures/cassettes/login.yml +34 -34
- metadata +17 -15
data/spec/fixtures/cassettes/Adyen_Admin_Skin/authenticated/_test_url/returns_url_to_test.yml
CHANGED
@@ -18,7 +18,7 @@ http_interactions:
|
|
18
18
|
Accept-Language:
|
19
19
|
- en-us,en;q=0.5
|
20
20
|
Cookie:
|
21
|
-
- JSESSIONID=
|
21
|
+
- JSESSIONID=BBA383BAB63B4A2D7A65D7989DB9AC63.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
|
-
- Thu, 12 Apr 2012
|
34
|
+
- Thu, 12 Apr 2012 16:00:38 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>
|
196
|
+
<td>37</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&version=
|
222
|
+
<iframe src="https://test.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&version=37" 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&version=
|
240
|
+
<iframe src="https://live.adyen.com/hpp/version.shtml?skinCode=7hFAQnmt&version=37" 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-
|
600
|
+
<input type="text" name="merchantReference" value="SKINTEST-1334246438246" 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: Thu, 12 Apr 2012
|
665
|
+
recorded_at: Thu, 12 Apr 2012 16:00:38 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¤cyCode=EUR&countryCode=&shopperLocale=en_GB&merchantReference=SKINTEST-
|
671
|
+
string: paymentAmount=199¤cyCode=EUR&countryCode=&shopperLocale=en_GB&merchantReference=SKINTEST-1334246438246&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=
|
684
|
+
- JSESSIONID=BBA383BAB63B4A2D7A65D7989DB9AC63.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
|
-
- Thu, 12 Apr 2012
|
714
|
+
- Thu, 12 Apr 2012 16:00:38 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-18SKINTEST-
|
891
|
+
<td>199EUR2012-04-18SKINTEST-13342464382467hFAQnmtSoundCloudCOM2012-04-12T16:30:38Z</td>
|
892
892
|
</tr>
|
893
893
|
<tr>
|
894
894
|
<th class="row">HMAC Signature</th>
|
895
|
-
<td>
|
895
|
+
<td>6yp+4mSFNQ9YTQTD+0XA69Aj4BM=</td>
|
896
896
|
</tr>
|
897
897
|
<tr>
|
898
898
|
<td colspan="2"> </td>
|
@@ -900,8 +900,8 @@ 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="
|
904
|
-
<input type="hidden" name="merchantReference" value="SKINTEST-
|
903
|
+
<input type="hidden" name="merchantSig" value="6yp+4mSFNQ9YTQTD+0XA69Aj4BM=" />
|
904
|
+
<input type="hidden" name="merchantReference" value="SKINTEST-1334246438246" />
|
905
905
|
<input type="hidden" name="paymentAmount" value="199" />
|
906
906
|
<input type="hidden" name="currencyCode" value="EUR" />
|
907
907
|
<input type="hidden" name="shipBeforeDate" value="2012-04-18" />
|
@@ -910,7 +910,7 @@ http_interactions:
|
|
910
910
|
|
911
911
|
|
912
912
|
<input type="hidden" name="shopperLocale" value="en_GB" />
|
913
|
-
<input type="hidden" name="sessionValidity" value="2012-04-
|
913
|
+
<input type="hidden" name="sessionValidity" value="2012-04-12T16:30:38Z" />
|
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: Thu, 12 Apr 2012
|
940
|
+
recorded_at: Thu, 12 Apr 2012 16:00:38 GMT
|
941
941
|
recorded_with: VCR 2.0.1
|