rubocop_pr 0.2.0 → 0.2.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: 41140375dff6c844311e1bf2eea32974bdb78df0a703a117b0341eac7cb55928
4
- data.tar.gz: b0bbd0edc7b6f6e9f084442630fa4dcc78e8212789207770fd83904241e08eb8
3
+ metadata.gz: aef722f12c0f5f554bd332fc359161edf289e9585995e0b991ed8f55951dd9c3
4
+ data.tar.gz: 6fd6c986ed8a4c9549ac86e813fce081029a2cef663263cc69208887dfe4764c
5
5
  SHA512:
6
- metadata.gz: 01dfc86addb40874e9620b21233082cb093c6dca661accd2a451833730a78659e7bb147b2bc05afbccd1d742bdc301a95f126da010167ca9ff3fc1dfdee7b6c6
7
- data.tar.gz: 5bf1b5cfbda7db9805638583b6260124e846b1cd8b948eee499801b13bf9f0bf3ba1fba8a3fb6f7f2ba8bbeb927e9dd3a006a2371aa88cd423f81b63b9e1c31c
6
+ metadata.gz: fe66335b20d16dafff9f16e701af1189d5cb18acf0f26598b06643478f1d17a35729d997c2b1d26258ea7562c4cc5dad09eaf2133705743806566b7cd66d4bcc
7
+ data.tar.gz: b4d56f5d0b50393aa252671ab04cfb850c1df2eb8855fdf0bed9e18f8eaf8e2b3d1426ada8e0d9623a740dc0fd3f4594c751974da0723fe3a7f361b9174879f1
data/README.md CHANGED
@@ -7,7 +7,10 @@
7
7
 
8
8
  CLI Issues and PR creator for Rubocop Cops. 1 linter == 1 issue == 1 PR.
9
9
 
10
- With RubocopPr you can apply [Rubocop][rubocop_repo] clean and in a few minutes.
10
+ Simplify the inception or version bump of [Rubocop][rubocop_repo] on the project.
11
+
12
+ With RubocopPr you can apply [Rubocop][rubocop_repo] clean and in a few minutes,
13
+ see the [example][rubocop_pr_example].
11
14
 
12
15
  ## Requirements
13
16
 
@@ -49,7 +52,7 @@ Usage: rubocop_pr [options]
49
52
 
50
53
  #### Notes
51
54
 
52
- * `brach` option is useful, if you want to prepare the `.rubocop-todo.yml` manually and feed it to `rubocop_pr`
55
+ * `brach` option is useful, if you want to prepare the `.rubocop-todo.yml` manually and feed it to `rubocop_pr`.
53
56
  * `post-checkout` handy for old Ruby versions, when shell may "forget" Ruby version.
54
57
 
55
58
  ## Contributing
@@ -64,12 +67,11 @@ The gem is available as open source under the terms of the [MIT License][mit_lin
64
67
 
65
68
  Everyone interacting in the RubocopPr project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct][code_of_conduct_link].
66
69
 
67
-
68
70
  [rubocop_repo]: https://github.com/rubocop-hq/rubocop
69
71
  [contributor_covenant_link]: http://contributor-covenant.org
70
72
  [mit_link]: https://opensource.org/licenses/MIT
71
73
  [code_of_conduct_link]: https://github.com/[USERNAME]/rubocop_pr/blob/master/CODE_OF_CONDUCT.md
72
-
74
+ [rubocop_pr_example]: https://github.com/kvokka/rubocop_pr_example
73
75
  [travisci_badge]: https://travis-ci.org/kvokka/rubocop_pr.svg?branch=master
74
76
  [travisci]: https://travis-ci.org/kvokka/rubocop_pr
75
77
  [rubygems]: https://rubygems.org/gems/rubocop_pr
@@ -19,7 +19,7 @@ module RubocopPr
19
19
  def each
20
20
  git.checkout(branch)
21
21
  todos_backup = todo
22
- todos_backup.each_key do |cop|
22
+ todos_backup.keys.sort.reverse_each do |cop|
23
23
  git.checkout(branch)
24
24
  todos = todos_backup.dup
25
25
  todos.delete cop
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopPr
4
- VERSION = '0.2.0'.freeze
4
+ VERSION = '0.2.1'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_pr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - kvokka