thecore_ui_commons 2.2.7 → 2.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/thecore_ui_commons/thecore.js +9 -0
- data/app/assets/stylesheets/thecore_ui_commons/thecore.scss +9 -0
- data/app/views/devise/sessions/new.html.erb +1 -1
- data/app/views/layouts/thecore.html.erb +1 -1
- data/db/seeds.rb +3 -0
- data/lib/concerns/thecore_ui_commons_user.rb +1 -1
- data/lib/thecore_ui_commons.rb +2 -0
- data/lib/thecore_ui_commons/engine.rb +3 -0
- data/lib/thecore_ui_commons/version.rb +1 -1
- metadata +17 -3
- data/db/migrate/20210208142646_add_settings_for_uploader.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a847b2360a8eb2635422066052787ebdcfeaa3ab9bf086a02a83ee42875fe2d
|
4
|
+
data.tar.gz: abb094253c9e0cb3fafdc7f0cb567892ad63f8b7b65cc438d8e80d3b25c9c064
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3974e204710d5ce1bc306409124c1f09abf3fc5aa55acc988489a77b0be6c6e7cca9b44cab3cd398a17ef9d48434e6da7f31c8bb50dee7bb3fcf2013c144cf9f
|
7
|
+
data.tar.gz: bfb280e8541ba96732e35a67ef528c2beadea94f6bd72d7dec7f6a8bf450e6856d3a6a4d6c6c08b77ea1b4863cbbfe7d23f12e38ac2c9888f3e5aefbd6955164
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="col-md-4 col-md-offset-4">
|
1
|
+
<div class="col-md-4 col-md-offset-4" id="login-form">
|
2
2
|
<%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %>
|
3
3
|
<div class="field">
|
4
4
|
<%= f.text_field :login, autofocus: true, :class => "form-control", placeholder: t("devise.sessions.new.login") %>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<div class="col-md-4 col-md-offset-4 text-center">
|
32
32
|
<img class="main-menu-app-logo" style="width: 25%; max-width: 152px" src="<%= image_url('logo.png') %>"/>
|
33
33
|
</div>
|
34
|
-
<%- unless flash.
|
34
|
+
<%- unless flash.blank? %>
|
35
35
|
<div class="col-md-4 col-md-offset-4" style="margin-top: 1em;">
|
36
36
|
<%= render partial: 'shared/flash' %>
|
37
37
|
</div>
|
data/db/seeds.rb
ADDED
data/lib/thecore_ui_commons.rb
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
module ThecoreUiCommons
|
2
2
|
class Engine < ::Rails::Engine
|
3
3
|
initializer 'thecore_ui_commons.add_to_migrations' do |app|
|
4
|
+
# Adds the list of Thecore Engines, so to manage seeds loading, i.e.:
|
5
|
+
# Thecore::Base.thecore_engines.each { |engine| engine.load_seed }
|
6
|
+
Thecore::Base.thecore_engines << self.class
|
4
7
|
unless app.root.to_s.match root.to_s
|
5
8
|
# APPEND TO MAIN APP MIGRATIONS FROM THIS GEM
|
6
9
|
config.paths['db/migrate'].expanded.each do |expanded_path|
|
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.2
|
4
|
+
version: 2.3.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: 2021-
|
11
|
+
date: 2021-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thecore_background_jobs
|
@@ -66,6 +66,20 @@ 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'
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: poppler
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -166,7 +180,7 @@ files:
|
|
166
180
|
- config/routes.rb
|
167
181
|
- db/migrate/20200515070620_add_username_to_user.rb
|
168
182
|
- db/migrate/20200515132932_add_rememberable_to_user.rb
|
169
|
-
- db/
|
183
|
+
- db/seeds.rb
|
170
184
|
- lib/concerns/thecore_ui_commons_user.rb
|
171
185
|
- lib/tasks/thecore_ui_commons_tasks.rake
|
172
186
|
- lib/thecore_ui_commons.rb
|