radiant-ecom_engine-extension 0.4.0 → 0.5.0

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: 07f283cef4ea1a6d8e7bdb4991e18869831f7a03
4
- data.tar.gz: 13aba7d666aa4a898ea116cdedbc4aca6d9b3f7a
3
+ metadata.gz: ce9a1bdcd23dbfc200d40324c464e3bd217c9354
4
+ data.tar.gz: 56bfa97b412c5a15749334d17a6feffc479408bf
5
5
  SHA512:
6
- metadata.gz: aed3725a2bb59a35391e4563a2e0def9397789e511e34ec374994ac07310b3ceea751ef32b8fdc4cfeed8e2301b88afb3bb84c7d35b039ba817d2dc5508dac65
7
- data.tar.gz: ac9426fd96e8382a5b59e67caf1752cfbd0713698f502538d7cad88f403569864e1f39f8e3cf054a35d7b96e5508c115aeff30a4eccbb920b202cd061fa5a2ae
6
+ metadata.gz: 5596fffd863b23bced8734eef7f0663e2599a099ee2b047fe6e1bc2b0ba877e6549733d783d536e87af6fcc75f796757ddfea38719c314192daaebf5ac10ea66
7
+ data.tar.gz: a560df966a45220997538e88d7277910b1661ef20b600831d284d71be41f3e2eefd80ad0d182c815ce751676172e8631c2712c2d50c7eda2b4dfcc6a203973b5
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -4,6 +4,13 @@
4
4
  +This changelog adheres to [Keep a
5
5
  CHANGELOG](http://keepachangelog.com/).
6
6
 
7
+ ## 0.5.0
8
+
9
+ ### Fixed
10
+ - [TT-3116] Fix case where scheme (http/https) not in ecom engine host
11
+ - [ROT-44] Manually serialise the payload parameters so we get a format that
12
+ is compatible with rails (when using nested arrays)
13
+
7
14
  ## 0.4.0
8
15
 
9
16
  ### Added
@@ -21,7 +21,7 @@ class RequestProxy
21
21
  cookies: @cookies,
22
22
  headers: headers_for_booking_app,
23
23
  }
24
- options[:payload] = @data unless http_get?
24
+ options[:payload] = Rack::Utils.build_nested_query(@data) unless http_get?
25
25
 
26
26
  RestClient::Request.execute(options) do |response, _request, _result, &_block|
27
27
  WrappedResponse.new(response)
@@ -12,6 +12,7 @@ module ScriptTags
12
12
  tag 'ee_bundle_tag' do |tag|
13
13
  bundle_url = PageMountCalculator.new(@request).ecom_engine_url + "/app_cells?name=header/#{tag.attr['name']}"
14
14
  uri = URI.parse(bundle_url)
15
+ fail ArgumentError, "web site host must contain http/https" unless %w(https http).include?(uri.scheme)
15
16
  http = Net::HTTP.new(uri.host, uri.port)
16
17
  http.use_ssl = uri.scheme == 'https'
17
18
  response = http.get uri.request_uri
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "radiant-ecom_engine-extension"
3
- spec.version = '0.4.0'
3
+ spec.version = '0.5.0'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-ecom_engine-extension
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Noack
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-12 00:00:00.000000000 Z
11
+ date: 2017-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: radius
@@ -74,6 +74,7 @@ extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
+ - ".ruby-version"
77
78
  - CHANGELOG.md
78
79
  - Rakefile
79
80
  - app/controllers/page_mount_controller.rb
@@ -105,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
106
  version: '0'
106
107
  requirements: []
107
108
  rubyforge_project:
108
- rubygems_version: 2.4.5.1
109
+ rubygems_version: 2.6.8
109
110
  signing_key:
110
111
  specification_version: 4
111
112
  summary: Integrate ecom engine with radiant