beyond_canvas 0.19.1.pre → 0.19.2.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/beyond_canvas/components/_grids.scss +2 -2
- data/app/assets/stylesheets/beyond_canvas/components/_texts.scss +8 -0
- data/app/controllers/beyond_canvas/application_controller.rb +1 -0
- data/app/helpers/beyond_canvas/controller_helper.rb +9 -0
- data/lib/beyond_canvas/engine.rb +1 -4
- data/lib/beyond_canvas/version.rb +1 -1
- data/lib/generators/beyond_canvas/controller/controller_generator.rb +1 -5
- data/lib/generators/beyond_canvas/controller/templates/{controller.erb → shops_controller.rb} +1 -1
- data/lib/generators/beyond_canvas/install/templates/beyond_canvas.rb.erb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e521c2269619436efc6e760472ab605213b315b3f14462661a65db7a615a93c
|
4
|
+
data.tar.gz: 146a2408feda96383da8def8d2647abd8b003e5dcef55a7b439325c4b1f38832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34478929f6d039be913f94e7f9ce74544d0481534a8f3e25649ed4daed4f9f677e4b028835263f65e97066f76104b13aa92d8dd7d5ed520425de88d08f6e0df2
|
7
|
+
data.tar.gz: e434787b9ff264aa0a661b5c2d35fcb311ba199bdfec9408965a57e32118941ab0fb3d1564b2de5c02d297b7711695091a432663a4aad1d5f9f65e0d0931ce6b
|
data/lib/beyond_canvas/engine.rb
CHANGED
@@ -24,13 +24,10 @@ module BeyondCanvas
|
|
24
24
|
include ::BeyondCanvas::StatusCodes
|
25
25
|
include ::BeyondCanvas::AuthenticationsHelper
|
26
26
|
include ::BeyondCanvas::DebugHelper
|
27
|
+
include ::BeyondCanvas::ControllerHelper
|
27
28
|
|
28
29
|
::ActionController::Base.helper BeyondCanvas::Engine.helpers
|
29
30
|
end
|
30
|
-
|
31
|
-
ActiveSupport.on_load :action_mailer do
|
32
|
-
layout 'beyond_canvas/mailer'
|
33
|
-
end
|
34
31
|
end
|
35
32
|
end
|
36
33
|
end
|
@@ -1,18 +1,14 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'rails/generators/active_record'
|
4
|
-
|
5
3
|
module BeyondCanvas
|
6
4
|
module Generators
|
7
5
|
class ControllerGenerator < Rails::Generators::Base # :nodoc:
|
8
6
|
desc 'Creates an inherited Beyond Canvas controller in the app/controllers folder'
|
9
7
|
|
10
|
-
argument :scope, required: true, desc: 'The scope to create the controller, e.g. shops, users'
|
11
|
-
|
12
8
|
source_root File.expand_path('templates', __dir__)
|
13
9
|
|
14
10
|
def create_controller
|
15
|
-
template '
|
11
|
+
template 'shops_controller.rb', "app/controllers/shops_controller.rb"
|
16
12
|
end
|
17
13
|
end
|
18
14
|
end
|
@@ -83,7 +83,7 @@ BeyondCanvas.setup do |config|
|
|
83
83
|
#
|
84
84
|
<% unless @skip_webpacker %># <% end %>config.skip_webpacker = <%= @skip_webpacker %>
|
85
85
|
|
86
|
-
# ==>
|
86
|
+
# ==> Database encryption
|
87
87
|
|
88
88
|
config.encryption_key = '<%= SecureRandom.hex(32) %>'
|
89
89
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beyond_canvas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.2.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Unai Abrisketa
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-11-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: attr_encrypted
|
@@ -275,6 +275,7 @@ files:
|
|
275
275
|
- app/helpers/beyond_canvas/application_helper.rb
|
276
276
|
- app/helpers/beyond_canvas/authentications_helper.rb
|
277
277
|
- app/helpers/beyond_canvas/cockpit_app_helper.rb
|
278
|
+
- app/helpers/beyond_canvas/controller_helper.rb
|
278
279
|
- app/helpers/beyond_canvas/debug_helper.rb
|
279
280
|
- app/helpers/beyond_canvas/locale_switch_helper.rb
|
280
281
|
- app/javascript/beyond_canvas/base.js
|
@@ -317,7 +318,7 @@ files:
|
|
317
318
|
- lib/generators/beyond_canvas/assets/templates/beyond_canvas.scss
|
318
319
|
- lib/generators/beyond_canvas/beyond_api/beyond_api_generator.rb
|
319
320
|
- lib/generators/beyond_canvas/controller/controller_generator.rb
|
320
|
-
- lib/generators/beyond_canvas/controller/templates/
|
321
|
+
- lib/generators/beyond_canvas/controller/templates/shops_controller.rb
|
321
322
|
- lib/generators/beyond_canvas/custom_menu/custom_menu_generator.rb
|
322
323
|
- lib/generators/beyond_canvas/custom_menu/templates/beyond_canvas_custom_menu.html.erb
|
323
324
|
- lib/generators/beyond_canvas/custom_styles/custom_styles_generator.rb
|