koality 1.0.0 → 1.0.1
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.
data/README.md
CHANGED
@@ -106,18 +106,18 @@ Edit configuration or comment out lines to skip certain checks.
|
|
106
106
|
* I don't want to the build to fail if I exceed any thresholds. How do I
|
107
107
|
turn that off?
|
108
108
|
|
109
|
-
|
109
|
+
opts.abort_on_failure = false
|
110
110
|
|
111
111
|
* I only want to fail the build if there are over 10 ABC errors. How do
|
112
112
|
I set that up?
|
113
113
|
|
114
|
-
|
115
|
-
|
114
|
+
opts.abc_violations_threshold = 10
|
115
|
+
opts.total_violations_threshold = -1
|
116
116
|
|
117
117
|
* How do I keep style violations from breaking the build?
|
118
118
|
|
119
|
-
|
120
|
-
|
119
|
+
opts.style_violations_threshold = -1
|
120
|
+
opts.total_violations_threshold = -1
|
121
121
|
|
122
122
|
## Contributing
|
123
123
|
|
data/lib/koality/version.rb
CHANGED
@@ -22,7 +22,7 @@ describe Koality::Runner::RailsBestPractices do
|
|
22
22
|
rbp_opts = runner.rbp_options
|
23
23
|
|
24
24
|
rbp_opts['only'].should == [Regexp.new("app/controllers/.+\\.rb")]
|
25
|
-
rbp_opts['
|
25
|
+
rbp_opts['exclude'].should == [/app\/helpers\/foo_helper\.rb/]
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: koality
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails_best_practices
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project:
|
178
|
-
rubygems_version: 1.8.
|
178
|
+
rubygems_version: 1.8.24
|
179
179
|
signing_key:
|
180
180
|
specification_version: 3
|
181
181
|
summary: Runs opinionated code quality tools as part of you test stuite
|