kowl 0.0.2 → 0.0.7

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: 37626221be27260120fd6a0f658280f422fe7e93e696e5fac6502f7d644470f7
4
- data.tar.gz: ec6f8debdb845e0638c7c3ad5739a59d8e164142a9dc3fced6150e0b6b8799c9
3
+ metadata.gz: 55dad8fede71a47a827d7dfabfcea21698ac1c0a103e0df207ab1ed8fb6d43b8
4
+ data.tar.gz: d977434db889ef74b5e3ad1afde05be472b3cfbf9ad27454ff99c239945bb665
5
5
  SHA512:
6
- metadata.gz: 643d150a84ca6d872cf7fdb9488fea678e9edc6d0a1172175b804858cf46ef659bed67c90eefd0ea46845b9392cb7648ab1c425e7c2dda2206f68343f882aed0
7
- data.tar.gz: a4d0ee1bfae9b4616d9de8502bd49b1aaa03517962767364c9755f8dd7ed9f60e6c384c73650cdac321fa7b083649c208bf1b961a23421c4d5b4d4c9089342b8
6
+ metadata.gz: '0859756bfdbe7291da754cd336203eca8d9f831d8398af0588a9f242ebf4712c985770f9dd5fcff739ccccce845c7cea070f5bc2e61c39bee1507f0ff5aa521e'
7
+ data.tar.gz: 33efd6182937aaecd1dc32592d7e0d24736b759959a2ce1c7757aaa06214085cf20604c7d955e24ca056a6970a0f44b8cfb7171502ba8db4c3d62aab4bc5800d
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
@@ -170,7 +170,7 @@ Options:
170
170
 
171
171
  `kowl AppName --git_repo=https://github/username/REPO_NAME.git`
172
172
 
173
- Will generate an app with remote directory of https://github/username/REPO_NAME.git
173
+ Will generate an app with the remote repo set as `https://github/username/REPO_NAME.git`
174
174
 
175
175
  `kowl foobar --template_engine=haml --simpleform --framework=semantic;`
176
176
 
@@ -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
 
@@ -231,7 +231,7 @@ User gems that will be included unless the `--noauth` flag is specified when gen
231
231
  * [active_decorator](https://github.com/amatsuda/active_decorator) OOP view helpers for cleaning up your models.
232
232
  * [annotate](https://github.com/ctran/annotate_models) for adding a comment summarizing the current schema to models, routes, etc.
233
233
  * [auto_strip_attributes](https://github.com/holli/auto_strip_attributes) remove unnecessary whitespace from ActiveRecord attributes.
234
- * [fast_jsonapi](fast-jsonapi/fast_jsonapi) lightning fast JSON:API serializer (originally releases by [Netflix](https://github.com/Netflix/fast_jsonapi))
234
+ * [jsonapi-serializer](https://github.com/jsonapi-serializer/jsonapi-serializer) lightning fast JSON:API serializer (originally releases by [Netflix](https://github.com/Netflix/fast_jsonapi))
235
235
  * [meta-tags](https://github.com/kpumuk/meta-tags) helpers for making SEO/meta-tags easier to manage with your rails application.
236
236
  * [oj](http://www.ohler.com/oj/) a fast JSON object serializer.
237
237
  * [simple_form](https://github.com/heartcombo/simple_form) a DSL for making forms easy to style and manage.
@@ -269,7 +269,7 @@ User gems that will be included unless the `--noauth` flag is specified when gen
269
269
  These gems will be included to setup sidekiq unless the `--skip_sidekiq` flag is used when generating an application.
270
270
 
271
271
  * [hiredis](https://github.com/redis/hiredis-rb) a C adapter for connecting your application to a Redis datestore _(faster than the ruby redis library)_.
272
- * [Sidekiq](https://github.com/mperham/sidekiq/)
272
+ * [Sidekiq](https://github.com/mperham/sidekiq/) simple, efficient background processing for Ruby
273
273
  * [Sidekiq-Failures](https://github.com/mhfs/sidekiq-failures/) to get a better view of what jobs are failing.
274
274
  * [Sidekiq-Scheduler](https://moove-it.github.io/sidekiq-scheduler/) to schedule sidekiq jobs on a given interval.
275
275
  * [Sidekiq-Status](https://github.com/utgarda/sidekiq-status) is sidekiq extension to get a better status report of all currently running jobs.
@@ -326,11 +326,12 @@ If using ruby `>= 2.7` it also includes `e2mmap` and `thwait` to prevent ruby de
326
326
 
327
327
  ## Additonal Stuff
328
328
 
329
+ * It corrects the issue ([37008](https://github.com/rails/rails/pull/37008)) when generating a Rails (v6) application when specifying Oracle as the database
329
330
  * When using this gem to generate applications it changes the devise password encrypting from bcrypt to [Argon2](https://cryptobook.nakov.com/mac-and-key-derivation/argon2)
330
331
  * When generating application Dockerfiles it defaults to using [Alpine](https://alpinelinux.org/) which will produce smaller docker images. But if applications are specified to use Oracle as the database it will default to [Debian](https://www.debian.org/) _(due to the required dependencies to use the [Oracle InstantClient](https://www.oracle.com/database/technologies/instant-client.html))_.
331
332
  * The `--encrypt` flag is used to enforce [GDPR](https://gdprchecklist.io/) and [CCPA](https://oag.ca.gov/privacy/ccpa) compliance to encrypt PII for users. _([GDPR Article 34, Section 3 (a)](https://gdpr-info.eu/art-34-gdpr/))_ By encrypting user identifiable information; this ensurers PII isn't plain text readable by hackers in case there is a data breach with the application. When encrypting user data it will use the [lockbox](https://github.com/ankane/lockbox) with the [xsalsa20](https://en.wikipedia.org/wiki/Salsa20) algorithm which requires [libsodium](https://libsodium.gitbook.io/doc/).
332
- * When using javascript/webpacker not only will it gzip js assets, it will also compress assets with brotli and zopfli compression.
333
- * A number of linter dotfiles added so you don't have to hunt down how they are setup.
333
+ * When using javascript/webpacker not only will it gzip js assets, it will also compress assets with brotli and zopfli compression _(in production)_.
334
+ * A number of linter dotfiles added, that way you don't have to hunt down how they are setup. And you only need to use the linters than you want to use.
334
335
 
335
336
  ## Notes
336
337
 
data/lib/kowl.rb CHANGED
@@ -12,7 +12,7 @@ require 'kowl/generators/overrides/app_generator'
12
12
  # Load the list of customized application generators
13
13
  generators = %w[action admin assets config controller database decorators docker dotfiles libs mailer misc pages routes
14
14
  sidekiq staging test text_files users_and_auth uuid views_and_helpers]
15
- generators.map { |file| require "kowl/generators/#{file}_generator" }
15
+ generators.map { |file| require_relative "kowl/generators/#{file}_generator" }
16
16
 
17
17
  # For generating base template files, once the application has been build
18
18
  require 'kowl/generators/overrides/app_builder'
data/lib/kowl/actions.rb CHANGED
@@ -135,7 +135,7 @@ module Kowl
135
135
  end
136
136
 
137
137
  # Add PgHero engine mount to the routes if the database iss postgresql
138
- # @param database [String] A string containing the applications defined database adapater
138
+ # @param database [String] A string containing the applications defined database adapter
139
139
  # @return [String] the pghero dashboard mount path, if postgresql will be used
140
140
  def database_route(database = 'sqlite3')
141
141
  return '' unless database.to_s == 'postgresql'
data/lib/kowl/docker.rb CHANGED
@@ -389,7 +389,7 @@ module Kowl
389
389
  # @return [String] an apk string for installing dependencies in the dockerfile
390
390
  def alpine_docker_dependencies(options = {})
391
391
  # core dependencies
392
- dependencies = %w[brotli dumb-init git sqlite sqlite-dev tzdata vips vips-dev yarn]
392
+ dependencies = %w[brotli dumb-init git python3 sqlite sqlite-dev tzdata vips vips-dev yarn]
393
393
  # optional dependencies
394
394
  dependencies << 'graphviz' unless options[:skip_erd]
395
395
  dependencies << 'libsodium-dev' if options[:encrypt]
@@ -413,7 +413,7 @@ module Kowl
413
413
  # @param options [Hash] a list of the applictions specific options to determine what all dependencies are required
414
414
  # @return [String] an `apt-get install` with a list of all the applications dependencies listed
415
415
  def debian_docker_dependencies(options = {})
416
- dependencies = %w[brotli curl git libjemalloc-dev libsqlite3-dev libvips sqlite3 wget]
416
+ dependencies = %w[brotli curl git libjemalloc-dev libsqlite3-dev libvips python sqlite3 wget]
417
417
 
418
418
  # optional dependencies
419
419
  dependencies << 'graphviz' unless options[:skip_erd]
@@ -33,7 +33,7 @@ module Kowl
33
33
 
34
34
  # Return a cleaned up version of the name of the application being generated
35
35
  def app_name
36
- Rails.app_class.parent_name.demodulize.underscore.dasherize
36
+ @app_name ||= Rails.app_class.module_parent_name.demodulize.underscore.dasherize
37
37
  end
38
38
  end
39
39
  end
@@ -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]
@@ -191,8 +191,6 @@ module Kowl
191
191
  extract_css: true
192
192
  # Cache manifest.json for performance
193
193
  cache_manifest: true
194
- # Compile staging packs to a separate directory
195
- public_output_path: packs-staging
196
194
  STAGING
197
195
  append_to_file('config/webpacker.yml', "\n#{webpacker_str}")
198
196
  end
data/lib/kowl/helpers.rb CHANGED
@@ -113,7 +113,7 @@ def dh(str = '')
113
113
  end
114
114
 
115
115
  # Used to create and return the .env file database configuration for the specific environment
116
- # @param database [String] the database adapater in which the application will be connecting to
116
+ # @param database [String] the database adapter in which the application will be connecting to
117
117
  # @param env [String] the environment which the env file is bring created for
118
118
  # @return [String] a list of database parameters for the specific database connection
119
119
  def dotfile_databases(database, env)
@@ -5,10 +5,7 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5
5
 
6
6
  # ruby '<%= RUBY_VERSION %>'
7
7
  gem 'rails', '<%= Kowl::RAILS_VERSION %>'
8
- gem 'puma', '~> 4.3' # Use Puma as the applications web server
9
- # gem 'iodine', '~> 0.7' # An extremely fast and concurrent Application Server (works well with websockets)
10
- # gem 'falcon' # A high-performance web server for Ruby, supporting HTTP/1, HTTP/2 and TLS
11
- # Falon => https://www.codeotaku.com/journal/2019-02/falcon-early-hints/index
8
+ gem 'puma', '>= 4.3' # Use Puma as the applications web server
12
9
  gem 'rack', '~> 2.2'
13
10
 
14
11
  # Gems required for running rails with RUBY_VERSION >= 2.7
@@ -71,7 +68,7 @@ gem 'image_processing' # Used for processing ActionStor
71
68
  ##############################
72
69
  # Admin/Dashboard
73
70
  ##############################
74
- gem 'administrate', github: 'thoughtbot/administrate' # Admin dashboard
71
+ gem 'administrate', '>= 0.14' # Admin dashboard
75
72
 
76
73
  ##############################
77
74
  # Authorization, Authentication [Roles], and permissions
@@ -126,7 +123,7 @@ end
126
123
  # Misc
127
124
  ##############################
128
125
  gem 'auto_strip_attributes', '~> 2.5' # Reduce needing to add before_validation hooks to the models to cleanup attributes
129
- gem 'fast_jsonapi', github: 'fast-jsonapi/fast_jsonapi' # A lightening fast json serializer
126
+ gem 'jsonapi-serializer', github: 'jsonapi-serializer/jsonapi-serializer' # A lightening fast json serializer
130
127
  gem 'jbuilder'<%= gemfile_requirement('jbuilder') %> # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
131
128
  gem 'meta-tags' # Used for adding dynamic titles when switching between pages.
132
129
  gem 'oj' # For faster json generating and parsing
@@ -187,6 +184,7 @@ group :development, :test do
187
184
  <%= pry_gems(options[:skip_pry]) -%>
188
185
 
189
186
  # --- Linters (Asset testing, Static Code Analyzers)
187
+ gem 'fasterer', require: false # Used to scan and check for any slow code
190
188
  # gem 'inquisition', github: 'rubygarage/inquisition'
191
189
  <%= template_linter_gems(options[:template_engine]) %>
192
190
  gem 'scss_lint', require: false
@@ -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 -%>
@@ -29,6 +29,7 @@ ENV APP_USER='app' \
29
29
  RUN apk update && apk -U upgrade >/dev/null 2>&1 && \
30
30
  apk add build-base ca-certificates libffi-dev linux-headers openssl >/dev/null 2>&1 && \
31
31
  <%= alpine_docker_dependencies(options) -%>
32
+ ln -sf python3 /usr/bin/python && \
32
33
  rm -rf /tmp/* /var/tmp/* /var/cache/apk/* && \
33
34
  truncate -s 0 /var/log/*log
34
35
 
@@ -81,10 +81,11 @@ RUN mkdir -p $INSTANT_CLIENT_PATH && \
81
81
  alien -i $INSTANT_CLIENT_SQLPLUS_PATH 2>/dev/null && \
82
82
  ldconfig
83
83
  <%- elsif options[:database] == 'sqlserver' -%>
84
- RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-1.00.27.tar.gz && \
85
- tar -xzf freetds-1.00.27.tar.gz && \
86
- rm -rf freetds-1.00.27.tar.gz && \
87
- cd freetds-1.00.27 && \
84
+ ENV FREETDS_VERSION='1.2.5'
85
+ RUN wget ftp://ftp.freetds.org/pub/freetds/stable/freetds-$FREETDS_VERSION.tar.gz >/dev/null 2>&1 && \
86
+ tar -xzf freetds-$FREETDS_VERSION.tar.gz && \
87
+ rm -rf freetds-$FREETDS_VERSION.tar.gz && \
88
+ cd freetds-$FREETDS_VERSION && \
88
89
  ./configure --prefix=/usr/local --with-tdsver=7.3 --silent >/dev/null 2>&1 && \
89
90
  make -j "$(nproc)" >/dev/null 2>&1 && \
90
91
  make install >/dev/null 2>&1 && \
@@ -1,14 +1,34 @@
1
+ speedups:
2
+ rescue_vs_respond_to: true
3
+ module_eval: true
4
+ shuffle_first_vs_sample: true
5
+ for_loop_vs_each: true
6
+ each_with_index_vs_while: false
7
+ map_flatten_vs_flat_map: true
8
+ reverse_each_vs_reverse_each: true
9
+ select_first_vs_detect: true
10
+ sort_vs_sort_by: true
11
+ fetch_with_argument_vs_block: true
12
+ keys_each_vs_each_key: true
13
+ hash_merge_bang_vs_hash_brackets: true
14
+ block_vs_symbol_to_proc: true
15
+ proc_call_vs_yield: true
16
+ gsub_vs_tr: true
17
+ select_last_vs_reverse_detect: true
18
+ getter_vs_attr_reader: true
19
+ setter_vs_attr_writer: true
20
+
1
21
  exclude_paths:
2
22
  - 'app/assets/**/**'
3
23
  - 'app/javascript/**/**'
4
- - 'bin/**/**'
5
- - 'coverage/**/**'
24
+ - 'bin/'
25
+ - 'coverage/'
6
26
  - 'db/**/*.rb'
7
- - 'doc/**/**'
8
- - 'log/**/**'
27
+ - 'doc/'
28
+ - 'log/'
9
29
  - 'node_modulse/**/**'
10
- - 'public/**/**'
11
- - 'storage/**/**'
12
- - 'tmp/**/**'
30
+ - 'public/'
31
+ - 'storage/'
32
+ - 'tmp/'
13
33
  - 'vendor/**/*.rb'
14
34
  - '**.yml'
data/lib/kowl/version.rb CHANGED
@@ -1,9 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Kowl
4
- RAILS_VERSION = '6.0.2.2'
4
+ RAILS_VERSION = '6.0.3.6'
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.2'
8
+ VERSION = '0.0.7'
9
9
  end
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ RSpec.describe Kowl::Docker do
6
+ before(:each) do
7
+ # Include the Kowl::Docker module in a class in order to make it testible
8
+ # => This is because it is also included into the Rails generator class
9
+ class KowlClass
10
+ include Kowl::Actions
11
+ end
12
+ @kowl = KowlClass.new
13
+ end
14
+
15
+ context 'database route (pghero)' do
16
+ it { expect(@kowl.database_route).to eq('') }
17
+ it { expect(@kowl.database_route('mysql')).to eq('') }
18
+ it { expect(@kowl.database_route('postgresql')).to eq(" mount PgHero::Engine, at: \"pghero\"\n") }
19
+ end
20
+
21
+ context 'mailers' do
22
+ it { expect(@kowl.mailer_gems('postmark')).to eq("gem 'postmark-rails'") }
23
+ it { expect(@kowl.mailer_gems).to eq("gem 'sparkpost_rails'") }
24
+ end
25
+
26
+ context 'pry_gems' do
27
+ it { expect(@kowl.pry_gems(true)).to eq(nil) }
28
+ end
29
+
30
+ context 'robocop test engine' do
31
+ it { expect(@kowl.robocop_test_engine).to eq('') }
32
+ it { expect(@kowl.robocop_test_engine('minitest')).to include('minitest') }
33
+ it { expect(@kowl.robocop_test_engine('rspec')).to include('rspec') }
34
+ end
35
+ 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.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Hicks
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-03 00:00:00.000000000 Z
11
+ date: 2021-04-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: 6.0.2.2
53
+ version: 6.0.3.6
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: 6.0.2.2
60
+ version: 6.0.3.6
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: sqlite3
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -86,6 +86,34 @@ dependencies:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
88
  version: '5.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: e2mmap
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - "~>"
94
+ - !ruby/object:Gem::Version
95
+ version: '0.1'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - "~>"
101
+ - !ruby/object:Gem::Version
102
+ version: '0.1'
103
+ - !ruby/object:Gem::Dependency
104
+ name: thwait
105
+ requirement: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - "~>"
108
+ - !ruby/object:Gem::Version
109
+ version: '0.1'
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: !ruby/object:Gem::Requirement
113
+ requirements:
114
+ - - "~>"
115
+ - !ruby/object:Gem::Version
116
+ version: '0.1'
89
117
  - !ruby/object:Gem::Dependency
90
118
  name: rspec
91
119
  requirement: !ruby/object:Gem::Requirement
@@ -244,7 +272,6 @@ files:
244
272
  - lib/kowl/templates/config/db/postgresql.yml.tt
245
273
  - lib/kowl/templates/config/db/sqlite3.yml.tt
246
274
  - lib/kowl/templates/config/db/sqlserver.yml.tt
247
- - lib/kowl/templates/config/initializers/administrate.rb.tt
248
275
  - lib/kowl/templates/config/initializers/bullet.rb
249
276
  - lib/kowl/templates/config/initializers/devise-security.rb
250
277
  - lib/kowl/templates/config/initializers/devise_argon2.rb
@@ -374,6 +401,7 @@ files:
374
401
  - lib/kowl/templates/text_files/robots.txt.tt
375
402
  - lib/kowl/templates/text_files/security.txt
376
403
  - lib/kowl/version.rb
404
+ - spec/kowl/actions_spec.rb
377
405
  - spec/kowl/docker_spec.rb
378
406
  - spec/kowl/helpers_spec.rb
379
407
  - spec/kowl/version_spec.rb
@@ -386,7 +414,7 @@ metadata:
386
414
  bug_tracker_uri: https://github.com/tarellel/kowl/issues
387
415
  changelog_uri: https://github.com/tarellel/kowl/blob/master/CHANGELOG.md
388
416
  source_code_uri: https://github.com/tarellel/kowl
389
- post_install_message:
417
+ post_install_message:
390
418
  rdoc_options: []
391
419
  require_paths:
392
420
  - lib
@@ -401,12 +429,13 @@ required_rubygems_version: !ruby/object:Gem::Requirement
401
429
  - !ruby/object:Gem::Version
402
430
  version: '0'
403
431
  requirements: []
404
- rubygems_version: 3.0.6
405
- signing_key:
432
+ rubygems_version: 3.2.11
433
+ signing_key:
406
434
  specification_version: 4
407
435
  summary: A rails application generator to get you out the door and started without
408
436
  wasting hours to get started.
409
437
  test_files:
438
+ - spec/kowl/actions_spec.rb
410
439
  - spec/kowl/docker_spec.rb
411
440
  - spec/kowl/helpers_spec.rb
412
441
  - spec/kowl/version_spec.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