jonathantron-paypal 3.0.0pre1 → 3.0.0pre2
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/lib/paypal/helpers/common.rb +1 -1
- data/lib/paypal/version.rb +1 -1
- data/spec/helpers/common_spec.rb +1 -1
- metadata +3 -3
@@ -154,7 +154,7 @@ module Paypal
|
|
154
154
|
|
155
155
|
# The command for encrypted forms is always '_s-xclick'; the real command is in the encrypted data.
|
156
156
|
buttons << %Q{<input type="hidden" name="cmd" value="_s-xclick" />}
|
157
|
-
buttons << %Q{<input type="hidden" name="
|
157
|
+
buttons << %Q{<input type="hidden" name="encrypted" value="#{encrypted}" />}
|
158
158
|
else
|
159
159
|
# Just emit all the parameters that we have as hidden fields.
|
160
160
|
# Note that the sorting isn't really needed, but it makes testing a lot easier for now.
|
data/lib/paypal/version.rb
CHANGED
data/spec/helpers/common_spec.rb
CHANGED
@@ -41,7 +41,7 @@ describe Paypal::Helpers::Common do
|
|
41
41
|
@result.should have_css("input[type=hidden][name=cmd][value=_s-xclick]")
|
42
42
|
end
|
43
43
|
it "should include cmd with encrypted datas" do
|
44
|
-
@result.should have_css("input[type=hidden][name=
|
44
|
+
@result.should have_css("input[type=hidden][name=encrypted][value*=PKCS7]")
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 3
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 3.0.
|
8
|
+
- 0pre2
|
9
|
+
version: 3.0.0pre2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jonathan Tron
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-04-
|
19
|
+
date: 2010-04-21 00:00:00 +02:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|