rubocop-dynamic_methods 0.1.0

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.
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module RuboCop
4
+ module DynamicMethods
5
+ VERSION = "0.1.0"
6
+ end
7
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # The entry RuboCop loads through the lint_roller plugin: the cops and the
4
+ # plugin that hands RuboCop their default configuration.
5
+ require "lint_roller"
6
+ require_relative "dynamic_methods/version"
7
+ require_relative "dynamic_methods/plugin"
8
+ require_relative "dynamic_methods/rewrite"
9
+ require_relative "cop/dynamic_methods/reporting"
10
+ require_relative "cop/dynamic_methods/define_method"
11
+ require_relative "cop/dynamic_methods/string_eval"
12
+ require_relative "cop/dynamic_methods/method_missing"
13
+ require_relative "cop/dynamic_methods/delegation"
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubocop"
4
+ require_relative "rubocop/dynamic_methods"
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubocop-dynamic_methods
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - meganemura
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: lint_roller
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1.1'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '1.1'
26
+ - !ruby/object:Gem::Dependency
27
+ name: rubocop
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 1.72.0
33
+ - - "<"
34
+ - !ruby/object:Gem::Version
35
+ version: '2'
36
+ type: :runtime
37
+ prerelease: false
38
+ version_requirements: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.72.0
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: '2'
46
+ executables: []
47
+ extensions: []
48
+ extra_rdoc_files: []
49
+ files:
50
+ - CHANGELOG.md
51
+ - LICENSE
52
+ - README.ja.md
53
+ - README.md
54
+ - config/default.yml
55
+ - lib/rubocop-dynamic_methods.rb
56
+ - lib/rubocop/cop/dynamic_methods/define_method.rb
57
+ - lib/rubocop/cop/dynamic_methods/delegation.rb
58
+ - lib/rubocop/cop/dynamic_methods/method_missing.rb
59
+ - lib/rubocop/cop/dynamic_methods/reporting.rb
60
+ - lib/rubocop/cop/dynamic_methods/string_eval.rb
61
+ - lib/rubocop/dynamic_methods.rb
62
+ - lib/rubocop/dynamic_methods/plugin.rb
63
+ - lib/rubocop/dynamic_methods/rewrite.rb
64
+ - lib/rubocop/dynamic_methods/version.rb
65
+ homepage: https://github.com/meganemura/rubocop-dynamic_methods
66
+ licenses:
67
+ - MIT
68
+ metadata:
69
+ source_code_uri: https://github.com/meganemura/rubocop-dynamic_methods
70
+ changelog_uri: https://github.com/meganemura/rubocop-dynamic_methods/blob/main/CHANGELOG.md
71
+ bug_tracker_uri: https://github.com/meganemura/rubocop-dynamic_methods/issues
72
+ rubygems_mfa_required: 'true'
73
+ default_lint_roller_plugin: RuboCop::DynamicMethods::Plugin
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: 3.2.0
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 4.0.16
89
+ specification_version: 4
90
+ summary: RuboCop cops that rewrite dynamically defined methods as plain defs you can
91
+ search for.
92
+ test_files: []