mlins-google-checkout 0.0.2 → 0.0.3

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/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  major: 0
3
- patch: 2
3
+ patch: 3
4
4
  minor: 0
@@ -294,8 +294,10 @@ module GoogleCheckout
294
294
  subdir = "checkout/"
295
295
  end
296
296
 
297
+ protocol = opts[:https] ? 'https' : 'http'
298
+
297
299
  # TODO Use /checkout/buttons/checkout.gif if in sandbox.
298
- "http://#{submit_domain}/#{ subdir }buttons/#{bname}?#{path}"
300
+ "#{protocol}://#{submit_domain}/#{ subdir }buttons/#{bname}?#{path}"
299
301
  end
300
302
  end
301
303
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mlins-google-checkout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Elmore
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2008-12-12 00:00:00 -08:00
14
+ date: 2009-01-07 00:00:00 -08:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency