stylr 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/Rakefile +1 -1
- data/lib/stylr/version.rb +1 -1
- data/spec/lint_spec.rb +2 -2
- data/spec/txt/sample_fail5.rb +1 -1
- data/stylr.yml +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f11d9d241f07e4f320dc3d67108124c128ac9972
|
4
|
+
data.tar.gz: e2f885f242ba6185b50b93ebe1d9c1f076578d29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3339314a4a7593582bc04b2bceef87c2a3cd84ac41cb6378ebf09b0df4750464a5d3ba1330046d14d0ba644b66770c5811bc1fea3ddca2101cae7411df6704bc
|
7
|
+
data.tar.gz: 10980f96973dfd29b4b7ec15b38a2b4baf1603b4f63f239931d90525fca39fc7b32a6497da25ac5febc5a3fd76a471407c14f8c9adcfd94f7dc54ac5883bce15
|
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
data/lib/stylr/version.rb
CHANGED
data/spec/lint_spec.rb
CHANGED
@@ -186,8 +186,8 @@ module Stylr
|
|
186
186
|
end
|
187
187
|
|
188
188
|
context "line_too_long" do
|
189
|
-
it "dislikes lines of >=
|
190
|
-
l.line_too_long_violation?("#{'a' *
|
189
|
+
it "dislikes lines of >= some number of chars" do
|
190
|
+
l.line_too_long_violation?("#{'a' * l.instance_variable_get(:@config)["line_length"]}").should be_true
|
191
191
|
end
|
192
192
|
end
|
193
193
|
|
data/spec/txt/sample_fail5.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Foo
|
2
2
|
"""
|
3
|
-
|
3
|
+
TENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERSTENLETTERS
|
4
4
|
"""
|
5
5
|
end
|
data/stylr.yml
CHANGED