codeclimate-yaml 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cc/yaml/nodes/mapping.rb +2 -2
- data/lib/cc/yaml/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10239b636d0a68acab049bd59ce937b950bab074
|
4
|
+
data.tar.gz: 8162ee3fabe6440cba610ec0e89ac52993f4266c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba460f2fcc63048f42ee4c3b9479dfde5addb24635d5d3e9ef77c1285179d64918f364a99b98b9aade896770bfe8462505a5d6d36b2bb9ceb5e8b26be3d065d4
|
7
|
+
data.tar.gz: 4722e1bb0d1aab71bb58b431f53c821dde8ca03f5f7deb88b5dbae60d6bd39599964eab9f6f15f1f9ac947bd8723470c110a87dc7418de24b129507ed214b0ec
|
@@ -1,7 +1,7 @@
|
|
1
1
|
module CC::Yaml
|
2
2
|
module Nodes
|
3
3
|
class Mapping < Node
|
4
|
-
|
4
|
+
INCOMPATIBLE_KEYS_WARNING = "Use either a Languages key or an Engines key, but not both. They are mutually exclusive.".freeze
|
5
5
|
|
6
6
|
def self.mapping
|
7
7
|
@mapping ||= superclass.respond_to?(:mapping) ? superclass.mapping.dup : {}
|
@@ -187,7 +187,7 @@ module CC::Yaml
|
|
187
187
|
|
188
188
|
def check_incompatibility(key)
|
189
189
|
if creates_incompatibility?(key)
|
190
|
-
|
190
|
+
warning INCOMPATIBLE_KEYS_WARNING
|
191
191
|
end
|
192
192
|
end
|
193
193
|
|
data/lib/cc/yaml/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codeclimate-yaml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code Climate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: secure_string
|