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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7248af24fc08fcb09941da41ff850d26831b0e1d23027fa4d1a02a95ae7a481b
4
- data.tar.gz: d197406884eeb5dcff024c40a7d429b576872f03d4a1b19ad47a592fcbe0ec77
3
+ metadata.gz: 67dd16dd0eb2303fe953c25ae807fa6a1fa169e8139569a825ea22cc0598bd73
4
+ data.tar.gz: f75d2d1f0f27f783fe67facfa276a1a3afb71a9b9777670ee2afbd203ceffe2c
5
5
  SHA512:
6
- metadata.gz: cc609538f6862c79ca505e45aec46147d91adb4dbb982ed99cebdb9cc05bb00cb35f42172303698fe513bb400695c7bf076b9eba7699092d628ca9d2bd3cea14
7
- data.tar.gz: 05d4cdb5e5e065e3000cf8b566b6ad8c2ca01ebe9117e2c9158e5dfe672f65970a51ace72f995e27bb22a10e1e0fed0a4b440491124c02ca4186f0430eedcfec
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', github: 'thoughtbot/administrate' # Admin dashboard
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
- # user: Field::Polymorphic,
13
- user: Field::BelongsTo,
12
+ user: Field::Polymorphic,
14
13
  <%- if options[:uuid] -%>
15
14
  id: Field::String,
16
15
  <%- else -%>
@@ -5,5 +5,5 @@ module Kowl
5
5
  # Minimum required ruby version which to install the gem
6
6
  RUBY_VERSION = '2.5'
7
7
  WEBPACKER_VERSION = '5.0'
8
- VERSION = '0.0.5'
8
+ VERSION = '0.0.6'
9
9
  end
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.5
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-05 00:00:00.000000000 Z
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
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- if defined?(Administrate)
4
- Rails.application.configure do
5
- config.to_prepare do
6
- Administrate::ApplicationController.helper <%= app_name.titleize %>::Application.helpers
7
- end
8
- end
9
- end