thecore_ui_commons 2.5.1 → 2.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/application_controller.rb +8 -0
- metadata +2 -3
- data/app/assets/javascripts/manifest.json +0 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1701240181701fa0f4611385a02d630a72aac79ee844a83536c79470a3177f21
|
4
|
+
data.tar.gz: 7ea8ff19a579c869f0a681ef5ed03cd0fd3741af64d9e375bf13f7fdcbe98a26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7811d1d572e4cffb6b7787fb982710bef24af58e8212d9cedbcbc37192b3b52e7b05750879273e01a75df4baf44e63462d3135f3394be768b44d42f4fb7c2be
|
7
|
+
data.tar.gz: c4f6da48e33347ac890cd0b167be718be3e7a6b753d228faddb2838e3533ac9117fdee50a1342316114620f99c827716dadd01d1b9417dd632a8774378cbb600
|
@@ -1,2 +1,10 @@
|
|
1
1
|
class ApplicationController < ActionController::Base
|
2
|
+
before_action :setup_white_label
|
3
|
+
|
4
|
+
private
|
5
|
+
|
6
|
+
def setup_white_label
|
7
|
+
# Somewhat white label support
|
8
|
+
prepend_view_path(["vendor/custombuilds/#{ENV['COMPOSE_PROJECT_NAME']}.#{ENV['BASE_DOMAIN']}/deltas/app/views"]) if ENV['COMPOSE_PROJECT_NAME'].present? && ENV['BASE_DOMAIN'].present?
|
9
|
+
end
|
2
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thecore_ui_commons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriele Tassoni
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_background_jobs
|
@@ -104,7 +104,6 @@ files:
|
|
104
104
|
- app/assets/images/up-arrow.png
|
105
105
|
- app/assets/javascripts/browserconfig.xml
|
106
106
|
- app/assets/javascripts/ie.js
|
107
|
-
- app/assets/javascripts/manifest.json
|
108
107
|
- app/assets/javascripts/pages.coffee
|
109
108
|
- app/assets/javascripts/thecore_ui_commons/thecore-devise.js
|
110
109
|
- app/assets/javascripts/thecore_ui_commons/thecore.js
|
@@ -1,21 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"short_name": "TheCore",
|
3
|
-
"icons": [
|
4
|
-
{
|
5
|
-
"src": "<%= image_path 'android-chrome-192x192.png' %>",
|
6
|
-
"sizes": "192x192",
|
7
|
-
"type": "image/png"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"src": "<%= image_path 'android-chrome-512x512.png' %>",
|
11
|
-
"sizes": "512x512",
|
12
|
-
"type": "image/png"
|
13
|
-
}
|
14
|
-
],
|
15
|
-
"name": "Gabriele Tassoni's TheCore",
|
16
|
-
"theme_color": "#3b4e59",
|
17
|
-
"background_color": "#3b4e59",
|
18
|
-
"orientation": "portrait",
|
19
|
-
"display": "standalone",
|
20
|
-
"optional_permissions": ["clipboardWrite", "clipboardRead"]
|
21
|
-
}
|