rubocop-ruby1_9 2.0.3 → 2.0.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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +26 -1
- data/README.md +1 -1
- data/lib/rubocop/ruby1_9/railtie.rb +1 -2
- data/lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake +4 -4
- data/lib/rubocop/ruby1_9/{tasks.rake → tasks.rb} +2 -1
- data/lib/rubocop/ruby1_9/version.rb +1 -1
- data/lib/rubocop/ruby1_9.rb +1 -1
- data/rubocop-lts/rspec.yml +10 -0
- data/rubocop-lts/ruby.yml +7 -2
- data/rubocop.yml +1 -1
- data.tar.gz.sig +0 -0
- metadata +8 -8
- metadata.gz.sig +0 -0
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 72df18e4a3c6d051b5a3cfd7a0cec6502bfb1eb49ab587b8d696d20c1c217d18
         | 
| 4 | 
            +
              data.tar.gz: b7d39cde6f9b181b9101646d24abbcf07379d8b14c2ea65a3e5112bdd0d63d6a
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: '04169c0fea2b100664ff35e1df1514ac203138eca0308521a33295301856bbed4c83a171e8cfab8ea1cc3c4ef45c60f8ccd0a3da891dc35659cdc3b807b204f9'
         | 
| 7 | 
            +
              data.tar.gz: 5a3ea5cf23299cc458786a4fa025bd3d7c3ba918c78c7beee26e158b831fea3c647002032c406108484e760cabb1d5d763999f9eec23f755d23a998f73001e97
         | 
    
        checksums.yaml.gz.sig
    CHANGED
    
    | Binary file | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -10,6 +10,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| 10 10 | 
             
            ### Fixed
         | 
| 11 11 | 
             
            ### Removed
         | 
| 12 12 |  | 
| 13 | 
            +
            ## [2.0.5] 2023-06-05
         | 
| 14 | 
            +
            ### Added
         | 
| 15 | 
            +
            - Dependencies
         | 
| 16 | 
            +
              - yard-junk
         | 
| 17 | 
            +
              - redcarpet
         | 
| 18 | 
            +
              - pry, IRB alternative
         | 
| 19 | 
            +
              - pry-suite
         | 
| 20 | 
            +
              - debase,  for IDE debugging
         | 
| 21 | 
            +
            - Some rules should ignore specs/tests
         | 
| 22 | 
            +
              - Style/MethodCallWithArgsParentheses
         | 
| 23 | 
            +
              - Style/ClassAndModuleChildren
         | 
| 24 | 
            +
            ### Fixed
         | 
| 25 | 
            +
            - `yard` documentation task
         | 
| 26 | 
            +
            ### Changed
         | 
| 27 | 
            +
            - Added Include to inherit_mode: merge
         | 
| 28 | 
            +
            - Updated dependency on standard-rubocop-lts
         | 
| 29 | 
            +
             | 
| 30 | 
            +
            ## [2.0.4] 2023-05-22
         | 
| 31 | 
            +
            ### Fixed
         | 
| 32 | 
            +
            - install_tasks and Railtie loading of rake tasks
         | 
| 33 | 
            +
             | 
| 13 34 | 
             
            ## [2.0.3] 2023-05-21
         | 
| 14 35 | 
             
            ### Fixed
         | 
| 15 36 | 
             
            - Ship rake tasks in gem package
         | 
| @@ -21,6 +42,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| 21 42 | 
             
            ## [2.0.1] 2023-05-18
         | 
| 22 43 | 
             
            ### Fixed
         | 
| 23 44 | 
             
            - Fix rake_tasks hook on Railtie
         | 
| 45 | 
            +
            ### Changed
         | 
| 46 | 
            +
            - tasks.rake => tasks.rb
         | 
| 24 47 |  | 
| 25 48 | 
             
            ## [2.0.0] 2023-05-17 [YANKED]
         | 
| 26 49 | 
             
            ### Added
         | 
| @@ -79,7 +102,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |
| 79 102 | 
             
            ### Added
         | 
| 80 103 | 
             
            - Initial release
         | 
| 81 104 |  | 
| 82 | 
            -
            [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0. | 
| 105 | 
            +
            [Unreleased]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.5...HEAD
         | 
| 106 | 
            +
            [2.0.5]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.4...v2.0.5
         | 
| 107 | 
            +
            [2.0.4]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.3...v2.0.4
         | 
| 83 108 | 
             
            [2.0.3]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.2...v2.0.3
         | 
| 84 109 | 
             
            [2.0.2]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.1...v2.0.2
         | 
| 85 110 | 
             
            [2.0.1]: https://github.com/rubocop-lts/rubocop-ruby1_9/compare/v2.0.0...v2.0.1
         | 
    
        data/README.md
    CHANGED
    
    | @@ -365,7 +365,7 @@ the [Pessimistic Version Constraint][pvc] with two digits of precision. | |
| 365 365 | 
             
            For example:
         | 
| 366 366 |  | 
| 367 367 | 
             
            ```ruby
         | 
| 368 | 
            -
            spec.add_dependency | 
| 368 | 
            +
            spec.add_dependency("rubocop-ruby1_9", "~> 2.0")
         | 
| 369 369 | 
             
            ```
         | 
| 370 370 |  | 
| 371 371 | 
             
            [aboutme]: https://about.me/peter.boling
         | 
| @@ -2,10 +2,10 @@ begin | |
| 2 2 | 
             
              require "rubocop/gradual/rake_task"
         | 
| 3 3 |  | 
| 4 4 | 
             
              RuboCop::Gradual::RakeTask.new(:rubocop_gradual)
         | 
| 5 | 
            -
              desc | 
| 6 | 
            -
              task | 
| 5 | 
            +
              desc("alias rubocop task to rubocop_gradual")
         | 
| 6 | 
            +
              task(rubocop: :rubocop_gradual)
         | 
| 7 7 | 
             
            rescue LoadError
         | 
| 8 | 
            -
              task | 
| 9 | 
            -
                warn | 
| 8 | 
            +
              task(:rubocop_gradual) do
         | 
| 9 | 
            +
                warn("NOTE: rubocop-gradual isn't installed, or is disabled for #{RUBY_VERSION} in the current environment")
         | 
| 10 10 | 
             
              end
         | 
| 11 11 | 
             
            end
         | 
| @@ -1,4 +1,5 @@ | |
| 1 1 | 
             
            # Load from a "rakelib" directory is automatic!
         | 
| 2 2 | 
             
            # Adding our custom directory of tasks as a rakelib directory makes them available.
         | 
| 3 | 
            -
             | 
| 3 | 
            +
            abs_path = File.expand_path(__dir__)
         | 
| 4 | 
            +
            rakelib = "#{abs_path}/rakelib"
         | 
| 4 5 | 
             
            Rake.add_rakelib(rakelib)
         | 
    
        data/lib/rubocop/ruby1_9.rb
    CHANGED
    
    
    
        data/rubocop-lts/rspec.yml
    CHANGED
    
    
    
        data/rubocop-lts/ruby.yml
    CHANGED
    
    | @@ -5,6 +5,7 @@ | |
| 5 5 | 
             
            inherit_mode:
         | 
| 6 6 | 
             
              merge:
         | 
| 7 7 | 
             
                - Exclude
         | 
| 8 | 
            +
                - Include
         | 
| 8 9 |  | 
| 9 10 | 
             
            require:
         | 
| 10 11 | 
             
              # Loads the Standard Ruby suite of gems, and configures for rubocop-lts:
         | 
| @@ -21,10 +22,14 @@ require: | |
| 21 22 | 
             
              # RuboCop Gradual can be used in "Require mode", which is a way to replace rubocop with rubocop-gradual:
         | 
| 22 23 | 
             
              - rubocop/gradual/patch
         | 
| 23 24 |  | 
| 25 | 
            +
            # Rules are overridden in a LIFO stack.
         | 
| 26 | 
            +
            # If rubocop-shopify is loaded first, and standard-rubocop-lts after it,
         | 
| 27 | 
            +
            #   then rubocop-shopify's rules will take precedence.
         | 
| 28 | 
            +
            # This is the opposite of what you might expect.
         | 
| 29 | 
            +
            # Below: rubocop-shopify rules will override standard-rubocop-lts's (i.e. standard's) rules.
         | 
| 24 30 | 
             
            inherit_gem:
         | 
| 25 | 
            -
              standard-rubocop-lts: config/ruby-1.9.yml
         | 
| 26 | 
            -
              # shopify rules will override standard's rules.
         | 
| 27 31 | 
             
              rubocop-shopify: rubocop.yml
         | 
| 32 | 
            +
              standard-rubocop-lts: config/ruby-1.9.yml
         | 
| 28 33 |  | 
| 29 34 | 
             
            inherit_from:
         | 
| 30 35 | 
             
              - strict/ruby.yml
         | 
    
        data/rubocop.yml
    CHANGED
    
    
    
        data.tar.gz.sig
    CHANGED
    
    | Binary file | 
    
        metadata
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: rubocop-ruby1_9
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 2.0. | 
| 4 | 
            +
              version: 2.0.5
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Peter Boling
         | 
| @@ -36,7 +36,7 @@ cert_chain: | |
| 36 36 | 
             
              gwGrEXGQGDZ0NIgBcmvMOqlXjkGQwQvugKycJ024z89+fz2332vdZIKTrSxJrXGk
         | 
| 37 37 | 
             
              4/bR9A==
         | 
| 38 38 | 
             
              -----END CERTIFICATE-----
         | 
| 39 | 
            -
            date: 2023-05 | 
| 39 | 
            +
            date: 2023-06-05 00:00:00.000000000 Z
         | 
| 40 40 | 
             
            dependencies:
         | 
| 41 41 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 42 42 | 
             
              name: rubocop-gradual
         | 
| @@ -114,7 +114,7 @@ dependencies: | |
| 114 114 | 
             
                requirements:
         | 
| 115 115 | 
             
                - - ">="
         | 
| 116 116 | 
             
                  - !ruby/object:Gem::Version
         | 
| 117 | 
            -
                    version: 1.0. | 
| 117 | 
            +
                    version: 1.0.6
         | 
| 118 118 | 
             
                - - "<"
         | 
| 119 119 | 
             
                  - !ruby/object:Gem::Version
         | 
| 120 120 | 
             
                    version: '2'
         | 
| @@ -124,7 +124,7 @@ dependencies: | |
| 124 124 | 
             
                requirements:
         | 
| 125 125 | 
             
                - - ">="
         | 
| 126 126 | 
             
                  - !ruby/object:Gem::Version
         | 
| 127 | 
            -
                    version: 1.0. | 
| 127 | 
            +
                    version: 1.0.6
         | 
| 128 128 | 
             
                - - "<"
         | 
| 129 129 | 
             
                  - !ruby/object:Gem::Version
         | 
| 130 130 | 
             
                    version: '2'
         | 
| @@ -220,7 +220,7 @@ files: | |
| 220 220 | 
             
            - lib/rubocop/ruby1_9.rb
         | 
| 221 221 | 
             
            - lib/rubocop/ruby1_9/railtie.rb
         | 
| 222 222 | 
             
            - lib/rubocop/ruby1_9/rakelib/rubocop_gradual.rake
         | 
| 223 | 
            -
            - lib/rubocop/ruby1_9/tasks. | 
| 223 | 
            +
            - lib/rubocop/ruby1_9/tasks.rb
         | 
| 224 224 | 
             
            - lib/rubocop/ruby1_9/version.rb
         | 
| 225 225 | 
             
            - rubocop-lts/rails.yml
         | 
| 226 226 | 
             
            - rubocop-lts/rails_rspec.yml
         | 
| @@ -239,10 +239,10 @@ licenses: | |
| 239 239 | 
             
            - MIT
         | 
| 240 240 | 
             
            metadata:
         | 
| 241 241 | 
             
              homepage_uri: https://github.com/rubocop-lts/rubocop-ruby1_9
         | 
| 242 | 
            -
              source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v2.0. | 
| 243 | 
            -
              changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v2.0. | 
| 242 | 
            +
              source_code_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/tree/v2.0.5
         | 
| 243 | 
            +
              changelog_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/blob/v2.0.5/CHANGELOG.md
         | 
| 244 244 | 
             
              bug_tracker_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/issues
         | 
| 245 | 
            -
              documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/2.0. | 
| 245 | 
            +
              documentation_uri: https://www.rubydoc.info/gems/rubocop-ruby1_9/2.0.5
         | 
| 246 246 | 
             
              funding_uri: https://liberapay.com/pboling
         | 
| 247 247 | 
             
              wiki_uri: https://github.com/rubocop-lts/rubocop-ruby1_9/wiki
         | 
| 248 248 | 
             
              rubygems_mfa_required: 'true'
         | 
    
        metadata.gz.sig
    CHANGED
    
    | Binary file |