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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec6708f393eb728e1c5683a092f37ee2008c41c292105be0587c89045f9b267a
4
- data.tar.gz: c33be8fdc0d2b17ea341cd532827493491d41c665ffb21f0505dab21adfeaf27
3
+ metadata.gz: 0a66a879974bd37a0bae5528bbfbc4026abedcb2d299e423b27e6b10cc127ec1
4
+ data.tar.gz: dd4492c3f3e9b82355d1eb4c7ef8c30c44b04d6c8dfabe3156ad4f4d6fb7bfb4
5
5
  SHA512:
6
- metadata.gz: dd3359cbf10d141396f05ab17489eb44d80ff1bd6830dac029e8469a5d0a7d503d332a4892191f1240cf42813657ad10f90afed54ca19106e679710915196f9f
7
- data.tar.gz: 51769bedd049eac1a94a9e94cd4c0114303e847861f7cfb38044269d3aa1f05a538c62cdb3e0289a72f1835247d64236849e36bb33586bf963cc3d4d6f312ec5
6
+ metadata.gz: 954d1e78f5345ac73c499b8d1dd820769be59df6e3632af7b44be97088a61d77c6df89e2e4d1fe104128076b472b261bae40243dde87be04a53ad62d5d46eb78
7
+ data.tar.gz: adfcbad9184fff6f95473ee2000dfc4da0be91c97cc3a145bda6c8a01a6324e3908551e00c3172f88a3940f5ad15c60b7d45cf962bc5842c1dc2cc022f99096c
data/CHANGELOG.md CHANGED
@@ -1,76 +1,98 @@
1
1
  # Zine Changelog
2
2
 
3
- ## Pre 0.0.1
3
+ # 0.17.0 - 17 February, 2023
4
4
 
5
- - set up the blog & repos
6
- - set up bundler, rspec tests
7
- - Thor for the menu & as a generator
8
- - YAML options
9
- - have a Site object pushing file names to Page objects
10
- - Kramdown
11
- - played with cucumber for a while but decided not to use it, it's a DSL too far.
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
+ - 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
- ## 0.1.0, February 6, 2017
14
+ # towards 0.17.0 - 20 June, 2022 (on Github, but not RubyGems)
29
15
 
30
- - claimed the feed content is xhtml to get it to work, will revisit & fix this with CDATA
31
- - started testing the engine against old blog posts
32
- - first code to GitHub
33
- - gem published
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
- ## 0.2.0, February 9, 2017
23
+ # 0.16.0 - 17 June, 2022
36
24
 
37
- - RSS now using DataPage & ERB, with CDATA tags
38
- - added Ruby 2.0 as a minimum to the gemspec
39
- - template names from zine.yaml
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
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
- ## 0.3.0, February 19, 2017
33
+ # towards 0.16.0 - 3 February, 2022
45
34
 
46
- - moved the local post directory creation to the write method
47
- - added a minimalist version of building additional posts while build is running
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
- ## 0.4.0, February 20, 2017
38
+ # 0.15.0 - 26 May, 2020
68
39
 
69
- - fixed a bug in file uploads, which warrants a gem version bump
70
- - fixed some typos in the blog
71
- - updated some styles (footer links, bold text)
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 9, 2017
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.6.0, September 17, 2017
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
- - added some of the style changes that survived from v12, eg moved social media to the footer
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
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
- # 0.14.0 - May 27, 2019
127
+ ## 0.3.0, 19 February, 2017
144
128
 
145
- - added an AWS S3 uploader
146
- - added AWS CloudFront invalidation
147
- - added zine.dev to the footer template
148
- - bug fix - catch carriage returns as default yes answers to the upload? question
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
- # 0.15.0 - May 26, 2020
150
+ ## 0.2.0, 9 February, 2017
151
151
 
152
- - dependency version bumps, year bump in template
153
- - replaced zine.dev with https://mikekreuzer.com/projects/zine/
154
- - other minor refactoring & doc rewrites
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
- TO DO
159
+ ## 0.1.0, 6 February, 2017
157
160
 
158
- - add canonical links to page headers, means the build order needs to change...
159
- - generate sitemap.xml
160
- - fix the SFTP error from 0.7/0.8, also likely applies to S3
161
- - make sure the server's killed on errors (eg if no credentials) so can run it again later without a port conflict
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
- MAY DO
166
+ ## Pre 0.0.1
165
167
 
166
- - concurrent-ruby gem
167
- - migration scripts from eg Jekyll?
168
- - Apple News
169
- - much refactoring, frozen_string_literal, split monster classes, etc
170
- - replace thor with optparse
171
- - an app... maybe
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