pronto 0.8.1 → 0.8.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aaeb87265191eb83028cbb2472b1420ee19377d9
4
- data.tar.gz: 19c3d10ff59f8a50f1d179023579ccfda4a4284c
3
+ metadata.gz: fcfa0272ff5c7843fd8324ad6501712d4b44f0d2
4
+ data.tar.gz: 9307ded530f2ff112a815288f26eef50d4c94980
5
5
  SHA512:
6
- metadata.gz: b10a90fd0bd0d9289bb1989b91e61eb1d0ed0026860bd4056729247fddea2bea9631ca645492e40f67434be185afff16f579888410ce00cebe14e2891cdc5f7e
7
- data.tar.gz: bdfb4bc6140b8d65b7dfddbe70b663410adb9476eec31d566256811b2b128ac1f0864790298ce7ebe941f22ff34c542a6b21407c458d1b41536d489a7055c317
6
+ metadata.gz: 7005406729f52f4f2e8c350be4c3cb061a1c38d3647eb006f17079f62c375149615e8d748766a310e277d0057cd67dcf6ba7bc07cd4958ce07b2231733bd47ee
7
+ data.tar.gz: 43b1369e95053918c26518c41f6f2bfb310edfc7d028d8a2067c0c69ce5872c77cacbadfee602c783ef37afd39f62f0d69de461b8ea93a8e1fcc5bc60f0bc021
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.2
4
+
5
+ ### Bugs fixed
6
+
7
+ * [#203](https://github.com/mmozuras/pronto/pull/203): fix unintentional class conversion that led to exclude config option not working.
8
+
3
9
  ## 0.8.1
4
10
 
5
11
  ### Changes
data/README.md CHANGED
@@ -257,6 +257,7 @@ Articles to help you to get started:
257
257
  * [Free automated code reviews using Pronto](https://hovancik.net/blog/2016/04/11/free-automated-code-reviews-using-pronto.html)
258
258
  * [Automated Elixir code review with Github, Credo and Travis CI](https://medium.com/fazibear/automated-elixir-code-review-with-github-credo-and-travis-ci-986cd56b8f02)
259
259
  * [Running Rubocop before git commit](https://christoph.luppri.ch/articles/2016/11/21/running-rubocop-before-git-commit/)
260
+ * [Pronto, Codeship and GitHub for automatic code review](http://abinoam.tl1n.com/pronto-codeship-and-github-for-automatic-code-review/)
260
261
 
261
262
  Make a Pull Request to add something you wrote or found useful.
262
263
 
@@ -28,9 +28,10 @@ module Pronto
28
28
  def reject_excluded(excluded_files, patches)
29
29
  return patches unless excluded_files.any?
30
30
 
31
- patches.reject do |patch|
31
+ patches.reject! do |patch|
32
32
  excluded_files.include?(patch.new_file_full_path.to_s)
33
33
  end
34
+ patches
34
35
  end
35
36
 
36
37
  def exceeds_max?(warnings)
@@ -1,6 +1,6 @@
1
1
  module Pronto
2
2
  module Version
3
- STRING = '0.8.1'.freeze
3
+ STRING = '0.8.2'.freeze
4
4
 
5
5
  MSG = '%s (running on %s %s %s)'.freeze
6
6
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pronto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-19 00:00:00.000000000 Z
11
+ date: 2017-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rugged