zine 0.13.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +123 -111
- data/LICENSE +661 -21
- data/README.md +32 -24
- data/lib/zine/cli.rb +19 -3
- data/lib/zine/data_page.rb +1 -0
- data/lib/zine/page.rb +7 -0
- data/lib/zine/posts_and_headlines.rb +50 -11
- data/lib/zine/query.rb +3 -2
- data/lib/zine/skeleton/source/templates/atom.erb +22 -0
- data/lib/zine/skeleton/source/templates/footer_partial.erb +2 -2
- data/lib/zine/skeleton/source/templates/header_partial.erb +2 -1
- data/lib/zine/skeleton/source/templates/rss.erb +18 -20
- data/lib/zine/skeleton/zine.yaml +4 -2
- data/lib/zine/upload.rb +14 -2
- data/lib/zine/uploader_aws.rb +96 -0
- data/lib/zine/version.rb +3 -1
- data/lib/zine.rb +11 -8
- metadata +78 -42
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Kreuzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,82 +16,116 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2.
|
19
|
+
version: '2.1'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.
|
22
|
+
version: 2.1.4
|
23
23
|
type: :development
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '2.
|
29
|
+
version: '2.1'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 2.
|
32
|
+
version: 2.1.4
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: curb
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
37
|
- - "~>"
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.9.
|
39
|
+
version: 0.9.10
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.9.
|
46
|
+
version: 0.9.10
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - "~>"
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
53
|
+
version: '13.0'
|
54
54
|
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
56
|
+
version: 13.0.1
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: '
|
63
|
+
version: '13.0'
|
64
64
|
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
66
|
+
version: 13.0.1
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rspec
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
70
70
|
requirements:
|
71
71
|
- - "~>"
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version: '3.
|
73
|
+
version: '3.9'
|
74
74
|
type: :development
|
75
75
|
prerelease: false
|
76
76
|
version_requirements: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
78
|
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: '3.
|
80
|
+
version: '3.9'
|
81
81
|
- !ruby/object:Gem::Dependency
|
82
82
|
name: simplecov
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.
|
87
|
+
version: 0.18.5
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.
|
94
|
+
version: 0.18.5
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: aws-sdk-cloudfront
|
97
|
+
requirement: !ruby/object:Gem::Requirement
|
98
|
+
requirements:
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.27'
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 1.27.1
|
105
|
+
type: :runtime
|
106
|
+
prerelease: false
|
107
|
+
version_requirements: !ruby/object:Gem::Requirement
|
108
|
+
requirements:
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '1.27'
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: 1.27.1
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: aws-sdk-s3
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '1.66'
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - "~>"
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '1.66'
|
95
129
|
- !ruby/object:Gem::Dependency
|
96
130
|
name: htmlcompressor
|
97
131
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,54 +146,54 @@ dependencies:
|
|
112
146
|
requirements:
|
113
147
|
- - "~>"
|
114
148
|
- !ruby/object:Gem::Version
|
115
|
-
version: '2.
|
149
|
+
version: '2.2'
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: 2.2.1
|
116
153
|
type: :runtime
|
117
154
|
prerelease: false
|
118
155
|
version_requirements: !ruby/object:Gem::Requirement
|
119
156
|
requirements:
|
120
157
|
- - "~>"
|
121
158
|
- !ruby/object:Gem::Version
|
122
|
-
version: '2.
|
159
|
+
version: '2.2'
|
160
|
+
- - ">="
|
161
|
+
- !ruby/object:Gem::Version
|
162
|
+
version: 2.2.1
|
123
163
|
- !ruby/object:Gem::Dependency
|
124
164
|
name: kramdown-parser-gfm
|
125
165
|
requirement: !ruby/object:Gem::Requirement
|
126
166
|
requirements:
|
127
167
|
- - "~>"
|
128
168
|
- !ruby/object:Gem::Version
|
129
|
-
version: '1.
|
130
|
-
- - ">="
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
version: 1.0.1
|
169
|
+
version: '1.1'
|
133
170
|
type: :runtime
|
134
171
|
prerelease: false
|
135
172
|
version_requirements: !ruby/object:Gem::Requirement
|
136
173
|
requirements:
|
137
174
|
- - "~>"
|
138
175
|
- !ruby/object:Gem::Version
|
139
|
-
version: '1.
|
140
|
-
- - ">="
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
version: 1.0.1
|
176
|
+
version: '1.1'
|
143
177
|
- !ruby/object:Gem::Dependency
|
144
178
|
name: listen
|
145
179
|
requirement: !ruby/object:Gem::Requirement
|
146
180
|
requirements:
|
147
181
|
- - "~>"
|
148
182
|
- !ruby/object:Gem::Version
|
149
|
-
version: '3.
|
183
|
+
version: '3.2'
|
150
184
|
- - ">="
|
151
185
|
- !ruby/object:Gem::Version
|
152
|
-
version: 3.1
|
186
|
+
version: 3.2.1
|
153
187
|
type: :runtime
|
154
188
|
prerelease: false
|
155
189
|
version_requirements: !ruby/object:Gem::Requirement
|
156
190
|
requirements:
|
157
191
|
- - "~>"
|
158
192
|
- !ruby/object:Gem::Version
|
159
|
-
version: '3.
|
193
|
+
version: '3.2'
|
160
194
|
- - ">="
|
161
195
|
- !ruby/object:Gem::Version
|
162
|
-
version: 3.1
|
196
|
+
version: 3.2.1
|
163
197
|
- !ruby/object:Gem::Dependency
|
164
198
|
name: net-sftp
|
165
199
|
requirement: !ruby/object:Gem::Requirement
|
@@ -186,14 +220,14 @@ dependencies:
|
|
186
220
|
requirements:
|
187
221
|
- - "~>"
|
188
222
|
- !ruby/object:Gem::Version
|
189
|
-
version: '4.
|
223
|
+
version: '4.18'
|
190
224
|
type: :runtime
|
191
225
|
prerelease: false
|
192
226
|
version_requirements: !ruby/object:Gem::Requirement
|
193
227
|
requirements:
|
194
228
|
- - "~>"
|
195
229
|
- !ruby/object:Gem::Version
|
196
|
-
version: '4.
|
230
|
+
version: '4.18'
|
197
231
|
- !ruby/object:Gem::Dependency
|
198
232
|
name: rainbow
|
199
233
|
requirement: !ruby/object:Gem::Requirement
|
@@ -214,14 +248,14 @@ dependencies:
|
|
214
248
|
requirements:
|
215
249
|
- - "~>"
|
216
250
|
- !ruby/object:Gem::Version
|
217
|
-
version: '2.
|
251
|
+
version: '2.3'
|
218
252
|
type: :runtime
|
219
253
|
prerelease: false
|
220
254
|
version_requirements: !ruby/object:Gem::Requirement
|
221
255
|
requirements:
|
222
256
|
- - "~>"
|
223
257
|
- !ruby/object:Gem::Version
|
224
|
-
version: '2.
|
258
|
+
version: '2.3'
|
225
259
|
- !ruby/object:Gem::Dependency
|
226
260
|
name: thin
|
227
261
|
requirement: !ruby/object:Gem::Requirement
|
@@ -242,20 +276,20 @@ dependencies:
|
|
242
276
|
requirements:
|
243
277
|
- - "~>"
|
244
278
|
- !ruby/object:Gem::Version
|
245
|
-
version: '0
|
279
|
+
version: '1.0'
|
246
280
|
- - ">="
|
247
281
|
- !ruby/object:Gem::Version
|
248
|
-
version: 0.
|
282
|
+
version: 1.0.1
|
249
283
|
type: :runtime
|
250
284
|
prerelease: false
|
251
285
|
version_requirements: !ruby/object:Gem::Requirement
|
252
286
|
requirements:
|
253
287
|
- - "~>"
|
254
288
|
- !ruby/object:Gem::Version
|
255
|
-
version: '0
|
289
|
+
version: '1.0'
|
256
290
|
- - ">="
|
257
291
|
- !ruby/object:Gem::Version
|
258
|
-
version: 0.
|
292
|
+
version: 1.0.1
|
259
293
|
description: |-
|
260
294
|
Yet another blog aware static site generator.
|
261
295
|
There are many like it, but this one is mine.
|
@@ -290,6 +324,7 @@ files:
|
|
290
324
|
- lib/zine/skeleton/source/screen.css
|
291
325
|
- lib/zine/skeleton/source/styles/screen.scss
|
292
326
|
- lib/zine/skeleton/source/templates/articles.erb
|
327
|
+
- lib/zine/skeleton/source/templates/atom.erb
|
293
328
|
- lib/zine/skeleton/source/templates/default.erb
|
294
329
|
- lib/zine/skeleton/source/templates/footer_partial.erb
|
295
330
|
- lib/zine/skeleton/source/templates/header_partial.erb
|
@@ -304,13 +339,14 @@ files:
|
|
304
339
|
- lib/zine/tag.rb
|
305
340
|
- lib/zine/templates.rb
|
306
341
|
- lib/zine/upload.rb
|
342
|
+
- lib/zine/uploader_aws.rb
|
307
343
|
- lib/zine/uploader_github.rb
|
308
344
|
- lib/zine/uploader_sftp.rb
|
309
345
|
- lib/zine/version.rb
|
310
346
|
- lib/zine/watcher.rb
|
311
|
-
homepage: https://zine
|
347
|
+
homepage: https://mikekreuzer.com/projects/zine/
|
312
348
|
licenses:
|
313
|
-
-
|
349
|
+
- AGPL-3.0-or-later
|
314
350
|
metadata: {}
|
315
351
|
post_install_message:
|
316
352
|
rdoc_options: []
|
@@ -320,14 +356,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
320
356
|
requirements:
|
321
357
|
- - ">="
|
322
358
|
- !ruby/object:Gem::Version
|
323
|
-
version: '2.
|
359
|
+
version: '2.6'
|
324
360
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
325
361
|
requirements:
|
326
362
|
- - ">="
|
327
363
|
- !ruby/object:Gem::Version
|
328
364
|
version: '0'
|
329
365
|
requirements: []
|
330
|
-
rubygems_version: 3.
|
366
|
+
rubygems_version: 3.1.4
|
331
367
|
signing_key:
|
332
368
|
specification_version: 4
|
333
369
|
summary: Yet another blog aware static site generator.
|