kowl 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/kowl/generators/config_generator.rb +0 -5
- data/lib/kowl/templates/Gemfile.erb.tt +1 -1
- data/lib/kowl/templates/app/dashboards/login_activity_dashboard.rb.tt +1 -2
- data/lib/kowl/version.rb +1 -1
- metadata +2 -3
- data/lib/kowl/templates/config/initializers/administrate.rb.tt +0 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 67dd16dd0eb2303fe953c25ae807fa6a1fa169e8139569a825ea22cc0598bd73
|
|
4
|
+
data.tar.gz: f75d2d1f0f27f783fe67facfa276a1a3afb71a9b9777670ee2afbd203ceffe2c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3d6bb2bd14fc733afa39f268f5688e0cfd2863f2ba9cd5cd6f9283cb5a44a64a5158910d07700f6f081bf12565321afa4051d1e8996758d9238fd9158f99e393
|
|
7
|
+
data.tar.gz: 04c8ce4b691b88dff476416a4c53ef7bfeaf9d689f294dc2f2bf2e8b8b2c02509f6e7ffefc9bb0b7b80bc0752b86adb88d49e62f6fd62f216bb7cf1eae58d842
|
data/README.md
CHANGED
|
@@ -126,7 +126,7 @@ Options:
|
|
|
126
126
|
# Default: false
|
|
127
127
|
[--skip_javascript] # Skip adding javascript (webpacker) to the application
|
|
128
128
|
# Default: false
|
|
129
|
-
[--skip_mailer] # Do you want to skip setting up a
|
|
129
|
+
[--skip_mailer] # Do you want to skip setting up a transactional mailer (see --mailer option above)?
|
|
130
130
|
# Default: false
|
|
131
131
|
[--skip_pagination] # Do you want to skip using pagination with your application?
|
|
132
132
|
# Default: false
|
|
@@ -178,7 +178,7 @@ Options:
|
|
|
178
178
|
|
|
179
179
|
### Walk-Throughts
|
|
180
180
|
|
|
181
|
-
* [#](/docs/actiontext.md) Create an application using simple_form and create posts scaffold and admin page that will use ActionText
|
|
181
|
+
* [#](/docs/actiontext.md) Create an application using simple_form and create posts scaffold and admin page that will use ActionText
|
|
182
182
|
|
|
183
183
|
## Gems
|
|
184
184
|
|
|
@@ -127,11 +127,6 @@ module Kowl
|
|
|
127
127
|
copy_file 'middleware.rb', 'config/initializers/middleware.rb', force: true
|
|
128
128
|
end
|
|
129
129
|
|
|
130
|
-
# Generate initializer for using administrate with the application
|
|
131
|
-
def copy_administate_config
|
|
132
|
-
template('administrate.rb.tt', 'config/initializers/administrate.rb') unless options[:noauth]
|
|
133
|
-
end
|
|
134
|
-
|
|
135
130
|
# Run the ERD generator, so the application will generate a new ERB when migrations are added/modified
|
|
136
131
|
def setup_erd
|
|
137
132
|
return nil if options[:skip_erd]
|
|
@@ -68,7 +68,7 @@ gem 'image_processing' # Used for processing ActionStor
|
|
|
68
68
|
##############################
|
|
69
69
|
# Admin/Dashboard
|
|
70
70
|
##############################
|
|
71
|
-
gem 'administrate',
|
|
71
|
+
gem 'administrate', '>= 0.14' # Admin dashboard
|
|
72
72
|
|
|
73
73
|
##############################
|
|
74
74
|
# Authorization, Authentication [Roles], and permissions
|
|
@@ -9,8 +9,7 @@ class LoginActivityDashboard < Administrate::BaseDashboard
|
|
|
9
9
|
# which determines how the attribute is displayed
|
|
10
10
|
# on pages throughout the dashboard.
|
|
11
11
|
ATTRIBUTE_TYPES = {
|
|
12
|
-
|
|
13
|
-
user: Field::BelongsTo,
|
|
12
|
+
user: Field::Polymorphic,
|
|
14
13
|
<%- if options[:uuid] -%>
|
|
15
14
|
id: Field::String,
|
|
16
15
|
<%- else -%>
|
data/lib/kowl/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kowl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brandon Hicks
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-11-
|
|
11
|
+
date: 2020-11-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -244,7 +244,6 @@ files:
|
|
|
244
244
|
- lib/kowl/templates/config/db/postgresql.yml.tt
|
|
245
245
|
- lib/kowl/templates/config/db/sqlite3.yml.tt
|
|
246
246
|
- lib/kowl/templates/config/db/sqlserver.yml.tt
|
|
247
|
-
- lib/kowl/templates/config/initializers/administrate.rb.tt
|
|
248
247
|
- lib/kowl/templates/config/initializers/bullet.rb
|
|
249
248
|
- lib/kowl/templates/config/initializers/devise-security.rb
|
|
250
249
|
- lib/kowl/templates/config/initializers/devise_argon2.rb
|