yamllint 0.0.5 → 0.0.6
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/lib/yamllint/linter.rb +1 -3
- data/lib/yamllint/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 994ab5e88dd44f839783c37dc58fa10e903e5597
|
4
|
+
data.tar.gz: bae8d036bc69dc4e69632712537e5bacdf66917e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9299b517e2f053295d3d25f8c5d9d1e0997bc3506b6215a65f241d0cdc6dc0709aa7cdce8f0c1e5eca4366a189fbcca84e998fb8975fe29273efa944163cdd39
|
7
|
+
data.tar.gz: 7f4a60a6f1ee607d5320c9159ff7858b1d74dedfb48aaff074a21eb81a45be0df066e86ec6b2611fa0b08fd4889219b66a0dafb6875ae859a7533276453f2795
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,10 @@ YamlLint gem CHANGELOG
|
|
2
2
|
======================
|
3
3
|
This file is used to list changes made in each version of the YamlLint gem.
|
4
4
|
|
5
|
+
v0.0.6 (2015-05-13)
|
6
|
+
-------------------
|
7
|
+
- **[ISSUE #7](https://github.com/shortdudey123/yamllint/issues/7)** - Detects dupe keys on arrays of hashes (**Proper fix**)
|
8
|
+
|
5
9
|
v0.0.5 (2015-05-05)
|
6
10
|
-------------------
|
7
11
|
- **[ISSUE #7](https://github.com/shortdudey123/yamllint/issues/7)** - Detects dupe keys on arrays of hashes
|
data/lib/yamllint/linter.rb
CHANGED
@@ -141,10 +141,8 @@ module YamlLint
|
|
141
141
|
|
142
142
|
# Get the data and send it off for duplicate key validation
|
143
143
|
def parse(psych_parse_data)
|
144
|
-
data_start = psych_parse_data.handler.root.children[0]
|
145
|
-
hash_start('')
|
144
|
+
data_start = psych_parse_data.handler.root.children[0]
|
146
145
|
parse_recurse(data_start)
|
147
|
-
hash_end('')
|
148
146
|
end
|
149
147
|
|
150
148
|
private
|
data/lib/yamllint/version.rb
CHANGED
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.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Grant Ridder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: trollop
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.
|
186
|
+
rubygems_version: 2.4.5
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: YAML lint checker
|