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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e57f659b463d58b75e44fea3ef459e7a300191d1d1d4d1d095f1a2dc392d5a0
4
- data.tar.gz: 0fe12b26b289145cb76633209bd978611c9394708c9906db8fc85928536bc378
3
+ metadata.gz: 1701240181701fa0f4611385a02d630a72aac79ee844a83536c79470a3177f21
4
+ data.tar.gz: 7ea8ff19a579c869f0a681ef5ed03cd0fd3741af64d9e375bf13f7fdcbe98a26
5
5
  SHA512:
6
- metadata.gz: 105f24afd80900480171e86cfced012c0467034276a8e8849feac53ff7c00337747dcf7e08c70744d8e181543cc384f5e6e95c9b2d03e0dacbc35c973f51da15
7
- data.tar.gz: 073ae05127f7d8a0c4fe5e2a1226befa37e86e105a9ca8c9b38de6cc5c0e468f744f61372fe1f380f8068bd4fbb19d42d50890a5cf4f6f9b0bcf3f5db3335f12
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.1
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-03-24 00:00:00.000000000 Z
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
- }