thecore_ui_commons 2.5.0 → 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
- data/lib/thecore_ui_commons.rb +2 -2
- metadata +2 -31
- 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
|
data/lib/thecore_ui_commons.rb
CHANGED
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
|
@@ -66,34 +66,6 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.1'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: cairo
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '1.17'
|
76
|
-
type: :runtime
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '1.17'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: poppler
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '3.4'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '3.4'
|
97
69
|
- !ruby/object:Gem::Dependency
|
98
70
|
name: image_processing
|
99
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -132,7 +104,6 @@ files:
|
|
132
104
|
- app/assets/images/up-arrow.png
|
133
105
|
- app/assets/javascripts/browserconfig.xml
|
134
106
|
- app/assets/javascripts/ie.js
|
135
|
-
- app/assets/javascripts/manifest.json
|
136
107
|
- app/assets/javascripts/pages.coffee
|
137
108
|
- app/assets/javascripts/thecore_ui_commons/thecore-devise.js
|
138
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
|
-
}
|