codeclimate-yaml 0.10.3 → 0.11.0

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: a6c185e4eca404577b153017f8a5bffbb701811d
4
- data.tar.gz: d7f5196f34dcc99eec5b7f53d93b61d1be933f7a
3
+ metadata.gz: 29a46bf62a931500987dafd5c51a21d9eba10603
4
+ data.tar.gz: c61525b5d28bf72ed0cbed48fcb1b1d48c28c455
5
5
  SHA512:
6
- metadata.gz: 42913ca62fcbe2aa7fefff7a0f9fb07d1d6b53040320ea51effa8e6d829f8651b9ca6fea9667e710e0dce7487cf7766cd50e9b72bb617b0283db4f8d77dfd10d
7
- data.tar.gz: 2633fe77c01a280321b437001af95f6d9eeb16c69882b5607c7334bf73f60106ed053545ffd05a1cc3e43e16a781c32bed1513e0ae71489e479dc0490606a35f
6
+ metadata.gz: 38059823e0f185f7a12d2dad8365da557796d32cc2e2516832f1cf04c0e395872ed5a4b705c1583ca937dcee61aef759892be276e56f36fff9e6012ae8d6ccae
7
+ data.tar.gz: 8de327310de9c3c5034ca925f7f069fa3b37b535716f59702fb881799ec105fd912cb00b29f155bd04310648878baf28b1727577555b3e970c993e8dd5b4cb42
@@ -3,12 +3,12 @@ module CC
3
3
  module Nodes
4
4
  autoload :Check, "cc/yaml/nodes/check"
5
5
  autoload :Checks, "cc/yaml/nodes/checks"
6
- autoload :Dependencies, "cc/yaml/nodes/dependencies"
6
+ autoload :Prepare, "cc/yaml/nodes/prepare"
7
7
  autoload :Engine, "cc/yaml/nodes/engine"
8
8
  autoload :EngineConfig, "cc/yaml/nodes/engine_config"
9
9
  autoload :EngineList, "cc/yaml/nodes/engine_list"
10
- autoload :FileDependency, "cc/yaml/nodes/file_dependency"
11
- autoload :FileDependencyList, "cc/yaml/nodes/file_dependency_list"
10
+ autoload :Fetch, "cc/yaml/nodes/fetch"
11
+ autoload :FetchList, "cc/yaml/nodes/fetch_list"
12
12
  autoload :Glob, "cc/yaml/nodes/glob"
13
13
  autoload :GlobList, "cc/yaml/nodes/glob_list"
14
14
  autoload :LanguageList, "cc/yaml/nodes/language_list"
@@ -4,7 +4,7 @@ require "pathname"
4
4
  module CC
5
5
  module Yaml
6
6
  module Nodes
7
- class FileDependency < Mapping
7
+ class Fetch < Mapping
8
8
  INVALID_URL_ERROR = "invalid URL: %s".freeze
9
9
  EMPTY_PATH_ERROR = "path cannot be empty".freeze
10
10
  ABSOLUTE_PATH_ERROR = "absolute path \"%s\" is invalid".freeze
@@ -0,0 +1,9 @@
1
+ module CC
2
+ module Yaml
3
+ module Nodes
4
+ class FetchList < Sequence
5
+ type Fetch
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,9 @@
1
+ module CC
2
+ module Yaml
3
+ module Nodes
4
+ class Prepare < Mapping
5
+ map :fetch, to: FetchList
6
+ end
7
+ end
8
+ end
9
+ end
@@ -5,7 +5,7 @@ module CC
5
5
  module Yaml
6
6
  module Nodes
7
7
  class Root < Mapping
8
- map :dependencies, to: Dependencies
8
+ map :prepare, to: Prepare
9
9
  map :engines, to: EngineList
10
10
  map :exclude_paths, to: GlobList
11
11
  map :languages, to: LanguageList
@@ -1,5 +1,5 @@
1
1
  module CC
2
2
  module Yaml
3
- VERSION = "0.10.3".freeze
3
+ VERSION = "0.11.0".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.10.3
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code Climate
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-10 00:00:00.000000000 Z
11
+ date: 2016-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: secure_string
@@ -48,12 +48,11 @@ files:
48
48
  - lib/cc/yaml/nodes.rb
49
49
  - lib/cc/yaml/nodes/check.rb
50
50
  - lib/cc/yaml/nodes/checks.rb
51
- - lib/cc/yaml/nodes/dependencies.rb
52
51
  - lib/cc/yaml/nodes/engine.rb
53
52
  - lib/cc/yaml/nodes/engine_config.rb
54
53
  - lib/cc/yaml/nodes/engine_list.rb
55
- - lib/cc/yaml/nodes/file_dependency.rb
56
- - lib/cc/yaml/nodes/file_dependency_list.rb
54
+ - lib/cc/yaml/nodes/fetch.rb
55
+ - lib/cc/yaml/nodes/fetch_list.rb
57
56
  - lib/cc/yaml/nodes/glob.rb
58
57
  - lib/cc/yaml/nodes/glob_list.rb
59
58
  - lib/cc/yaml/nodes/language_list.rb
@@ -61,6 +60,7 @@ files:
61
60
  - lib/cc/yaml/nodes/nested_config.rb
62
61
  - lib/cc/yaml/nodes/node.rb
63
62
  - lib/cc/yaml/nodes/open_mapping.rb
63
+ - lib/cc/yaml/nodes/prepare.rb
64
64
  - lib/cc/yaml/nodes/ratings.rb
65
65
  - lib/cc/yaml/nodes/root.rb
66
66
  - lib/cc/yaml/nodes/scalar.rb
@@ -1,9 +0,0 @@
1
- module CC
2
- module Yaml
3
- module Nodes
4
- class Dependencies < Mapping
5
- map :files, to: FileDependencyList
6
- end
7
- end
8
- end
9
- end
@@ -1,9 +0,0 @@
1
- module CC
2
- module Yaml
3
- module Nodes
4
- class FileDependencyList < Sequence
5
- type FileDependency
6
- end
7
- end
8
- end
9
- end