platidoma 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -39,7 +39,7 @@ module Platidoma
39
39
  uri = ::Addressable::URI.new
40
40
  uri.query_values = params
41
41
 
42
- "#{url}?#{uri.query}"
42
+ "https://#{Platidoma.configuration.host}?#{uri.query}"
43
43
 
44
44
  end
45
45
 
@@ -1,3 +1,3 @@
1
1
  module Platidoma
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -34,7 +34,7 @@ class ClientTest < TestCase
34
34
  }
35
35
 
36
36
  url = @client.build_payment_url params
37
- expected_url = "?pd_amount=1.00&pd_email=email&pd_login=test&pd_order_id=1&pd_rnd=rnd&pd_shop_id=1&pd_sign=sign"
37
+ expected_url = "https://#{Platidoma.configuration.host}?pd_amount=1.00&pd_email=email&pd_login=test&pd_order_id=1&pd_rnd=rnd&pd_shop_id=1&pd_sign=sign"
38
38
  assert_equal expected_url, url
39
39
 
40
40
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platidoma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: