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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1a733c0fc351f0cebc4de9bc02c2960217ec5ff32ddced28ccc8e8ea6b3104b8
|
4
|
+
data.tar.gz: 2d877e8987f3f575da1a128921db7510cd683f9868457d189b622facfe409054
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 161010777cf556c39c64669e1983fcb25a6114e30c82404d18c1ef5f3bbb45b20a74c3acfb5a5da48b502a7f38c52645f37c86ffbb2e3f0da717625bb2423ef0
|
7
|
+
data.tar.gz: addf78c26a6cd74b1127a2e0a225ca0540f3c3205e03053d2f9f0c164172368987db648651dd8b0c02c86289d84f77cdcc5f28334a7a789a8daff1a7db83e008
|
data/CHANGELOG.md
CHANGED
@@ -1,76 +1,78 @@
|
|
1
1
|
# Zine Changelog
|
2
2
|
|
3
|
-
|
3
|
+
# 0.16.0 - 17 June, 2022
|
4
4
|
|
5
|
-
-
|
6
|
-
-
|
7
|
-
- Thor
|
8
|
-
-
|
9
|
-
-
|
10
|
-
-
|
11
|
-
-
|
12
|
-
- Slim, then dropped Slim, back with ERB - translation was going to take too long
|
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
|
+
- temp warning about missing atom template in zine.yaml, better handling of missing templates
|
6
|
+
- cli missing options bug fixed - from 0.15.0
|
7
|
+
- added Thor self.exit_on_failure? method
|
8
|
+
- increased the required version of Ruby to 2.6
|
9
|
+
- changed the license - from MIT, to GNU Affero GPL
|
10
|
+
- reversed the sort order for this change log
|
11
|
+
- changed the date format in the log - from US style, to everywhere else style
|
27
12
|
|
28
|
-
|
13
|
+
# 0.16.0 - 3 February, 2022 - not published as a gem
|
29
14
|
|
30
|
-
-
|
31
|
-
-
|
32
|
-
- first code to GitHub
|
33
|
-
- gem published
|
15
|
+
- 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
|
16
|
+
- year bump in starter template
|
34
17
|
|
35
|
-
|
18
|
+
# 0.15.0 - 26 May, 2020
|
36
19
|
|
37
|
-
-
|
38
|
-
-
|
39
|
-
-
|
40
|
-
- consolidated the DataPage calls in the Site class (the home page, feed, and now added an articles/archive index to that)
|
41
|
-
- added 'skip to main content' back into the header partial
|
42
|
-
- some bug fixes & minor refactoring
|
20
|
+
- dependency version bumps, year bump in template
|
21
|
+
- replaced zine.dev with https://mikekreuzer.com/projects/zine/
|
22
|
+
- other minor refactoring & doc rewrites
|
43
23
|
|
44
|
-
|
24
|
+
# 0.14.0 - 27 May, 2019
|
45
25
|
|
46
|
-
-
|
47
|
-
- added
|
48
|
-
-
|
49
|
-
-
|
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
|
26
|
+
- added an AWS S3 uploader
|
27
|
+
- added AWS CloudFront invalidation
|
28
|
+
- added zine.dev to the footer template
|
29
|
+
- bug fix - catch carriage returns as default yes answers to the upload? question
|
66
30
|
|
67
|
-
|
31
|
+
# 0.13.0 - lucky 13 - 26 May, 2019
|
68
32
|
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
33
|
+
- added some of the style changes that survived from v12, eg moved social media to the footer
|
34
|
+
- added a (permissive as they come) robots.txt file
|
35
|
+
- dependency updates, kramdown split into kramdown & kramdown-parser-gfm which seems to be slower :-(
|
36
|
+
- bumped the required version of Ruby to 2.3 (for bundler, kramdown, etc)
|
37
|
+
- dropped the highline gem (it was only used to get the one input, originally there was going to be more)
|
38
|
+
- minor readme updates
|
39
|
+
- placeholder site, mostly in case there's ever an app: https://zine.dev
|
40
|
+
|
41
|
+
# 0.12.0 - never pushed, used up until 25 April, 2019
|
42
|
+
|
43
|
+
- added (then removed) Mastodon from the list of contacts, changed the styling a few times, neglected to publish
|
72
44
|
|
73
|
-
|
45
|
+
# 0.11.0, 7 November, 2018
|
46
|
+
|
47
|
+
- fixed a bug where String#split would break apart markdown files on tables as well as at the metadata/markdown boundary
|
48
|
+
|
49
|
+
# 0.9.0, 1 January, 2018
|
50
|
+
|
51
|
+
- a bug in 'zine notice' involving full & partial paths that duplicated the post to notice on the history page, fixed
|
52
|
+
- minor code clean-up in cli.rb and server.rb
|
53
|
+
|
54
|
+
# 0.10.0, 7 November, 2018
|
55
|
+
|
56
|
+
- dependency version bumps
|
57
|
+
|
58
|
+
## 0.8.0, 2 October, 2017
|
59
|
+
|
60
|
+
- SFTP upload error wasn't caught in 0.7.0... TODO
|
61
|
+
- 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)
|
62
|
+
|
63
|
+
## 0.7.0, 30 September, 2017
|
64
|
+
|
65
|
+
- caught an SFTP upload error where SFTP credentials aren't in the keychain
|
66
|
+
- updated bundler
|
67
|
+
|
68
|
+
## 0.6.0, 17 September, 2017
|
69
|
+
|
70
|
+
- tests: for Upload & UploaderGitHub - found a bug, which is gratifying... would've been caught by a compiler, oh well
|
71
|
+
- fixed a mismatched div tag in the footer
|
72
|
+
- changed to a non 100 days of code change log
|
73
|
+
- updated some development dependencies (curb, rake, rspec, simplecov)
|
74
|
+
|
75
|
+
## 0.5.0, 9 March, 2017
|
74
76
|
|
75
77
|
- updated dependencies: Rake & Simplecov
|
76
78
|
- refactored Zine::Site#housekeeping_copy
|
@@ -96,62 +98,72 @@
|
|
96
98
|
- Upload class split up, into Upload and UploadSFTP
|
97
99
|
- UploadGitHub class added - GitHub uploads
|
98
100
|
|
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
|
101
|
+
## 0.4.0, 20 February, 2017
|
117
102
|
|
118
|
-
- a bug in
|
119
|
-
-
|
120
|
-
|
121
|
-
# 0.10.0, November 7, 2018
|
103
|
+
- fixed a bug in file uploads, which warrants a gem version bump
|
104
|
+
- fixed some typos in the blog
|
105
|
+
- updated some styles (footer links, bold text)
|
122
106
|
|
123
|
-
|
107
|
+
## 0.3.0, 19 February, 2017
|
124
108
|
|
125
|
-
|
109
|
+
- moved the local post directory creation to the write method
|
110
|
+
- added a minimalist version of building additional posts while build is running
|
111
|
+
- PostsAndHeadlines class extracted from Site
|
112
|
+
- CSS preprocessing with Sass added (LibSass and SassC)
|
113
|
+
- messing about with styles
|
114
|
+
- some minor refactoring & doc work
|
115
|
+
- watching the Markdown files for changes with Listener
|
116
|
+
- started on incremental builds
|
117
|
+
- added SFTP uploads of the files that changed, which includes (and it warrants a line)...
|
118
|
+
- my own homegrown (& no doubt pretty rough) SFTP version of mkdir_p
|
119
|
+
- incremental builds handle Markdown file deletions now
|
120
|
+
- rearranged the zine.yaml preferences file to accommodate file transfers
|
121
|
+
- added footer links via zine.yaml, tweaking the style & templates a little
|
122
|
+
- consolidate upload paths instead of sending duplicate mkdir requests via SFTP
|
123
|
+
- file watcher extended to cover non Markdown files
|
124
|
+
- testing real world data with my blog
|
125
|
+
- start the file watcher earlier to catch the initial build in a full build,
|
126
|
+
meant everything was a change so everything's uploaded...
|
127
|
+
- added an incremental build that skipped the initial writes to fix that
|
128
|
+
- linked homepage post titles to posts
|
126
129
|
|
127
|
-
|
130
|
+
## 0.2.0, 9 February, 2017
|
128
131
|
|
129
|
-
|
132
|
+
- RSS now using DataPage & ERB, with CDATA tags
|
133
|
+
- added Ruby 2.0 as a minimum to the gemspec
|
134
|
+
- template names from zine.yaml
|
135
|
+
- consolidated the DataPage calls in the Site class (the home page, feed, and now added an articles/archive index to that)
|
136
|
+
- added 'skip to main content' back into the header partial
|
137
|
+
- some bug fixes & minor refactoring
|
130
138
|
|
131
|
-
|
139
|
+
## 0.1.0, 6 February, 2017
|
132
140
|
|
133
|
-
|
141
|
+
- claimed the feed content is xhtml to get it to work, will revisit & fix this with CDATA
|
142
|
+
- started testing the engine against old blog posts
|
143
|
+
- first code to GitHub
|
144
|
+
- gem published
|
134
145
|
|
135
|
-
|
136
|
-
- added a (permissive as they come) robots.txt file
|
137
|
-
- dependency updates, kramdown split into kramdown & kramdown-parser-gfm which seems to be slower :-(
|
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
|
146
|
+
## Pre 0.0.1
|
142
147
|
|
143
|
-
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
-
|
148
|
-
-
|
149
|
-
-
|
150
|
-
-
|
151
|
-
|
152
|
-
|
153
|
-
-
|
154
|
-
-
|
155
|
-
-
|
156
|
-
-
|
157
|
-
-
|
148
|
+
- set up the blog & repos
|
149
|
+
- set up bundler, rspec tests
|
150
|
+
- Thor for the menu & as a generator
|
151
|
+
- YAML options
|
152
|
+
- have a Site object pushing file names to Page objects
|
153
|
+
- Kramdown
|
154
|
+
- played with cucumber for a while but decided not to use it, it's a DSL too far.
|
155
|
+
- Slim, then dropped Slim, back with ERB - translation was going to take too long
|
156
|
+
- added HTML compression, even though the difference is only around 1kb a page
|
157
|
+
- ERB partials
|
158
|
+
- working posts & tags
|
159
|
+
- replaced Colorize with Rainbow
|
160
|
+
- replaced ERB::Util with a slug name generator
|
161
|
+
- added dates to tag lists
|
162
|
+
- copies files that aren't Markdown or templates to the build directory, preserving the folder structure
|
163
|
+
- a simple WEBrick server for preview, with SSL, then
|
164
|
+
- WEBrick swapped out for Thin - WEBrick's been ridiculously slow
|
165
|
+
- DataPage class carved out of Page
|
166
|
+
- home & all tags index pages
|
167
|
+
- more serious site & page class refactoring
|
168
|
+
- pages that aren't blog posts (eg about)
|
169
|
+
- started into RSS/Atom feeds, and the standard library docs are borderline nonexistent
|