rfix 2.0.3 → 2.0.4

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: 7ac1632bee051f7a05dbe0e2e0888f1893bb9ca3461d7c1a80f931408bc9b33b
4
- data.tar.gz: acbbb7c686c65dbc8ea94d3469d4ec0e3ffbd4a319115b9067fd5992324005c8
3
+ metadata.gz: 66e6b7496f3ebaeaf53eeb228174761dffe2b1aa2a6bb9c2cf1a216dcf8f6ec7
4
+ data.tar.gz: 7c9d47278a8d71226afb731d673f31701db9e940b215f75c29055759edc46b08
5
5
  SHA512:
6
- metadata.gz: 91a8dd49f1e6e6f8e2c13a30bc2f7c0f8706ccf4ab2b6e9ebb84909f41736bd0566b92b707715d9c3485753506bf9911ac4eedeeeb4db42ab455ebc2b42c9e42
7
- data.tar.gz: 66bf68ed5b1516d3477d22fde82209ed96d51875c0d87982c1477197555990906bcc7babbd8b1c74cb57d46dc0a5d63fc7d785de56064151af4e973e1d6f6d8e
6
+ metadata.gz: 6bbd5525b43116a769b127bf2550ad4aa77ccf3c2f1adec696abf6e8feff46c5a1d6b241bd23bec3c699d3d0dc138a71ea571e5145acd007a57385888d50219f
7
+ data.tar.gz: 9cc4eb38f99db4f0a478450dbf9f689a920a002ee20b1ad806d4ee725c3f27db465ac9e85d67a6a6fd47f8787c70e5fbd38f2dfcc8508c25671ad09223fdb3fe
@@ -18,8 +18,8 @@ module Rfix
18
18
 
19
19
  class RuboCop::CommentConfig
20
20
  concerning :Verification, prepend: true do
21
- def cop_enabled_at_line?(cop, line)
22
- repository.include?(processed_source.file_path, line) && super(cop, line)
21
+ def cop_enabled_at_line?(_, line)
22
+ repository.include?(processed_source.file_path, line)
23
23
  rescue StandardError => e
24
24
  abort e.full_message(highlight: true)
25
25
  end
data/lib/rfix/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rfix
4
- VERSION = "2.0.3"
4
+ VERSION = "2.0.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander