gemwork 0.7.8 → 0.7.9
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/CHANGELOG.md +4 -0
 - data/README.md +5 -3
 - data/lib/gemwork/version.rb +1 -1
 - data/lib/tasks/erb_lint.rake +7 -0
 - metadata +3 -2
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: b459cf2c0d2687e90166dd85a609e10e18e506cac0526dcda5d2f2a56ea9d36c
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 66a1ed2aed09441916679b66b02d9e39d50246a09f5a6dc5d1feae096154ca6c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 48a20df477c63e4d756083dacfc3e819f0a65e683bd2fada00ccdd674e26c4eeb1dd125bfbc46e082a2b3c8cd7520b77d913f671c0031b49296c1e1c320daf60
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 7051f6562676d243f9e501de09014c71ea0e5e1a261947bfc4855e1063b6623427bb8ea5af0fd8b6db8dc26b14797e794bfe6d178405b0fcb03f1732aa7b8b85
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    
    
        data/README.md
    CHANGED
    
    | 
         @@ -58,7 +58,7 @@ Running `rake -T` after this will reveal the additional tasks defined by Gemwork 
     | 
|
| 
       58 
58 
     | 
    
         | 
| 
       59 
59 
     | 
    
         
             
            ### Rails
         
     | 
| 
       60 
60 
     | 
    
         | 
| 
       61 
     | 
    
         
            -
            For a Rails project, you may need to conditionally run the above by returning early unless the current environment is development. Further, you may want to include other tasks, such as `eslint`, `prettier`, `brakeman`, and `test:system`.
         
     | 
| 
      
 61 
     | 
    
         
            +
            For a Rails project, you may need to conditionally run the above by returning early unless the current environment is development. Further, you may want to include other gems & their rake tasks, such as: `erb_lint`, `eslint`, `prettier`, `brakeman`, and `test:system`.
         
     | 
| 
       62 
62 
     | 
    
         | 
| 
       63 
63 
     | 
    
         
             
            ```ruby
         
     | 
| 
       64 
64 
     | 
    
         
             
            # frozen_string_literal: true
         
     | 
| 
         @@ -69,8 +69,9 @@ spec = Gem::Specification.find_by_name("gemwork") 
     | 
|
| 
       69 
69 
     | 
    
         | 
| 
       70 
70 
     | 
    
         
             
            # Load additional tasks defined by Gemwork.
         
     | 
| 
       71 
71 
     | 
    
         
             
            Dir.glob(
         
     | 
| 
       72 
     | 
    
         
            -
              Pathname.new(spec.gem_dir).
         
     | 
| 
       73 
     | 
    
         
            -
                 
     | 
| 
      
 72 
     | 
    
         
            +
              Pathname.new(spec.gem_dir).join(
         
     | 
| 
      
 73 
     | 
    
         
            +
                "lib/tasks",
         
     | 
| 
      
 74 
     | 
    
         
            +
                "{util,rubocop,erb_lint,reek,eslint,prettier,brakeman}.rake")) do |task|
         
     | 
| 
       74 
75 
     | 
    
         
             
              load(task)
         
     | 
| 
       75 
76 
     | 
    
         
             
            end
         
     | 
| 
       76 
77 
     | 
    
         | 
| 
         @@ -80,6 +81,7 @@ task :default do 
     | 
|
| 
       80 
81 
     | 
    
         
             
              run_tasks(%i[
         
     | 
| 
       81 
82 
     | 
    
         
             
                test
         
     | 
| 
       82 
83 
     | 
    
         
             
                rubocop
         
     | 
| 
      
 84 
     | 
    
         
            +
                erb_lint
         
     | 
| 
       83 
85 
     | 
    
         
             
                reek
         
     | 
| 
       84 
86 
     | 
    
         
             
                eslint
         
     | 
| 
       85 
87 
     | 
    
         
             
                prettier
         
     | 
    
        data/lib/gemwork/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: gemwork
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.9
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Paul DobbinSchmaltz
         
     | 
| 
       8 
8 
     | 
    
         
             
            bindir: exe
         
     | 
| 
       9 
9 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       10 
     | 
    
         
            -
            date: 2025-02- 
     | 
| 
      
 10 
     | 
    
         
            +
            date: 2025-02-14 00:00:00.000000000 Z
         
     | 
| 
       11 
11 
     | 
    
         
             
            dependencies:
         
     | 
| 
       12 
12 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       13 
13 
     | 
    
         
             
              name: rake
         
     | 
| 
         @@ -230,6 +230,7 @@ files: 
     | 
|
| 
       230 
230 
     | 
    
         
             
            - lib/rubocop/style-rails.yml
         
     | 
| 
       231 
231 
     | 
    
         
             
            - lib/rubocop/style.yml
         
     | 
| 
       232 
232 
     | 
    
         
             
            - lib/tasks/brakeman.rake
         
     | 
| 
      
 233 
     | 
    
         
            +
            - lib/tasks/erb_lint.rake
         
     | 
| 
       233 
234 
     | 
    
         
             
            - lib/tasks/eslint.rake
         
     | 
| 
       234 
235 
     | 
    
         
             
            - lib/tasks/prettier.rake
         
     | 
| 
       235 
236 
     | 
    
         
             
            - lib/tasks/reek.rake
         
     |