nanoc-core 4.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/NEWS.md +3 -0
- data/README.md +3 -0
- data/lib/nanoc/core/binary_content.rb +12 -0
- data/lib/nanoc/core/checksummer.rb +287 -0
- data/lib/nanoc/core/code_snippet.rb +57 -0
- data/lib/nanoc/core/configuration-schema.json +122 -0
- data/lib/nanoc/core/configuration.rb +206 -0
- data/lib/nanoc/core/content.rb +46 -0
- data/lib/nanoc/core/context.rb +70 -0
- data/lib/nanoc/core/contracts_support.rb +131 -0
- data/lib/nanoc/core/core_ext/array.rb +54 -0
- data/lib/nanoc/core/core_ext/hash.rb +58 -0
- data/lib/nanoc/core/core_ext/string.rb +20 -0
- data/lib/nanoc/core/data_source.rb +170 -0
- data/lib/nanoc/core/directed_graph.rb +195 -0
- data/lib/nanoc/core/document.rb +124 -0
- data/lib/nanoc/core/error.rb +9 -0
- data/lib/nanoc/core/identifiable_collection.rb +142 -0
- data/lib/nanoc/core/identifier.rb +218 -0
- data/lib/nanoc/core/item.rb +11 -0
- data/lib/nanoc/core/item_collection.rb +15 -0
- data/lib/nanoc/core/item_rep.rb +92 -0
- data/lib/nanoc/core/layout.rb +11 -0
- data/lib/nanoc/core/layout_collection.rb +15 -0
- data/lib/nanoc/core/lazy_value.rb +38 -0
- data/lib/nanoc/core/notification_center.rb +97 -0
- data/lib/nanoc/core/pattern.rb +37 -0
- data/lib/nanoc/core/processing_action.rb +23 -0
- data/lib/nanoc/core/processing_actions/filter.rb +40 -0
- data/lib/nanoc/core/processing_actions/layout.rb +40 -0
- data/lib/nanoc/core/processing_actions/snapshot.rb +50 -0
- data/lib/nanoc/core/processing_actions.rb +12 -0
- data/lib/nanoc/core/regexp_pattern.rb +28 -0
- data/lib/nanoc/core/snapshot_def.rb +22 -0
- data/lib/nanoc/core/string_pattern.rb +29 -0
- data/lib/nanoc/core/temp_filename_factory.rb +53 -0
- data/lib/nanoc/core/textual_content.rb +41 -0
- data/lib/nanoc/core/version.rb +7 -0
- data/lib/nanoc/core.rb +60 -0
- data/lib/nanoc-core.rb +3 -0
- metadata +152 -0
data/lib/nanoc/core.rb
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Ruby stdlib
|
4
|
+
require 'singleton'
|
5
|
+
|
6
|
+
# External gems
|
7
|
+
require 'json_schema'
|
8
|
+
require 'ddmemoize'
|
9
|
+
require 'ddmetrics'
|
10
|
+
require 'ddplugin'
|
11
|
+
require 'hamster'
|
12
|
+
|
13
|
+
DDMemoize.enable_metrics
|
14
|
+
|
15
|
+
module Nanoc
|
16
|
+
# @api private
|
17
|
+
module Core
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
require 'nanoc/core/version'
|
22
|
+
|
23
|
+
require 'nanoc/core/contracts_support'
|
24
|
+
require 'nanoc/core/lazy_value'
|
25
|
+
require 'nanoc/core/error'
|
26
|
+
|
27
|
+
require 'nanoc/core/code_snippet'
|
28
|
+
require 'nanoc/core/configuration'
|
29
|
+
require 'nanoc/core/content'
|
30
|
+
require 'nanoc/core/context'
|
31
|
+
require 'nanoc/core/directed_graph'
|
32
|
+
require 'nanoc/core/pattern'
|
33
|
+
require 'nanoc/core/identifiable_collection'
|
34
|
+
require 'nanoc/core/identifier'
|
35
|
+
require 'nanoc/core/core_ext/array'
|
36
|
+
require 'nanoc/core/core_ext/hash'
|
37
|
+
require 'nanoc/core/core_ext/string'
|
38
|
+
require 'nanoc/core/temp_filename_factory'
|
39
|
+
|
40
|
+
require 'nanoc/core/binary_content'
|
41
|
+
require 'nanoc/core/item_collection'
|
42
|
+
require 'nanoc/core/layout_collection'
|
43
|
+
require 'nanoc/core/regexp_pattern'
|
44
|
+
require 'nanoc/core/string_pattern'
|
45
|
+
require 'nanoc/core/textual_content'
|
46
|
+
|
47
|
+
require 'nanoc/core/document'
|
48
|
+
require 'nanoc/core/item'
|
49
|
+
require 'nanoc/core/layout'
|
50
|
+
|
51
|
+
require 'nanoc/core/item_rep'
|
52
|
+
require 'nanoc/core/snapshot_def'
|
53
|
+
|
54
|
+
require 'nanoc/core/checksummer'
|
55
|
+
require 'nanoc/core/notification_center'
|
56
|
+
|
57
|
+
require 'nanoc/core/processing_action'
|
58
|
+
require 'nanoc/core/processing_actions'
|
59
|
+
|
60
|
+
require 'nanoc/core/data_source'
|
data/lib/nanoc-core.rb
ADDED
metadata
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nanoc-core
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.11.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Denis Defreyne
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-02-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: ddmemoize
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ddmetrics
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ddplugin
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '1.0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: hamster
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: json_schema
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.19'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.19'
|
83
|
+
description: Contains the core of Nanoc
|
84
|
+
email: denis+rubygems@denis.ws
|
85
|
+
executables: []
|
86
|
+
extensions: []
|
87
|
+
extra_rdoc_files: []
|
88
|
+
files:
|
89
|
+
- NEWS.md
|
90
|
+
- README.md
|
91
|
+
- lib/nanoc-core.rb
|
92
|
+
- lib/nanoc/core.rb
|
93
|
+
- lib/nanoc/core/binary_content.rb
|
94
|
+
- lib/nanoc/core/checksummer.rb
|
95
|
+
- lib/nanoc/core/code_snippet.rb
|
96
|
+
- lib/nanoc/core/configuration-schema.json
|
97
|
+
- lib/nanoc/core/configuration.rb
|
98
|
+
- lib/nanoc/core/content.rb
|
99
|
+
- lib/nanoc/core/context.rb
|
100
|
+
- lib/nanoc/core/contracts_support.rb
|
101
|
+
- lib/nanoc/core/core_ext/array.rb
|
102
|
+
- lib/nanoc/core/core_ext/hash.rb
|
103
|
+
- lib/nanoc/core/core_ext/string.rb
|
104
|
+
- lib/nanoc/core/data_source.rb
|
105
|
+
- lib/nanoc/core/directed_graph.rb
|
106
|
+
- lib/nanoc/core/document.rb
|
107
|
+
- lib/nanoc/core/error.rb
|
108
|
+
- lib/nanoc/core/identifiable_collection.rb
|
109
|
+
- lib/nanoc/core/identifier.rb
|
110
|
+
- lib/nanoc/core/item.rb
|
111
|
+
- lib/nanoc/core/item_collection.rb
|
112
|
+
- lib/nanoc/core/item_rep.rb
|
113
|
+
- lib/nanoc/core/layout.rb
|
114
|
+
- lib/nanoc/core/layout_collection.rb
|
115
|
+
- lib/nanoc/core/lazy_value.rb
|
116
|
+
- lib/nanoc/core/notification_center.rb
|
117
|
+
- lib/nanoc/core/pattern.rb
|
118
|
+
- lib/nanoc/core/processing_action.rb
|
119
|
+
- lib/nanoc/core/processing_actions.rb
|
120
|
+
- lib/nanoc/core/processing_actions/filter.rb
|
121
|
+
- lib/nanoc/core/processing_actions/layout.rb
|
122
|
+
- lib/nanoc/core/processing_actions/snapshot.rb
|
123
|
+
- lib/nanoc/core/regexp_pattern.rb
|
124
|
+
- lib/nanoc/core/snapshot_def.rb
|
125
|
+
- lib/nanoc/core/string_pattern.rb
|
126
|
+
- lib/nanoc/core/temp_filename_factory.rb
|
127
|
+
- lib/nanoc/core/textual_content.rb
|
128
|
+
- lib/nanoc/core/version.rb
|
129
|
+
homepage: http://nanoc.ws/
|
130
|
+
licenses:
|
131
|
+
- MIT
|
132
|
+
metadata: {}
|
133
|
+
post_install_message:
|
134
|
+
rdoc_options: []
|
135
|
+
require_paths:
|
136
|
+
- lib
|
137
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '2.4'
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: '0'
|
147
|
+
requirements: []
|
148
|
+
rubygems_version: 3.0.2
|
149
|
+
signing_key:
|
150
|
+
specification_version: 4
|
151
|
+
summary: Core of Nanoc
|
152
|
+
test_files: []
|