payola-payments 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/javascripts/payola/checkout_button.js +5 -4
- data/app/services/payola/charge_card.rb +4 -2
- data/app/views/payola/receipt_mailer/receipt.html.erb +2 -0
- data/app/views/payola/receipt_mailer/receipt.text.erb +3 -1
- data/app/views/payola/transactions/_checkout.html.erb +5 -1
- data/lib/payola.rb +2 -0
- data/lib/payola/version.rb +1 -1
- data/spec/dummy/log/test.log +1244 -0
- data/spec/payola_spec.rb +7 -0
- metadata +2 -2
data/spec/payola_spec.rb
CHANGED
@@ -129,4 +129,11 @@ module Payola
|
|
129
129
|
expect(Payola.publishable_key_for_sale('blah')).to eq 'foo'
|
130
130
|
end
|
131
131
|
end
|
132
|
+
|
133
|
+
describe '#additional_charge_attributes' do
|
134
|
+
it "should return a hash" do
|
135
|
+
sale = double
|
136
|
+
expect(Payola.additional_charge_attributes.call(sale)).to eq({})
|
137
|
+
end
|
138
|
+
end
|
132
139
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: payola-payments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Keen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|