radiant-ecom_engine-extension 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d35818d562cc2d698212d7093e6daf5a9ac2f23b
4
- data.tar.gz: c4d962886d7aa23ea22001229b25194209656ac5
3
+ metadata.gz: 60ba975353adff587bb8f1e603d631127047bd30
4
+ data.tar.gz: fc26d9c0bc11af5419269f38fb28e2b07509d579
5
5
  SHA512:
6
- metadata.gz: 4987b067628212066a4a17a7cbadc40846dcdee9408373c637464650bcec678c1da97a1a559e0c5353312d3201da4dc394333f2cfe2093052b65569242dc91da
7
- data.tar.gz: 4dfc816b5268388f9d0521f4c035083cce15f9d86479eb7241cf0f95b45f5d6a4a2bec8f706c1d0eed3b8ee29ff8bd5ea80ae2b086610dcef2dc803ca5b582d9
6
+ metadata.gz: 4d7216e7dc3759230e44b492510ddeb3f9ba54f4e90082292b65364a2a1211415cd7744211290d7b35b1afc3162501fd2d32014a94ce07a53e26db4efda9a344
7
+ data.tar.gz: 5401cf038c273f7dd14f41e6c11fca87c997af42198f6c1122a9249988ab6ed17cceff3c488b95783bee39943e8e6679ecece082b14d13dc4a56f80a82f2bd65
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ /*.gem
data/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
  +This changelog adheres to [Keep a
5
5
  CHANGELOG](http://keepachangelog.com/).
6
6
 
7
+ ## 0.3.1
8
+
9
+ ### Changed
10
+ - [TT-2781] Address the issue with HTTPS
11
+
7
12
  ## 0.3.0
8
13
 
9
14
  ### Added
@@ -24,7 +24,10 @@ class EcomEngine::Version
24
24
  end
25
25
 
26
26
  def version_response
27
- Net::HTTP.get_response URI.parse(version_url)
27
+ uri = URI.parse(version_url)
28
+ http = Net::HTTP.new(uri.host, uri.port)
29
+ http.use_ssl = uri.scheme == 'https'
30
+ http.get uri.request_uri
28
31
  end
29
32
 
30
33
  def version_url
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "radiant-ecom_engine-extension"
3
- spec.version = '0.3.0'
3
+ spec.version = '0.3.1'
4
4
  spec.authors = ["Michael Noack"]
5
5
  spec.email = ["support@travellink.com.au"]
6
6
  spec.description = %q{Integrate ecom engine with radiant}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-ecom_engine-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
@@ -73,6 +73,7 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - ".gitignore"
76
77
  - CHANGELOG.md
77
78
  - Rakefile
78
79
  - app/controllers/page_mount_controller.rb