permadeps 1446.1.4 → 1446.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b03699be940d87364b352bc06bad1e4fa1e05fc1117ee7d53df8a707b5751281
4
- data.tar.gz: ad0bf6ac5dbfb8eb6a119aa453c97b833f7e7e7ea2ea48605c42b07447129506
3
+ metadata.gz: 0363bc2a8b4a83f2ac1a10aa9798bd3302e050c2dda43a044e6d39d9119b151e
4
+ data.tar.gz: 47c01cb4b52941ccc1ac082d025bf503cf34943238cd26560d0d013d82bc32bf
5
5
  SHA512:
6
- metadata.gz: 9ff649e19d3f73ad7d96e27413b6052487f48bbc753f6a4224feaee09641aeee1915060e1c099939be49bdecdfa7921720f60a8365b72c7005c40badcf0c0736
7
- data.tar.gz: 557cc71fbcc1bc402e0340a8da6f177bc8815fbd6a3bc59a18c781c096c8a9c7a44be95639c9d20b328196ae373bf19ab04e528567710163cc55db5bcf797384
6
+ metadata.gz: 7b00efcad8ee982aee2428252a1658100e01734bcef9f469b7143c9422594e76bc647444532241b6cc0e42a2a5b9eed8a923d0878d675b450f70fc804d8095ae
7
+ data.tar.gz: 39c2ee53e1f795ce9bd0b2c440a756f6f4c1d9cce55423bbe6ba01308fff8dd8adcc7fe295cdeae0c668b6f6b3f377aca8e6d38094468be002869155b62b0ca0
data/README.md CHANGED
@@ -81,41 +81,42 @@ $ rails g permadeps:install
81
81
  This generator will perform the following actions:
82
82
 
83
83
  1. Copy configuration files:
84
- - `.annotaterb.yml`: Configuration for AnnotateRb
85
- - `.better-html.yml`: Configuration for Better HTML
86
- - `.env.example`: Example environment variables file
87
- - `.erb-lint.yml`: Configuration for ERB Lint
88
- - `.rubocop.yml`: Configuration for RuboCop
84
+ - `.annotaterb.yml`: Configuration for AnnotateRb
85
+ - `.better-html.yml`: Configuration for Better HTML
86
+ - `.env.example`: Example environment variables file
87
+ - `.erb-lint.yml`: Configuration for ERB Lint
88
+ - `.rubocop.yml`: Configuration for RuboCop
89
89
 
90
90
  2. Copy initializers:
91
- - `config/initializers/better_html.rb`: Sets up Better HTML
92
- - `config/initializers/blazer.rb`: Configures Blazer
93
- - `config/initializers/rack_mini_profiler.rb`: Sets up Rack Mini Profiler
94
- - `config/initializers/rails_performance.rb`: Sets up Rails Performance
91
+ - `config/initializers/better_html.rb`: Sets up Better HTML
92
+ - `config/initializers/blazer.rb`: Configures Blazer
93
+ - `config/initializers/rack_mini_profiler.rb`: Sets up Rack Mini Profiler
94
+ - `config/initializers/rails_performance.rb`: Sets up Rails Performance
95
95
 
96
96
  3. Add background jobs for PgHero:
97
- - `app/jobs/capture_query_stats_job.rb`: Captures query statistics
98
- - `app/jobs/capture_space_stats_job.rb`: Captures space usage statistics
99
- - `app/jobs/clean_query_stats_job.rb`: Cleans up old query statistics
100
- - `app/jobs/clean_space_stats_job.rb`: Cleans up old space usage statistics
97
+ - `app/jobs/capture_query_stats_job.rb`: Captures query statistics
98
+ - `app/jobs/capture_space_stats_job.rb`: Captures space usage statistics
99
+ - `app/jobs/clean_query_stats_job.rb`: Cleans up old query statistics
100
+ - `app/jobs/clean_space_stats_job.rb`: Cleans up old space usage statistics
101
101
 
102
102
  4. Add a rake task:
103
- - `lib/tasks/annotate_rb.rake`: Task for running Annotate
103
+ - `lib/tasks/annotate_rb.rake`: Task for running Annotate
104
104
 
105
105
  5. Run generators for various gems:
106
- - `ahoy:install`: Sets up Ahoy for analytics
107
- - `blazer:install`: Installs Blazer for business intelligence
108
- - `good_job:install`: Sets up GoodJob
109
- - `notable:requests`: Sets up Notable for request tracking
110
- - `notable:jobs`: Sets up Notable for job tracking
111
- - `pghero:query_stats`: Installs PgHero query stats
112
- - `pghero:space_stats`: Installs PgHero space stats
106
+ - `ahoy:install`: Sets up Ahoy for analytics
107
+ - `blazer:install`: Installs Blazer for business intelligence
108
+ - `bullet:install`: Installs Bullet for N+1 query detection
109
+ - `good_job:install`: Sets up GoodJob
110
+ - `notable:requests`: Sets up Notable for request tracking
111
+ - `notable:jobs`: Sets up Notable for job tracking
112
+ - `pghero:query_stats`: Installs PgHero query stats
113
+ - `pghero:space_stats`: Installs PgHero space stats
113
114
 
114
115
  6. Set up Freezolite:
115
- - Adds `require 'freezolite/auto'` to `config/application.rb` for automatic string freezing
116
+ - Adds `require 'freezolite/auto'` to `config/application.rb` for automatic string freezing
116
117
 
117
118
  7. Run database migrations:
118
- - Executes `rails db:migrate` to apply all pending migrations
119
+ - Executes `rails db:migrate` to apply all pending migrations
119
120
 
120
121
  After running the generator, your Rails application will be configured with all the necessary settings and files to use the gems provided by permadeps. Make sure to review the generated files and adjust them as needed for your specific project requirements.
121
122
 
@@ -32,6 +32,7 @@ module Permadeps
32
32
  def run_generators
33
33
  generate 'ahoy:install'
34
34
  generate 'blazer:install'
35
+ generate 'bullet:install'
35
36
  generate 'good_job:install'
36
37
  generate 'notable:requests'
37
38
  generate 'notable:jobs'
@@ -1,3 +1,3 @@
1
1
  module Permadeps
2
- VERSION = '1446.1.4'
2
+ VERSION = '1446.1.5'
3
3
  end
data/rubocop.yml CHANGED
@@ -11,6 +11,7 @@ AllCops:
11
11
  NewCops: enable
12
12
  Exclude:
13
13
  - '**/._*'
14
+ - 'bin/*'
14
15
  - 'db/schema.rb'
15
16
  - 'lib/tools/*'
16
17
  - 'vendor/bundle/**/*'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: permadeps
3
3
  version: !ruby/object:Gem::Version
4
- version: 1446.1.4
4
+ version: 1446.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Hamdi Ali Fadel