yamllint 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +9 -2
- data/CHANGELOG.md +6 -0
- data/lib/yamllint/linter.rb +1 -1
- data/lib/yamllint/rake_task.rb +1 -0
- data/lib/yamllint/version.rb +1 -1
- data/spec/linter_spec.rb +3 -1
- metadata +2 -3
- data/.rubocop_todo.yml +0 -28
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa99ae67fae5cb65b02b1053b258d5dd81e7a995
|
4
|
+
data.tar.gz: f19e3a55b054e2a0b8c79370de83ef61812fe637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccd899d9c3a3e4c51bdbd02069e96fd57ab4d3c50b8d1ee2a98699a08f12f78c07e3a352c3a17b6861c004e74c446c84e53c18427a0d0f51d4045a0bcad73dcb
|
7
|
+
data.tar.gz: 0f7121a93288c34fd8f5293ac4496ca5b46f70379e7521fa3d355d7f1c3579855ecc31459206ed0cbe7bc7acb98bb46d2c8446e8db240916accbb80b1d518daa
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -5,6 +5,12 @@ This file is used to list changes made in each version of the YamlLint gem.
|
|
5
5
|
Unreleased
|
6
6
|
-------------------
|
7
7
|
|
8
|
+
v0.0.9 (2016-09-16)
|
9
|
+
-------------------
|
10
|
+
- **[PR #24](https://github.com/shortdudey123/yamllint/pull/24)** - Update RSpec raise_error to be more specific
|
11
|
+
- **[PR #25](https://github.com/shortdudey123/yamllint/pull/25)** - Fix bug with files_to_exclude puts in Rake Task
|
12
|
+
- **[PR #26](https://github.com/shortdudey123/yamllint/pull/26)** - Clean up Rubocop cop settings
|
13
|
+
|
8
14
|
v0.0.8 (2016-07-10)
|
9
15
|
-------------------
|
10
16
|
- **[PR #13](https://github.com/shortdudey123/yamllint/pull/13)** - Update Ruby syntax per Rubocop v0.37.0
|
data/lib/yamllint/linter.rb
CHANGED
data/lib/yamllint/rake_task.rb
CHANGED
data/lib/yamllint/version.rb
CHANGED
data/spec/linter_spec.rb
CHANGED
@@ -9,7 +9,9 @@ describe 'YamlLint::Linter' do
|
|
9
9
|
end
|
10
10
|
|
11
11
|
it 'should throw an exception if given a bogus path' do
|
12
|
-
expect { linter.check('/does/not/exist') }.to raise_error
|
12
|
+
expect { linter.check('/does/not/exist') }.to raise_error(
|
13
|
+
YamlLint::FileNotFoundError
|
14
|
+
)
|
13
15
|
end
|
14
16
|
|
15
17
|
it 'should be happy with a valid YAML file' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yamllint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Ridder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|
@@ -133,7 +133,6 @@ files:
|
|
133
133
|
- ".gitignore"
|
134
134
|
- ".rspec"
|
135
135
|
- ".rubocop.yml"
|
136
|
-
- ".rubocop_todo.yml"
|
137
136
|
- ".travis.yml"
|
138
137
|
- CHANGELOG.md
|
139
138
|
- Gemfile
|
data/.rubocop_todo.yml
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
# This configuration was generated by `rubocop --auto-gen-config`
|
2
|
-
# on 2015-01-15 14:42:13 -0800 using RuboCop version 0.28.0.
|
3
|
-
# The point is for the user to remove these configuration records
|
4
|
-
# one by one as the offenses are removed from the code base.
|
5
|
-
# Note that changes in the inspected code, or installation of new
|
6
|
-
# versions of RuboCop, may require this file to be generated again.
|
7
|
-
|
8
|
-
# Offense count: 1
|
9
|
-
Metrics/AbcSize:
|
10
|
-
Max: 39
|
11
|
-
|
12
|
-
# Offense count: 1
|
13
|
-
# Configuration parameters: CountComments.
|
14
|
-
Metrics/ClassLength:
|
15
|
-
Max: 104
|
16
|
-
|
17
|
-
# Offense count: 1
|
18
|
-
Metrics/CyclomaticComplexity:
|
19
|
-
Max: 9
|
20
|
-
|
21
|
-
# Offense count: 3
|
22
|
-
# Configuration parameters: CountComments.
|
23
|
-
Metrics/MethodLength:
|
24
|
-
Max: 28
|
25
|
-
|
26
|
-
# Offense count: 1
|
27
|
-
Style/DoubleNegation:
|
28
|
-
Enabled: false
|