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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff32300e09112e977940a9e135f83bb7490b1137
4
- data.tar.gz: d766a6b27cdffff7a5bf7ba0be954eb446b2795e
3
+ metadata.gz: 10239b636d0a68acab049bd59ce937b950bab074
4
+ data.tar.gz: 8162ee3fabe6440cba610ec0e89ac52993f4266c
5
5
  SHA512:
6
- metadata.gz: 31c452ff7de48e747c2b50363f3936fdcd5dddb8fbb4119ca4866f21160f3cada355e90c18f40fa8cf58e0b570c3fa52278089aa02597d5952c4ef7dd20cfcea
7
- data.tar.gz: 3f67e3f6f9d4d3f907f304f418a262d8c01b700aa6164fef43f8b45c28631178686ae996ed1b667dc9a543c33e330724e0f1be0138f443933bd5a909596829dc
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
- INCOMPATIBLE_KEYS_ERROR = "Use either a Languages key or an Engines key, but not both. They are mutually exclusive.".freeze
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
- error INCOMPATIBLE_KEYS_ERROR
190
+ warning INCOMPATIBLE_KEYS_WARNING
191
191
  end
192
192
  end
193
193
 
@@ -1,5 +1,5 @@
1
1
  module CC
2
2
  module Yaml
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "0.2.1".freeze
4
4
  end
5
5
  end
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.0
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-24 00:00:00.000000000 Z
11
+ date: 2015-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: secure_string