permadeps 1446.1.4 → 1446.1.5
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 +24 -23
 - data/lib/generators/permadeps/install/install_generator.rb +1 -0
 - data/lib/permadeps/version.rb +1 -1
 - data/rubocop.yml +1 -0
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 0363bc2a8b4a83f2ac1a10aa9798bd3302e050c2dda43a044e6d39d9119b151e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 47c01cb4b52941ccc1ac082d025bf503cf34943238cd26560d0d013d82bc32bf
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
             
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
             
     | 
| 
       94 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
             
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 103 
     | 
    
         
            +
                - `lib/tasks/annotate_rb.rake`: Task for running Annotate
         
     | 
| 
       104 
104 
     | 
    
         | 
| 
       105 
105 
     | 
    
         
             
            5. Run generators for various gems:
         
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
             
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
             
     | 
| 
       112 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         
            -
             
     | 
| 
      
 116 
     | 
    
         
            +
                - Adds `require 'freezolite/auto'` to `config/application.rb` for automatic string freezing
         
     | 
| 
       116 
117 
     | 
    
         | 
| 
       117 
118 
     | 
    
         
             
            7. Run database migrations:
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
      
 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 
     | 
    
         | 
    
        data/lib/permadeps/version.rb
    CHANGED
    
    
    
        data/rubocop.yml
    CHANGED