zine 0.15.0 → 0.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +143 -125
- data/LICENSE +661 -21
- data/bin/console +1 -0
- data/bin/zine +2 -0
- data/lib/zine/cli.rb +26 -15
- data/lib/zine/data_page.rb +3 -0
- data/lib/zine/page.rb +16 -8
- data/lib/zine/post.rb +5 -3
- data/lib/zine/posts_and_headlines.rb +53 -12
- data/lib/zine/query.rb +2 -0
- data/lib/zine/server.rb +9 -8
- data/lib/zine/skeleton/source/templates/atom.erb +22 -0
- data/lib/zine/skeleton/source/templates/footer_partial.erb +1 -1
- data/lib/zine/skeleton/source/templates/header_partial.erb +2 -1
- data/lib/zine/skeleton/source/templates/rss.erb +19 -20
- data/lib/zine/skeleton/zine.yaml +1 -0
- data/lib/zine/style.rb +3 -1
- data/lib/zine/tag.rb +10 -12
- data/lib/zine/templates.rb +3 -3
- data/lib/zine/upload.rb +8 -3
- data/lib/zine/uploader_aws.rb +6 -5
- data/lib/zine/uploader_github.rb +3 -0
- data/lib/zine/uploader_sftp.rb +6 -2
- data/lib/zine/version.rb +1 -1
- data/lib/zine/watcher.rb +4 -2
- data/lib/zine.rb +1 -1
- metadata +65 -63
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a66a879974bd37a0bae5528bbfbc4026abedcb2d299e423b27e6b10cc127ec1
|
4
|
+
data.tar.gz: dd4492c3f3e9b82355d1eb4c7ef8c30c44b04d6c8dfabe3156ad4f4d6fb7bfb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 954d1e78f5345ac73c499b8d1dd820769be59df6e3632af7b44be97088a61d77c6df89e2e4d1fe104128076b472b261bae40243dde87be04a53ad62d5d46eb78
|
7
|
+
data.tar.gz: adfcbad9184fff6f95473ee2000dfc4da0be91c97cc3a145bda6c8a01a6324e3908551e00c3172f88a3940f5ad15c60b7d45cf962bc5842c1dc2cc022f99096c
|
data/CHANGELOG.md
CHANGED
@@ -1,76 +1,98 @@
|
|
1
1
|
# Zine Changelog
|
2
2
|
|
3
|
-
|
3
|
+
# 0.17.0 - 17 February, 2023
|
4
4
|
|
5
|
-
-
|
6
|
-
-
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
-
|
13
|
-
- added HTML compression, even though the difference is only around 1kb a page
|
14
|
-
- ERB partials
|
15
|
-
- working posts & tags
|
16
|
-
- replaced Colorize with Rainbow
|
17
|
-
- replaced ERB::Util with a slug name generator
|
18
|
-
- added dates to tag lists
|
19
|
-
- copies files that aren't Markdown or templates to the build directory, preserving the folder structure
|
20
|
-
- a simple WEBrick server for preview, with SSL, then
|
21
|
-
- WEBrick swapped out for Thin - WEBrick's been ridiculously slow
|
22
|
-
- DataPage class carved out of Page
|
23
|
-
- home & all tags index pages
|
24
|
-
- more serious site & page class refactoring
|
25
|
-
- pages that aren't blog posts (eg about)
|
26
|
-
- started into RSS/Atom feeds, and the standard library docs are borderline nonexistent
|
5
|
+
- forced polling for the listener gem, which was skipping new files on linux otherwise
|
6
|
+
- fixed an errant inverted comma in links, introduced in the last commit
|
7
|
+
- added a UTF 8 tag to the RSS template
|
8
|
+
- added HTML encoding for ellipses, em and en dashes with Kramdown's "typographic symbols"
|
9
|
+
- added a two day cache header for AWS uploads
|
10
|
+
- dependency updates
|
11
|
+
- year bump in the starter template
|
12
|
+
- dropped the faraday-retry gem again after Octokit updated
|
27
13
|
|
28
|
-
|
14
|
+
# towards 0.17.0 - 20 June, 2022 (on Github, but not RubyGems)
|
29
15
|
|
30
|
-
-
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
16
|
+
- customised the rake file
|
17
|
+
- refactored - from 112 rubocop offenses, to 33
|
18
|
+
- fixed a failing test
|
19
|
+
- bumped the minimum Ruby version again, 2.6 was EOL 31 Mar 2022 - from 2.6 to 2.7
|
20
|
+
- dependency updates
|
21
|
+
- added the faraday-retry gem as a dependency, to suppress warnings (from Octokit)
|
34
22
|
|
35
|
-
|
23
|
+
# 0.16.0 - 17 June, 2022
|
36
24
|
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
25
|
+
- temp warning about missing atom template in zine.yaml, better handling of missing templates
|
26
|
+
- cli missing options bug fixed - from 0.15.0
|
27
|
+
- added Thor self.exit_on_failure? method
|
28
|
+
- increased the required version of Ruby to 2.6
|
29
|
+
- changed the license - from MIT, to GNU Affero GPL
|
30
|
+
- reversed the sort order for this change log
|
31
|
+
- changed the date format in the log - from US style, to everywhere else style
|
43
32
|
|
44
|
-
|
33
|
+
# towards 0.16.0 - 3 February, 2022
|
45
34
|
|
46
|
-
-
|
47
|
-
-
|
48
|
-
- PostsAndHeadlines class extracted from Site
|
49
|
-
- CSS preprocessing with Sass added (LibSass and SassC)
|
50
|
-
- messing about with styles
|
51
|
-
- some minor refactoring & doc work
|
52
|
-
- watching the Markdown files for changes with Listener
|
53
|
-
- started on incremental builds
|
54
|
-
- added SFTP uploads of the files that changed, which includes (and it warrants a line)...
|
55
|
-
- my own homegrown (& no doubt pretty rough) SFTP version of mkdir_p
|
56
|
-
- incremental builds handle Markdown file deletions now
|
57
|
-
- rearranged the zine.yaml preferences file to accommodate file transfers
|
58
|
-
- added footer links via zine.yaml, tweaking the style & templates a little
|
59
|
-
- consolidate upload paths instead of sending duplicate mkdir requests via SFTP
|
60
|
-
- file watcher extended to cover non Markdown files
|
61
|
-
- testing real world data with my blog
|
62
|
-
- start the file watcher earlier to catch the initial build in a full build,
|
63
|
-
meant everything was a change so everything's uploaded...
|
64
|
-
- added an incremental build that skipped the initial writes to fix that
|
65
|
-
- linked homepage post titles to posts
|
35
|
+
- BREAKING CHANGE: added an RSS 2.0 feed in addition to the Atom feed, the rss.erb file and /rss.xml feed link will now be RSS, an Atom and RSS template are both required in the local site copy, and need to be listed in a site's zine.yml file
|
36
|
+
- year bump in starter template
|
66
37
|
|
67
|
-
|
38
|
+
# 0.15.0 - 26 May, 2020
|
68
39
|
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
40
|
+
- dependency version bumps, year bump in template
|
41
|
+
- replaced zine.dev with https://mikekreuzer.com/projects/zine/
|
42
|
+
- other minor refactoring & doc rewrites
|
43
|
+
|
44
|
+
# 0.14.0 - 27 May, 2019
|
45
|
+
|
46
|
+
- added an AWS S3 uploader
|
47
|
+
- added AWS CloudFront invalidation
|
48
|
+
- added zine.dev to the footer template
|
49
|
+
- bug fix - catch carriage returns as default yes answers to the upload? question
|
50
|
+
|
51
|
+
# 0.13.0 - lucky 13 - 26 May, 2019
|
52
|
+
|
53
|
+
- added some of the style changes that survived from v12, eg moved social media to the footer
|
54
|
+
- added a (permissive as they come) robots.txt file
|
55
|
+
- dependency updates, kramdown split into kramdown & kramdown-parser-gfm which seems to be slower :-(
|
56
|
+
- bumped the required version of Ruby to 2.3 (for bundler, kramdown, etc)
|
57
|
+
- dropped the highline gem (it was only used to get the one input, originally there was going to be more)
|
58
|
+
- minor readme updates
|
59
|
+
- placeholder site, mostly in case there's ever an app: https://zine.dev
|
60
|
+
|
61
|
+
# 0.12.0 - never pushed, used up until 25 April, 2019
|
62
|
+
|
63
|
+
- added (then removed) Mastodon from the list of contacts, changed the styling a few times, neglected to publish
|
64
|
+
|
65
|
+
# 0.11.0, 7 November, 2018
|
66
|
+
|
67
|
+
- fixed a bug where String#split would break apart markdown files on tables as well as at the metadata/markdown boundary
|
68
|
+
|
69
|
+
# 0.9.0, 1 January, 2018
|
70
|
+
|
71
|
+
- a bug in 'zine notice' involving full & partial paths that duplicated the post to notice on the history page, fixed
|
72
|
+
- minor code clean-up in cli.rb and server.rb
|
73
|
+
|
74
|
+
# 0.10.0, 7 November, 2018
|
75
|
+
|
76
|
+
- dependency version bumps
|
77
|
+
|
78
|
+
## 0.8.0, 2 October, 2017
|
79
|
+
|
80
|
+
- SFTP upload error wasn't caught in 0.7.0... TODO
|
81
|
+
- added a notice command, zine notice [FILE], which adds that file to the build queue without having to force a general build, so zine can be called in scripts to upload particular files (a rake script in Ripley, specifically)
|
82
|
+
|
83
|
+
## 0.7.0, 30 September, 2017
|
84
|
+
|
85
|
+
- caught an SFTP upload error where SFTP credentials aren't in the keychain
|
86
|
+
- updated bundler
|
87
|
+
|
88
|
+
## 0.6.0, 17 September, 2017
|
89
|
+
|
90
|
+
- tests: for Upload & UploaderGitHub - found a bug, which is gratifying... would've been caught by a compiler, oh well
|
91
|
+
- fixed a mismatched div tag in the footer
|
92
|
+
- changed to a non 100 days of code change log
|
93
|
+
- updated some development dependencies (curb, rake, rspec, simplecov)
|
72
94
|
|
73
|
-
## 0.5.0, March
|
95
|
+
## 0.5.0, 9 March, 2017
|
74
96
|
|
75
97
|
- updated dependencies: Rake & Simplecov
|
76
98
|
- refactored Zine::Site#housekeeping_copy
|
@@ -96,76 +118,72 @@
|
|
96
118
|
- Upload class split up, into Upload and UploadSFTP
|
97
119
|
- UploadGitHub class added - GitHub uploads
|
98
120
|
|
99
|
-
## 0.
|
100
|
-
|
101
|
-
- tests: for Upload & UploaderGitHub - found a bug, which is gratifying... would've been caught by a compiler, oh well
|
102
|
-
- fixed a mismatched div tag in the footer
|
103
|
-
- changed to a non 100 days of code change log
|
104
|
-
- updated some development dependencies (curb, rake, rspec, simplecov)
|
105
|
-
|
106
|
-
## 0.7.0, September 30, 2017
|
107
|
-
|
108
|
-
- caught an SFTP upload error where SFTP credentials aren't in the keychain
|
109
|
-
- updated bundler
|
110
|
-
|
111
|
-
## 0.8.0, October 2, 2017
|
112
|
-
|
113
|
-
- SFTP upload error wasn't caught in 0.7.0... TODO
|
114
|
-
- added a notice command, zine notice [FILE], which adds that file to the build queue without having to force a general build, so zine can be called in scripts to upload particular files (a rake script in Ripley, specifically)
|
115
|
-
|
116
|
-
# 0.9.0, January 1, 2018
|
117
|
-
|
118
|
-
- a bug in 'zine notice' involving full & partial paths that duplicated the post to notice on the history page, fixed
|
119
|
-
- minor code clean-up in cli.rb and server.rb
|
120
|
-
|
121
|
-
# 0.10.0, November 7, 2018
|
122
|
-
|
123
|
-
- dependency version bumps
|
124
|
-
|
125
|
-
# 0.11.0, November 7, 2018
|
126
|
-
|
127
|
-
- fixed a bug where String#split would break apart markdown files on tables as well as at the metadata/markdown boundary
|
128
|
-
|
129
|
-
# 0.12.0 - never pushed, used up until April 25, 2019
|
130
|
-
|
131
|
-
- added (then removed) Mastodon from the list of contacts, changed the styling a few times, neglected to publish
|
132
|
-
|
133
|
-
# 0.13.0 - lucky 13 - May 26, 2019
|
121
|
+
## 0.4.0, 20 February, 2017
|
134
122
|
|
135
|
-
-
|
136
|
-
-
|
137
|
-
-
|
138
|
-
- bumped the required version of Ruby to 2.3 (for bundler, kramdown, etc)
|
139
|
-
- dropped the highline gem (it was only used to get the one input, originally there was going to be more)
|
140
|
-
- minor readme updates
|
141
|
-
- placeholder site, mostly in case there's ever an app: https://zine.dev
|
123
|
+
- fixed a bug in file uploads, which warrants a gem version bump
|
124
|
+
- fixed some typos in the blog
|
125
|
+
- updated some styles (footer links, bold text)
|
142
126
|
|
143
|
-
|
127
|
+
## 0.3.0, 19 February, 2017
|
144
128
|
|
145
|
-
-
|
146
|
-
- added
|
147
|
-
-
|
148
|
-
-
|
129
|
+
- moved the local post directory creation to the write method
|
130
|
+
- added a minimalist version of building additional posts while build is running
|
131
|
+
- PostsAndHeadlines class extracted from Site
|
132
|
+
- CSS preprocessing with Sass added (LibSass and SassC)
|
133
|
+
- messing about with styles
|
134
|
+
- some minor refactoring & doc work
|
135
|
+
- watching the Markdown files for changes with Listener
|
136
|
+
- started on incremental builds
|
137
|
+
- added SFTP uploads of the files that changed, which includes (and it warrants a line)...
|
138
|
+
- my own homegrown (& no doubt pretty rough) SFTP version of mkdir_p
|
139
|
+
- incremental builds handle Markdown file deletions now
|
140
|
+
- rearranged the zine.yaml preferences file to accommodate file transfers
|
141
|
+
- added footer links via zine.yaml, tweaking the style & templates a little
|
142
|
+
- consolidate upload paths instead of sending duplicate mkdir requests via SFTP
|
143
|
+
- file watcher extended to cover non Markdown files
|
144
|
+
- testing real world data with my blog
|
145
|
+
- start the file watcher earlier to catch the initial build in a full build,
|
146
|
+
meant everything was a change so everything's uploaded...
|
147
|
+
- added an incremental build that skipped the initial writes to fix that
|
148
|
+
- linked homepage post titles to posts
|
149
149
|
|
150
|
-
|
150
|
+
## 0.2.0, 9 February, 2017
|
151
151
|
|
152
|
-
-
|
153
|
-
-
|
154
|
-
-
|
152
|
+
- RSS now using DataPage & ERB, with CDATA tags
|
153
|
+
- added Ruby 2.0 as a minimum to the gemspec
|
154
|
+
- template names from zine.yaml
|
155
|
+
- consolidated the DataPage calls in the Site class (the home page, feed, and now added an articles/archive index to that)
|
156
|
+
- added 'skip to main content' back into the header partial
|
157
|
+
- some bug fixes & minor refactoring
|
155
158
|
|
156
|
-
|
159
|
+
## 0.1.0, 6 February, 2017
|
157
160
|
|
158
|
-
-
|
159
|
-
-
|
160
|
-
-
|
161
|
-
-
|
162
|
-
- tests, lots of tests
|
161
|
+
- claimed the feed content is xhtml to get it to work, will revisit & fix this with CDATA
|
162
|
+
- started testing the engine against old blog posts
|
163
|
+
- first code to GitHub
|
164
|
+
- gem published
|
163
165
|
|
164
|
-
|
166
|
+
## Pre 0.0.1
|
165
167
|
|
166
|
-
-
|
167
|
-
-
|
168
|
-
-
|
169
|
-
-
|
170
|
-
-
|
171
|
-
-
|
168
|
+
- set up the blog & repos
|
169
|
+
- set up bundler, rspec tests
|
170
|
+
- Thor for the menu & as a generator
|
171
|
+
- YAML options
|
172
|
+
- have a Site object pushing file names to Page objects
|
173
|
+
- Kramdown
|
174
|
+
- played with cucumber for a while but decided not to use it, it's a DSL too far.
|
175
|
+
- Slim, then dropped Slim, back with ERB - translation was going to take too long
|
176
|
+
- added HTML compression, even though the difference is only around 1kb a page
|
177
|
+
- ERB partials
|
178
|
+
- working posts & tags
|
179
|
+
- replaced Colorize with Rainbow
|
180
|
+
- replaced ERB::Util with a slug name generator
|
181
|
+
- added dates to tag lists
|
182
|
+
- copies files that aren't Markdown or templates to the build directory, preserving the folder structure
|
183
|
+
- a simple WEBrick server for preview, with SSL, then
|
184
|
+
- WEBrick swapped out for Thin - WEBrick's been ridiculously slow
|
185
|
+
- DataPage class carved out of Page
|
186
|
+
- home & all tags index pages
|
187
|
+
- more serious site & page class refactoring
|
188
|
+
- pages that aren't blog posts (eg about)
|
189
|
+
- started into RSS/Atom feeds, and the standard library docs are borderline nonexistent
|