nanoc 4.9.7 → 4.9.8

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
  SHA256:
3
- metadata.gz: 78dad20b688911c787f63c6ff03fd27873eae890508e6c44fdacedecd1eaedc4
4
- data.tar.gz: 0c8d223657f6655d1833d226e5c597a507a3124cc32ff587ccce4923c441af69
3
+ metadata.gz: 548618256c28553abc4a977d01451a6cc0d076a070ff58a7e528041f52e53b66
4
+ data.tar.gz: e6a056bbaeb122864c9672f184cb6550cb370b5a6cf337712d8ae0a53f813c03
5
5
  SHA512:
6
- metadata.gz: b7e7711db31a5518188be605ef1165515fc41e3d3664c5e2f61cf2687a60ec23f9adc549fec7f119f86360a604d53ba8dcb07d97385174a6bfc7c85dc7aac69b
7
- data.tar.gz: 3d6557c67ca0999e80f879c89e8784eb849f77a7e6502701a30c4e80829968042cc6e9f40079e8b63457fc252c4aae19e9d6c6e0bbae24652c0e57d0ceab407d
6
+ metadata.gz: 707973672827bfa9a387ae5bb7ffc7770c8d947659d8029b63f003cfccaa0a67d8ba31a58f9ae9407088ee41116571e7c1df9aeef71473870b40bfed03a3384d
7
+ data.tar.gz: 27eb07c6f1be344de61150a086890d6dbad44aa39532ac181345c760332b12a28b5f52beafe44bfb83db32911b0642cda4ea96bb98cb24043e0f9a7671e4b78e
data/NEWS.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Nanoc news
2
2
 
3
+ ## 4.9.8 (2018-10-05)
4
+
5
+ Fixes:
6
+
7
+ * Fixed missing `configuration-schema.json` file
8
+
3
9
  ## 4.9.7 (2018-10-05)
4
10
 
5
11
  Enhancements:
@@ -0,0 +1,116 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-04/schema#",
3
+ "title": "Nanoc configuration schema",
4
+ "type": "object",
5
+ "properties": {
6
+ "text_extensions": {
7
+ "type": "array",
8
+ "items": {
9
+ "type": "string"
10
+ }
11
+ },
12
+ "output_dir": {
13
+ "type": "string"
14
+ },
15
+ "index_filenames": {
16
+ "type": "array",
17
+ "items": {
18
+ "type": "string"
19
+ }
20
+ },
21
+ "enable_output_diff": {
22
+ "type": "boolean"
23
+ },
24
+ "prune": {
25
+ "type": "object",
26
+ "additionalProperties": false,
27
+ "properties": {
28
+ "auto_prune": {
29
+ "type": "boolean"
30
+ },
31
+ "exclude": {
32
+ "type": "array",
33
+ "items": {
34
+ "type": "string"
35
+ }
36
+ }
37
+ }
38
+ },
39
+ "commands_dirs": {
40
+ "type": "array",
41
+ "items": {
42
+ "type": "string"
43
+ }
44
+ },
45
+ "lib_dirs": {
46
+ "type": "array",
47
+ "items": {
48
+ "type": "string"
49
+ }
50
+ },
51
+ "data_sources": {
52
+ "type": "array",
53
+ "items": {
54
+ "type": "object",
55
+ "properties": {
56
+ "type": {
57
+ "type": "string"
58
+ },
59
+ "items_root": {
60
+ "type": "string"
61
+ },
62
+ "layouts_root": {
63
+ "type": "string"
64
+ }
65
+ }
66
+ }
67
+ },
68
+ "string_pattern_type": {
69
+ "type": "string",
70
+ "enum": ["glob", "legacy"]
71
+ },
72
+ "checks": {
73
+ "type": "object",
74
+ "properties": {
75
+ "internal_links": {
76
+ "type": "object",
77
+ "additionalProperties": false,
78
+ "properties": {
79
+ "exclude": {
80
+ "type": "array",
81
+ "items": {
82
+ "type": "string"
83
+ }
84
+ }
85
+ }
86
+ },
87
+ "external_links": {
88
+ "type": "object",
89
+ "additionalProperties": false,
90
+ "properties": {
91
+ "exclude": {
92
+ "type": "array",
93
+ "items": {
94
+ "type": "string"
95
+ }
96
+ },
97
+ "exclude_files": {
98
+ "type": "array",
99
+ "items": {
100
+ "type": "string"
101
+ }
102
+ }
103
+ }
104
+ }
105
+ }
106
+ },
107
+ "environments": {
108
+ "type": "object",
109
+ "patternProperties": {
110
+ "^.*$": {
111
+ "type": "object"
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
data/lib/nanoc/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Nanoc
4
4
  # The current Nanoc version.
5
- VERSION = '4.9.7'
5
+ VERSION = '4.9.8'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.9.7
4
+ version: 4.9.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Defreyne
@@ -191,6 +191,7 @@ files:
191
191
  - lib/nanoc/base/entities/action_sequence.rb
192
192
  - lib/nanoc/base/entities/checksum_collection.rb
193
193
  - lib/nanoc/base/entities/code_snippet.rb
194
+ - lib/nanoc/base/entities/configuration-schema.json
194
195
  - lib/nanoc/base/entities/configuration.rb
195
196
  - lib/nanoc/base/entities/content.rb
196
197
  - lib/nanoc/base/entities/context.rb