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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 212e4cd4aa943208d81ba347026aaa045deb4fcd20d534193fde6aef4b366724
4
- data.tar.gz: c45f1447234f187bdb487ddd34a900ece259e2b94e2717c0c7709cca39a23945
3
+ metadata.gz: 1701240181701fa0f4611385a02d630a72aac79ee844a83536c79470a3177f21
4
+ data.tar.gz: 7ea8ff19a579c869f0a681ef5ed03cd0fd3741af64d9e375bf13f7fdcbe98a26
5
5
  SHA512:
6
- metadata.gz: fcd378cdc12ff916f9cc5d5af9eaa4b64b77c778cafdcb033f1b614a18c17fb08a6e72b66e8dca738c2aa04f9de3dac7cc3c4bfc4cec2c441a75aa0525cff3bb
7
- data.tar.gz: 4343a2fc4fe4c37a34cfdcfc64cbea39ed09f803d86f3dc6a1fe062d4b4b79f3b182cbef87af0c3c2ab5728f248ef92bb0db74eea9ffb51b708babdad8b11027
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
@@ -4,8 +4,8 @@ require 'serviceworker-rails'
4
4
  require "groupdate"
5
5
  require "apexcharts"
6
6
  # require "gtk3"
7
- require "cairo"
8
- require "poppler"
7
+ # require "cairo"
8
+ # require "poppler"
9
9
  require "image_processing"
10
10
 
11
11
  require 'concerns/thecore_ui_commons_user'
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.0
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-02-11 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
@@ -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
- }