spree_bitcoin_checkout 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ CheckoutController.class_eval do
|
|
27
27
|
user = order.payments.first.payment_method.preferred_user
|
28
28
|
password = order.payments.first.payment_method.preferred_password
|
29
29
|
|
30
|
-
uri = URI.parse(
|
30
|
+
uri = URI.parse(order.payments.first.payment_method.preferred_api_url)
|
31
31
|
http = Net::HTTP.new(uri.host, uri.port)
|
32
32
|
http.use_ssl = true
|
33
33
|
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
data/config/routes.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.platform = Gem::Platform::RUBY
|
3
3
|
s.name = 'spree_bitcoin_checkout'
|
4
|
-
s.version = '0.1'
|
4
|
+
s.version = '0.1.1'
|
5
5
|
s.summary = "Automatically integrate bitcoin-central.net's API"
|
6
6
|
s.description = 'Leverages the invoicing API in order to seamlessly accept bitcoin denominated payments'
|
7
7
|
s.required_ruby_version = '>= 1.8.7'
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spree_bitcoin_checkout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
|
9
|
+
- 1
|
10
|
+
version: 0.1.1
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- David FRANCOIS
|