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 +4 -4
- data/app/controllers/info_controller.rb +1 -1
- data/app/views/layouts/_head.html.erb +1 -1
- data/config/routes.rb +7 -5
- data/lib/thecore_ui_commons/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76b2970fcaba49874b7b27cfcf3ad596f96c092738daff990f596b153c0d7d07
|
4
|
+
data.tar.gz: 01dc6fcc3a0c5d921339ef741d239691b504730f2188c5779c62db014146c1f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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="
|
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
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
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
|
-
|
8
|
+
get '/info/swagger', to: 'info#swagger'
|
9
|
+
end
|
8
10
|
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.
|
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:
|
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.
|
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: []
|