fasterer 0.8.2 → 0.8.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +4 -0
- data/fasterer.gemspec +1 -1
- data/lib/fasterer/file_traverser.rb +3 -1
- data/lib/fasterer/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f034843786e7cee53d687077a726c3cd461fa968e746c096714796c8e0592e4e
|
4
|
+
data.tar.gz: 3881781bd8b9dd100e4897b1494ca534450b5e4dbe32f8a1e2aa4b2618fd1588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d4c7f7599f75d1357aabdbbbd1e14c672dad0cd425e24a1ca2e4da0b496d20a943c94c948551ba184fc35e7cd28e98c27a302af6c73003def33c5c803cfd8b0
|
7
|
+
data.tar.gz: 18647f36ae51e4b404530cf5f4c81c639fb3bc0593063b5cfd6cd1fc4617add2f4267cd395856d7199f0d5ff06fd121d8270f34d81d7a49b7ef6c1c2b975d728
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.8.3
|
4
|
+
|
5
|
+
- Merged in [#79](https://github.com/DamirSvrtan/fasterer/pull/79), a PR that makes sure the output is green when there are no failures.
|
6
|
+
|
3
7
|
## 0.8.2
|
4
8
|
|
5
9
|
- Fixes [#77](https://github.com/DamirSvrtan/fasterer/issues/77). An error occurs on the symbol to proc check when somebody invokes a method with no arguments on an array or range inside of the inspected block. Seems like a bug in the inspected code, but nevertheless it is a code path we need to support.
|
data/README.md
CHANGED
@@ -100,6 +100,10 @@ as part of a larger framework.
|
|
100
100
|
[danger](https://github.com/danger/danger) framework for pull requests
|
101
101
|
on Github, Gitlab, and BitBucket.
|
102
102
|
|
103
|
+
* https://github.com/vk26/action-fasterer
|
104
|
+
|
105
|
+
Github-action for running fasterer via [reviewdog](https://github.com/reviewdog/reviewdog). Reviewdog provides a way to post review comments in pull requests.
|
106
|
+
|
103
107
|
## Speedups TODO:
|
104
108
|
|
105
109
|
4. find vs bsearch
|
data/fasterer.gemspec
CHANGED
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
|
|
25
25
|
|
26
26
|
spec.add_development_dependency 'bundler', '>= 1.6'
|
27
27
|
spec.add_development_dependency 'pry', '~> 0.10'
|
28
|
-
spec.add_development_dependency 'rake', '
|
28
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
29
29
|
spec.add_development_dependency 'rspec', '~> 3.2'
|
30
30
|
spec.add_development_dependency 'simplecov', '~> 0.9'
|
31
31
|
end
|
@@ -155,12 +155,14 @@ module Fasterer
|
|
155
155
|
end
|
156
156
|
|
157
157
|
def offenses_found_output
|
158
|
+
color = @offenses_found_count.zero? ? :green : :red
|
158
159
|
"#{@offenses_found_count} #{pluralize(@offenses_found_count, 'offense')} detected"
|
159
|
-
.colorize(
|
160
|
+
.colorize(color)
|
160
161
|
end
|
161
162
|
|
162
163
|
def unparsable_files_output
|
163
164
|
return if @unparsable_files_count.zero?
|
165
|
+
|
164
166
|
"#{@unparsable_files_count} unparsable #{pluralize(@unparsable_files_count, 'file')} found"
|
165
167
|
.colorize(:red)
|
166
168
|
end
|
data/lib/fasterer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fasterer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Damir Svrtan
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 12.3.3
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 12.3.3
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|