nextgen 0.33.0 → 0.35.0
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/lib/nextgen/generators/sidekiq.rb +1 -5
- data/lib/nextgen/version.rb +1 -1
- data/template/README.md.tt +3 -0
- data/template/bin/setup +2 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f6c1a74232607c0a78128136efb9a5ac7d481f06b4dce24a65685bfa333eaadb
|
4
|
+
data.tar.gz: 31313f9d1eee80507668420a2d5fa134f373733ca02f3ebbe7e188451bb3e29c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '08c724cf0f5b88fe9f4cc3ecce9552da653a6f6bca0efea2342d60f5b8fa6342a3c09686121c46aedb8cd57a7071a3bc23007b1ffb4cdd684152eca612353b74'
|
7
|
+
data.tar.gz: ae8c8b78d695ddd85439da1b049603cc81dd8505a662a854556763c084588b71a4159b05a0832fe9a997322ac364b4ccd35361e20c6c6a8b20f68cd77e7deb9f
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
say_git "Install the sidekiq gem in the :production group, with a binstub"
|
4
|
-
install_gem "sidekiq", version: "~>
|
4
|
+
install_gem "sidekiq", version: "~> 8.0", group: :production
|
5
5
|
binstub "sidekiq"
|
6
6
|
|
7
7
|
say_git "Add a sidekiq entry to the Procfile"
|
@@ -12,10 +12,6 @@ uncomment_lines "config/environments/production.rb", /config\.active_job/
|
|
12
12
|
gsub_file "config/environments/production.rb",
|
13
13
|
/active_job\.queue_adapter\s*=\s*:.+/,
|
14
14
|
"active_job.queue_adapter = :sidekiq"
|
15
|
-
gsub_file "config/environments/production.rb", " (and separate queues per environment)", ""
|
16
|
-
gsub_file "config/environments/production.rb",
|
17
|
-
/queue_name_prefix = .*$/,
|
18
|
-
"queue_name_prefix = nil # Not supported by sidekiq"
|
19
15
|
|
20
16
|
say_git "Mount the Sidekiq web console at /sidekiq, secured with basic auth"
|
21
17
|
copy_file "config/initializers/sidekiq.rb"
|
data/lib/nextgen/version.rb
CHANGED
data/template/README.md.tt
CHANGED
@@ -33,6 +33,9 @@ bin/setup
|
|
33
33
|
> [!TIP]
|
34
34
|
> The `bin/setup` script is idempotent and is designed to be run often. You should run it every time you pull code that introduces new dependencies or makes other significant changes to the project.
|
35
35
|
|
36
|
+
> [!TIP]
|
37
|
+
> To drop your existing database and start over with a clean local environment, use `bin/setup --reset`.
|
38
|
+
|
36
39
|
### Run the app!
|
37
40
|
|
38
41
|
Start the Rails server with this command:
|
data/template/bin/setup
CHANGED
@@ -4,11 +4,12 @@
|
|
4
4
|
# This script is a way to set up or update your development environment automatically.
|
5
5
|
# This script is idempotent, so that you can run it at any time and get an expectable outcome.
|
6
6
|
# Add necessary setup steps to this method.
|
7
|
-
def setup!
|
7
|
+
def setup! # rubocop:disable Metrics/PerceivedComplexity
|
8
8
|
env ".env", from: ".env.sample"
|
9
9
|
run "bundle install" if bundle_needed?
|
10
10
|
run "overcommit --install" if overcommit_installable?
|
11
11
|
run "bin/rails db:prepare" if database_present?
|
12
|
+
run "bin/rails db:reset" if database_present? && ARGV.include?("--reset")
|
12
13
|
run install_node_packages_command if node_present?
|
13
14
|
run "bin/rails tmp:create" if tmp_missing?
|
14
15
|
run "bin/rails restart" if pid_present?
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nextgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.35.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: railties
|
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
225
|
- !ruby/object:Gem::Version
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
|
-
rubygems_version: 3.6.
|
228
|
+
rubygems_version: 3.6.7
|
229
229
|
specification_version: 4
|
230
230
|
summary: Generate your next Rails app interactively!
|
231
231
|
test_files: []
|