thecore_ui_commons 3.2.11 → 3.2.13

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: 436700a7ac634067d13f13d1ce70eaffecf5b442c72a05213c2eb9fe1b28b35a
4
- data.tar.gz: 5c1e5ae1061946bc19c8e1a3b750ade89fad9c2439327d885ff74e2c5977cabb
3
+ metadata.gz: 76b2970fcaba49874b7b27cfcf3ad596f96c092738daff990f596b153c0d7d07
4
+ data.tar.gz: 01dc6fcc3a0c5d921339ef741d239691b504730f2188c5779c62db014146c1f9
5
5
  SHA512:
6
- metadata.gz: 755a9b61adca105e7a16c30c62d74d9f7b6c395546d34072431bc6073dd3bf72a5f913bf6698849b6a51d2c990a904e3381bc4a62ad5518994372d1448e3f41b
7
- data.tar.gz: f5a788285e5994a589f1e6aaf7f901eb3df8f9cfb523398dc2278f716f824a0fd7b18a81b7f27ecb1e4979b65adbf856a072b0d800aad457d49a1ffc6cbca9a7
6
+ metadata.gz: eaaecc4cb6ab720ea475e117b9e7feb9aa5cedbc197693fa3988b55551d474ff22f367036123252de7fd4a04d2fb86ec7b14275d8af7bfd24226e7384e9b8047
7
+ data.tar.gz: e948ff624e66772b1e3dec02fcc8360e19199336f8dd14a4d43094359e07e336e4964f0c1e36271dbf54617f695fa55417ccaacb330dfc6e3e8859c06f85efa3
@@ -3,6 +3,6 @@ class InfoController < ApplicationController
3
3
  layout 'swagger'
4
4
  def swagger
5
5
  uri = URI(request.url)
6
- @swagger_json_url = "#{uri.scheme}://#{uri.host}#{":#{uri.port}" if uri.port.present?}/api/v2/info/swagger.json"
6
+ @swagger_json_url = "#{uri.scheme}://#{uri.host}#{":#{uri.port}" if uri.port.present?}#{ENV.fetch("RAILS_RELATIVE_URL_ROOT", "")}/api/v2/info/swagger.json"
7
7
  end
8
8
  end
@@ -1,5 +1,5 @@
1
1
  <meta charset="UTF-8">
2
- <meta name="apple-mobile-web-app-capable" content="yes">
2
+ <meta name="mobile-web-app-capable " content="yes">
3
3
  <meta name="viewport" content="width=device-width, initial-scale=1">
4
4
  <title><%= Settings.app_name rescue "Thecore" %></title>
5
5
  <link rel="icon" type="image/x-icon" href="<%= image_path 'favicon.ico' %>">
data/config/routes.rb CHANGED
@@ -1,8 +1,10 @@
1
1
  Rails.application.routes.draw do
2
- devise_for :users
3
- devise_scope :user do
4
- root to: "devise/sessions#new"
5
- end
2
+ scope ENV.fetch("RAILS_RELATIVE_URL_ROOT", "/") do
3
+ devise_for :users
4
+ devise_scope :user do
5
+ root to: "devise/sessions#new"
6
+ end
6
7
 
7
- get '/info/swagger', to: 'info#swagger'
8
+ get '/info/swagger', to: 'info#swagger'
9
+ end
8
10
  end
@@ -1,3 +1,3 @@
1
1
  module ThecoreUiCommons
2
- VERSION = "3.2.11".freeze
2
+ VERSION = "3.2.13".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thecore_ui_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.11
4
+ version: 3.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gabriele Tassoni
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-30 00:00:00.000000000 Z
10
+ date: 2025-01-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: thecore_backend_commons
@@ -159,7 +158,6 @@ metadata:
159
158
  homepage_uri: https://github.com/gabrieletassoni/thecore_ui_commons
160
159
  source_code_uri: https://github.com/gabrieletassoni/thecore_ui_commons
161
160
  changelog_uri: https://github.com/gabrieletassoni/thecore_ui_commons/blob/master/CHANGELOG.md
162
- post_install_message:
163
161
  rdoc_options: []
164
162
  require_paths:
165
163
  - lib
@@ -174,8 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
174
172
  - !ruby/object:Gem::Version
175
173
  version: '0'
176
174
  requirements: []
177
- rubygems_version: 3.5.16
178
- signing_key:
175
+ rubygems_version: 3.6.2
179
176
  specification_version: 4
180
177
  summary: Common artifacts for the UIs.
181
178
  test_files: []