dead_code_detector 0.0.11 → 0.0.12

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: 2b4f7f42c5f2d8764222099b8c490898dfc9c75d8b8223b09c13c065a9d1acc8
4
- data.tar.gz: 0407b8f7e3a8e5acc55eb1c8121637ed97017208d868b82d5127f901318aa903
3
+ metadata.gz: b1e25ae55d24dbc0c957f819cbe68bb4db71d71fba805505b3a72db1d8446426
4
+ data.tar.gz: 46ab5c442af8cfbe750e7fd596fd0f4816d417ccfb424f28f19add022f0a1f53
5
5
  SHA512:
6
- metadata.gz: 7dbe80ea179ff3215fcffd403a9750ef4d5cf3617249beb5b516222dcfa56b3ef65729d67c27d8bf4ae9d89ee70a934e7ea9d1e961406411e6c732fc63035048
7
- data.tar.gz: cb047ce6a066dd8884dc13f6f2f0259120ce9071c91662aa58bea84bc77609eb252702af96bfbe2f3ec91ab78e3aa63cf02cf55908f105e678b9c28c5ce46091
6
+ metadata.gz: 0ba9ee6774898c90413e24aacccc82bb40be0a6a1af54018f2c1ba0f99a6bb8df02b4c7f568745feaeef88dcad17fb5af42fb3a30bfbdcf09575d1ca92f286f1
7
+ data.tar.gz: 274a69dba37db8a83851bc4021ae9d5da98252901ae0e990466d66bf0888af1f89fc21c7ffcd80c44db1e7e5a2585b3e7e104e425a1f0093f48715b88d29028b
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dead_code_detector (0.0.10)
4
+ dead_code_detector (0.0.12)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
9
  byebug (11.0.1)
10
10
  diff-lcs (1.3)
11
- rake (10.5.0)
11
+ rake (13.0.1)
12
12
  rspec (3.7.0)
13
13
  rspec-core (~> 3.7.0)
14
14
  rspec-expectations (~> 3.7.0)
@@ -30,7 +30,7 @@ DEPENDENCIES
30
30
  bundler (~> 1.17)
31
31
  byebug
32
32
  dead_code_detector!
33
- rake (~> 10.0)
33
+ rake (~> 13.0)
34
34
  rspec (~> 3.0)
35
35
 
36
36
  BUNDLED WITH
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.require_paths = ["lib"]
34
34
 
35
35
  spec.add_development_dependency "bundler", "~> 1.17"
36
- spec.add_development_dependency "rake", "~> 10.0"
36
+ spec.add_development_dependency "rake", "~> 13.0"
37
37
  spec.add_development_dependency "rspec", "~> 3.0"
38
38
  spec.add_development_dependency "byebug"
39
39
  end
@@ -24,7 +24,7 @@ module DeadCodeDetector
24
24
 
25
25
  def wrap_method(original_method)
26
26
  original_class = klass
27
- klass.define_singleton_method(original_method.name) do |*args, &block|
27
+ klass.define_singleton_method(original_method.name) do |*args, **kwargs, &block|
28
28
  begin
29
29
  DeadCodeDetector::ClassMethodWrapper.unwrap_method(original_class, original_method)
30
30
  rescue StandardError => e
@@ -39,7 +39,7 @@ module DeadCodeDetector
39
39
  # is calling the method
40
40
  unbound_method = original_method.unbind
41
41
  method_bound_to_caller = unbound_method.bind(self)
42
- method_bound_to_caller.call(*args, &block)
42
+ method_bound_to_caller.call(*args, **kwargs, &block)
43
43
  end
44
44
  end
45
45
 
@@ -24,7 +24,7 @@ module DeadCodeDetector
24
24
 
25
25
  def wrap_method(original_method)
26
26
  original_class = klass
27
- klass.send(:define_method, original_method.name) do |*args, &block|
27
+ klass.send(:define_method, original_method.name) do |*args, **kwargs, &block|
28
28
  begin
29
29
  DeadCodeDetector::InstanceMethodWrapper.unwrap_method(original_class, original_method)
30
30
  rescue StandardError => e
@@ -33,7 +33,7 @@ module DeadCodeDetector
33
33
  end
34
34
  end
35
35
  method_bound_to_caller = original_method.bind(self)
36
- method_bound_to_caller.call(*args, &block)
36
+ method_bound_to_caller.call(*args, **kwargs, &block)
37
37
  end
38
38
  end
39
39
 
@@ -1,3 +1,3 @@
1
1
  module DeadCodeDetector
2
- VERSION = "0.0.11"
2
+ VERSION = "0.0.12"
3
3
  end
data/overlord.yml ADDED
@@ -0,0 +1 @@
1
+ tier: 4
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dead_code_detector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle d'Oliveira
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-18 00:00:00.000000000 Z
11
+ date: 2023-09-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '13.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -96,13 +96,14 @@ files:
96
96
  - lib/dead_code_detector/storage/memory_backend.rb
97
97
  - lib/dead_code_detector/storage/redis_backend.rb
98
98
  - lib/dead_code_detector/version.rb
99
+ - overlord.yml
99
100
  homepage: https://github.com/clio/dead_code_detector
100
101
  licenses:
101
102
  - MIT
102
103
  metadata:
103
104
  homepage_uri: https://github.com/clio/dead_code_detector
104
105
  source_code_uri: https://github.com/clio/dead_code_detector
105
- post_install_message:
106
+ post_install_message:
106
107
  rdoc_options: []
107
108
  require_paths:
108
109
  - lib
@@ -117,8 +118,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
117
118
  - !ruby/object:Gem::Version
118
119
  version: '0'
119
120
  requirements: []
120
- rubygems_version: 3.0.3
121
- signing_key:
121
+ rubygems_version: 3.2.33
122
+ signing_key:
122
123
  specification_version: 4
123
124
  summary: Help find unused code in production.
124
125
  test_files: []