rubocop-safe_todo_searcher 0.1.0 → 0.1.1

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: 96c27e06a46993a92b6c392cb251bfd0ee2e1a2da0c0f13743d5aa24e320ff45
4
- data.tar.gz: 178c7f3dbe3c82f1bfa0323e0843fbaa09fdc7f64d2129bc103740adcf8d783e
3
+ metadata.gz: 28cb4cdd395182a2e4ac5da05e630ab5a71ed1f8ef724e5ecc22b2f8cf5d68fb
4
+ data.tar.gz: 767910bdab35e8a6fd99d0af5860a2e0dd74b4da02671985a3022045b4ba7247
5
5
  SHA512:
6
- metadata.gz: c94692945345221ff73261537998a8a13ab4d1aa09481f3390b2457b610d834805ea04a7e4804f87e7d5394da524e58ba72b8c3dbc1df53d2f239d7f0cb0a564
7
- data.tar.gz: 72ebf8881ae2f52c93e0a099dc786e780ff84c500546e3121b19ef1766ee49a32147cc1f38e6fd9b8d6508712a3737b7714919aee74c0aabe43cefb7c2d130db
6
+ metadata.gz: f1b191a2a688d32a880510a2791f98a289c1a256864b62ca29c0b36b9dec69cae249ef541af5ca0b6b54760d050254e37b6c702ce626202c5b61e6f0213f9ccb
7
+ data.tar.gz: 7155c18638f0b7af8a170867c40bf1bca07608ac73e01d8e979c83e726b0f25ba054ed0a2225a793f9dce27916d897d3719993df558fd400a2eae2373eeff3b0
data/Gemfile CHANGED
@@ -4,9 +4,3 @@ source "https://rubygems.org"
4
4
 
5
5
  # Specify your gem's dependencies in rubocop-safe_todo_searcher.gemspec
6
6
  gemspec
7
-
8
- gem "rake", "~> 13.0"
9
-
10
- gem "rspec", "~> 3.0"
11
-
12
- gem "rubocop", "~> 1.21"
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
- # Rubocop::SafeTodoSearcher
1
+ # Rubocop SafeTodoSearcher [![Gem Version](https://badge.fury.io/rb/rubocop-safe_todo_searcher.svg)](https://badge.fury.io/rb/rubocop-safe_todo_searcher) [![Maintainability](https://api.codeclimate.com/v1/badges/38a1dd096ef8135421af/maintainability)](https://codeclimate.com/github/ydah/rubocop-safe_todo_searcher/maintainability)
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/safe_todo_searcher`. To experiment with that code, run `bin/console` for an interactive prompt.
4
-
5
- TODO: Delete this and the text above, and describe your gem
3
+ Search `rubocop_todo.yml` to see if there are any cop that can be resolved with auto correct.
4
+ If you want to know if the pending remarks in your `rubocop_todo.yml `can be deleted automatically, please use it.
6
5
 
7
6
  ## Installation
8
7
 
@@ -16,13 +15,11 @@ And then execute:
16
15
 
17
16
  $ bundle install
18
17
 
19
- Or install it yourself as:
20
-
21
- $ gem install rubocop-safe_todo_searcher
22
-
23
18
  ## Usage
24
19
 
25
- TODO: Write usage instructions here
20
+ After installation, run the following on the command line.
21
+
22
+ $ safe-search
26
23
 
27
24
  ## Development
28
25
 
@@ -32,7 +29,12 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
29
 
33
30
  ## Contributing
34
31
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rubocop-safe_todo_searcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/rubocop-safe_todo_searcher/blob/master/CODE_OF_CONDUCT.md).
32
+ 1. Fork it
33
+ 1. Create your feature branch (`git checkout -b my-new-feature`)
34
+ 1. Test it (`rake spec`)
35
+ 1. Commit your changes (`git commit -am 'Add some feature'`)
36
+ 1. Push to the branch (`git push origin my-new-feature`)
37
+ 1. Send a pull request :)
36
38
 
37
39
  ## License
38
40
 
@@ -40,4 +42,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
40
42
 
41
43
  ## Code of Conduct
42
44
 
43
- Everyone interacting in the Rubocop::SafeTodoSearcher project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/rubocop-safe_todo_searcher/blob/master/CODE_OF_CONDUCT.md).
45
+ Everyone interacting in the Rubocop::SafeTodoSearcher project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/ydah/rubocop-safe_todo_searcher/blob/master/CODE_OF_CONDUCT.md).
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module SafeTodoSearcher
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
@@ -1,4 +1,5 @@
1
1
  require "rubocop"
2
+ require "rubocop-rails"
2
3
  require "yaml"
3
4
  require_relative "safe_todo_searcher/version"
4
5
 
@@ -14,7 +15,7 @@ module Rubocop
14
15
  rescue StandardError
15
16
  nil
16
17
  end
17
- print res
18
+ res
18
19
  end
19
20
  end
20
21
  end
metadata CHANGED
@@ -1,15 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-safe_todo_searcher
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - "ydah\n\n"
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-27 00:00:00.000000000 Z
12
- dependencies: []
11
+ date: 2021-12-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.21'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.21'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '13.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '13.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
13
69
  description: Search for Cops that can be automatically modified among the Cops listed
14
70
  in .rubocop_todo.yml.
15
71
  email:
@@ -38,7 +94,7 @@ licenses:
38
94
  - MIT
39
95
  metadata:
40
96
  homepage_uri: https://github.com/ydah/rubocop-safe_todo_searcher
41
- source_code_uri: https://github.com/ydah/rubocop-safe_todo_searcherß
97
+ source_code_uri: https://github.com/ydah/rubocop-safe_todo_searcher
42
98
  changelog_uri: https://github.com/ydah/rubocop-safe_todo_searcher/blob/main/CHANGELOG.md
43
99
  post_install_message:
44
100
  rdoc_options: []