glib-web 0.0.22 → 0.0.23

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
  SHA256:
3
- metadata.gz: 83e7c1dd936a426102434b1da1aee139a2ffcd8f511cc5f438de696bbd05b77e
4
- data.tar.gz: c435b4b59871d16c33dc0eaafcf8da9cd4ce6e630e7652505ecce0d9891823f3
3
+ metadata.gz: 3c09328c452d79c62455066bb59bf06256c26ee2afe268f03ccfafcfa57f9b99
4
+ data.tar.gz: b8eafbcdd5befc44faddfc68d017a9605f2d972748c06cacb343380a4c07e4a3
5
5
  SHA512:
6
- metadata.gz: 0a5545a70b3afb3ab884abca28cdf1ef8eb561b596da63c61d756bce76acae835091b6ff6039f884f99e17e4549c0eda921ce54702a3c6f255ed2ae26f087850
7
- data.tar.gz: f841a232c859a706f65b12168658795a1f50aa49b10cd14361513020fcb49fbf83860b1ef8a44d594274154eeef9966529e842ef4c45f2d8e6dbef36c6ad02fc
6
+ metadata.gz: c9daa8b2f96fceb227588ac0e346e5a752fb9d08d818ee627f33971fabd10eb4e6c92b0248252a8f97a5f5d548f55d3f790f13ee2f1f0e67f51707ec684a58c4
7
+ data.tar.gz: 68ab224034c17978d9ee2ba7090b5d96a1ab3c06e0b007aa0e26669b9ea8c5dbbb213655fe15102d9f5ec8578408d7c62e1bd8cdb1a04497428ac3ea463c2a2e
@@ -12,8 +12,9 @@ module Glib
12
12
 
13
13
  def json_ui_garage_url(options = {})
14
14
  Glib::Web::Engine.routes.url_helpers.json_ui_garage_url(options.merge(
15
- host: request.host,
16
- port: request.port,
15
+ protocol: (Rails.application.config.force_ssl ? 'https' : 'http'),
16
+ host: request.host,
17
+ port: request.port,
17
18
  _render: params[:_render], format: params[:format])
18
19
  )
19
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glib-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''