zine 0.20.0 → 0.22.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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +29 -22
  3. data/README.md +5 -98
  4. data/lib/zine/version.rb +1 -1
  5. metadata +30 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c72d8eba392c259b5c9a7914da03137f9d85ad1a4aed6cd694401681ac5966b3
4
- data.tar.gz: 0ac041d6c35d5608a81c2da8cb802d2aa3e324e5f16873a6069c4ef9e2060bde
3
+ metadata.gz: 0db3811426ce9ecf583af271974224a6318cecb98df70f3c3c0ccc4105c0737e
4
+ data.tar.gz: a37c5de4d4be5bad0318b7e12d180e23d879df81fb738de4ababa0fb6aad7e67
5
5
  SHA512:
6
- metadata.gz: '004903591348d94c69026caec60e849cf071f180a63aaeb2c2481e7dbab731d3a4f0b32c1d9cb011ed3d9848dd6d15c41022aefebbc2e72a977c8d6989278d0e'
7
- data.tar.gz: 9e720d20097b3219035d828c78f7bf2739c8938875401822550ebfe4e8350302ffe09d4056ce12355c83fb13c076b9ccaf45fc1fd8c037be91aa271009f4fd60
6
+ metadata.gz: 4c72438cb78d7b224922244e6a79744372329cc875bce09cc5b9713507da8df7952710fc14ff7765651813548687c7ac6f5b6a5b60b0a912fd484cbd187f9331
7
+ data.tar.gz: 5527ff15e8337106f809d4a0f7cd61c81a2c13ceaacc971de5a8337d5ee3c5f22ce43e128c4dba3ad60d7135557650feadb3f5017dbe324b6e4735f8b54efd9b
data/CHANGELOG.md CHANGED
@@ -1,23 +1,30 @@
1
1
  # Zine Changelog
2
2
 
3
- ## 0.20.0 - 5 December, 2023
3
+ ## 0.21.0 - 17 July 2024
4
+
5
+ - removed unused RubyMine project files
6
+ - belatedly fixed a test broken by adding the Open Graph tags
7
+ - added the faraday-retry gem to silence a warning
8
+ - dependency version bumps
9
+
10
+ ## 0.20.0 - 5 December 2023
4
11
 
5
12
  - added Open Graph & canonical link tags - source/templates/header_partial.erb will need to be updated on your site
6
13
  - added an extra 'git push' in the Rakefile, to push code changes as well as the tag
7
14
  - expanded the meta data in the gemspec file
8
15
 
9
- ## 0.19.0 - 22 November, 2023
16
+ ## 0.19.0 - 22 November 2023
10
17
 
11
18
  - moved the repo from GitHub to Codeberg, changed the links in the README, gemspec, and skeleton files
12
19
  - dropped the link to the now defunct Ripley project
13
20
  - added Reek, dropped Solargraph, updated dependencies
14
21
  - updated the Rakefile, replacing bundler/gem_tasks with direct gem and git calls
15
22
 
16
- ## 0.18.0 - 17 February, 2023
23
+ ## 0.18.0 - 17 February 2023
17
24
 
18
25
  - replaced https://mikekreuzer.com/projects/zine/ with GitHub address
19
26
 
20
- ## 0.17.0 - 17 February, 2023
27
+ ## 0.17.0 - 17 February 2023
21
28
 
22
29
  - forced polling for the listener gem, which was skipping new files on linux otherwise
23
30
  - fixed an errant inverted comma in links, introduced in the last commit
@@ -28,7 +35,7 @@
28
35
  - year bump in the starter template
29
36
  - dropped the faraday-retry gem again after Octokit updated
30
37
 
31
- ## towards 0.17.0 - 20 June, 2022 (on Github, but not RubyGems)
38
+ ## towards 0.17.0 - 20 June 2022 (on Github, but not RubyGems)
32
39
 
33
40
  - customised the rake file
34
41
  - refactored - from 112 rubocop offenses, to 33
@@ -37,7 +44,7 @@
37
44
  - dependency updates
38
45
  - added the faraday-retry gem as a dependency, to suppress warnings (from Octokit)
39
46
 
40
- ## 0.16.0 - 17 June, 2022
47
+ ## 0.16.0 - 17 June 2022
41
48
 
42
49
  - temp warning about missing atom template in zine.yaml, better handling of missing templates
43
50
  - cli missing options bug fixed - from 0.15.0
@@ -47,25 +54,25 @@
47
54
  - reversed the sort order for this change log
48
55
  - changed the date format in the log - from US style, to everywhere else style
49
56
 
50
- ## towards 0.16.0 - 3 February, 2022
57
+ ## towards 0.16.0 - 3 February 2022
51
58
 
52
59
  - 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
53
60
  - year bump in starter template
54
61
 
55
- ## 0.15.0 - 26 May, 2020
62
+ ## 0.15.0 - 26 May 2020
56
63
 
57
64
  - dependency version bumps, year bump in template
58
65
  - replaced zine.dev with https://mikekreuzer.com/projects/zine/
59
66
  - other minor refactoring & doc rewrites
60
67
 
61
- ## 0.14.0 - 27 May, 2019
68
+ ## 0.14.0 - 27 May 2019
62
69
 
63
70
  - added an AWS S3 uploader
64
71
  - added AWS CloudFront invalidation
65
72
  - added zine.dev to the footer template
66
73
  - bug fix - catch carriage returns as default yes answers to the upload? question
67
74
 
68
- ## 0.13.0 - lucky 13 - 26 May, 2019
75
+ ## 0.13.0 - lucky 13 - 26 May 2019
69
76
 
70
77
  - added some of the style changes that survived from v12, eg moved social media to the footer
71
78
  - added a (permissive as they come) robots.txt file
@@ -75,41 +82,41 @@
75
82
  - minor readme updates
76
83
  - placeholder site, mostly in case there's ever an app: https://zine.dev
77
84
 
78
- ## 0.12.0 - never pushed, used up until 25 April, 2019
85
+ ## 0.12.0 - never pushed, used up until 25 April 2019
79
86
 
80
87
  - added (then removed) Mastodon from the list of contacts, changed the styling a few times, neglected to publish
81
88
 
82
- ## 0.11.0, 7 November, 2018
89
+ ## 0.11.0, 7 November 2018
83
90
 
84
91
  - fixed a bug where String#split would break apart markdown files on tables as well as at the metadata/markdown boundary
85
92
 
86
- ## 0.9.0, 1 January, 2018
93
+ ## 0.9.0, 1 January 2018
87
94
 
88
95
  - a bug in 'zine notice' involving full & partial paths that duplicated the post to notice on the history page, fixed
89
96
  - minor code clean-up in cli.rb and server.rb
90
97
 
91
- ## 0.10.0, 7 November, 2018
98
+ ## 0.10.0, 7 November 2018
92
99
 
93
100
  - dependency version bumps
94
101
 
95
- ## 0.8.0, 2 October, 2017
102
+ ## 0.8.0, 2 October 2017
96
103
 
97
104
  - SFTP upload error wasn't caught in 0.7.0... TODO
98
105
  - 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)
99
106
 
100
- ## 0.7.0, 30 September, 2017
107
+ ## 0.7.0, 30 September 2017
101
108
 
102
109
  - caught an SFTP upload error where SFTP credentials aren't in the keychain
103
110
  - updated bundler
104
111
 
105
- ## 0.6.0, 17 September, 2017
112
+ ## 0.6.0, 17 September 2017
106
113
 
107
114
  - tests: for Upload & UploaderGitHub - found a bug, which is gratifying... would've been caught by a compiler, oh well
108
115
  - fixed a mismatched div tag in the footer
109
116
  - changed to a non 100 days of code change log
110
117
  - updated some development dependencies (curb, rake, rspec, simplecov)
111
118
 
112
- ## 0.5.0, 9 March, 2017
119
+ ## 0.5.0, 9 March 2017
113
120
 
114
121
  - updated dependencies: Rake & Simplecov
115
122
  - refactored Zine::Site#housekeeping_copy
@@ -135,13 +142,13 @@
135
142
  - Upload class split up, into Upload and UploadSFTP
136
143
  - UploadGitHub class added - GitHub uploads
137
144
 
138
- ## 0.4.0, 20 February, 2017
145
+ ## 0.4.0, 20 February 2017
139
146
 
140
147
  - fixed a bug in file uploads, which warrants a gem version bump
141
148
  - fixed some typos in the blog
142
149
  - updated some styles (footer links, bold text)
143
150
 
144
- ## 0.3.0, 19 February, 2017
151
+ ## 0.3.0, 19 February 2017
145
152
 
146
153
  - moved the local post directory creation to the write method
147
154
  - added a minimalist version of building additional posts while build is running
@@ -164,7 +171,7 @@
164
171
  - added an incremental build that skipped the initial writes to fix that
165
172
  - linked homepage post titles to posts
166
173
 
167
- ## 0.2.0, 9 February, 2017
174
+ ## 0.2.0, 9 February 2017
168
175
 
169
176
  - RSS now using DataPage & ERB, with CDATA tags
170
177
  - added Ruby 2.0 as a minimum to the gemspec
@@ -173,7 +180,7 @@
173
180
  - added 'skip to main content' back into the header partial
174
181
  - some bug fixes & minor refactoring
175
182
 
176
- ## 0.1.0, 6 February, 2017
183
+ ## 0.1.0, 6 February 2017
177
184
 
178
185
  - claimed the feed content is xhtml to get it to work, will revisit & fix this with CDATA
179
186
  - started testing the engine against old blog posts
data/README.md CHANGED
@@ -1,103 +1,10 @@
1
1
  # zine
2
2
 
3
- [![Gem Version](https://badge.fury.io/rb/zine.svg)](https://badge.fury.io/rb/zine)
3
+ I rewrote Zine in Rust. The version in this gem is no longer maintained.
4
4
 
5
- Zine is an open source, command line, blog-aware, static website generator.
5
+ Please see [mikekreuzer.com][mikekreuzer.com] for my more recent work.
6
6
 
7
- Distinguishing features include:
7
+ The Rust version is at: [https://codeberg.org/kreuzer/zine/][codeberg]
8
8
 
9
- - ERB templates
10
- - Sass stylesheets
11
- - fast incremental builds
12
- - a choice of AWS S3, GitHub & SFTP file uploaders
13
-
14
- ## How do I get it?
15
-
16
- Zine is a Ruby Gem, so if you have Ruby on your machine (it comes installed standard on a Mac), open Terminal & type
17
-
18
- ````bash
19
- gem install zine
20
- ````
21
-
22
- And you're away.
23
-
24
- To generate a new scaffold site, cd to a new directory and:
25
-
26
- ```shell
27
- $ zine site
28
- ```
29
-
30
- Then update your site's name, your name & so on in zine.yaml. Pay particular care to the Upload section, if you want to use Zine to deploy files you've changed, you'll need to edit this section to include your remote server's details, including the path to a YAML file with your credentials.
31
-
32
- ## Day to day use
33
-
34
- To set up a new blog post:
35
-
36
- ```shell
37
- $ zine post 'Your chosen title'
38
- ```
39
-
40
- Your new post will have some fields set up in the YAML front matter, feel free to edit them too.
41
-
42
- You can also create other Markdown files outside of the posts folder, those will be rendered into HTML in the same relative position in the build folder. That's how the project, about etc pages on my site are made for example.
43
-
44
- Type zine build before you start writing to serve up a local copy of your site that you can refresh to see what the build version will look like.
45
-
46
- ```shell
47
- $ zine build
48
- ```
49
-
50
- or
51
-
52
- ```shell
53
- $ zine force
54
- ```
55
-
56
- Build will only watch for the things that change while it's running, so the first time you build your site you should use force -- force writes all of the files (& so also uploads them all too if you've set up uploads).
57
-
58
- Control-C in Terminal when you're done.
59
-
60
- ## Design & development
61
-
62
- Typing <code>zine style</code> will render the Sass file into CSS. The templates are all editable, as are the files' names, which you can change in the options file.
63
-
64
- ### Halp!
65
-
66
- To see the options available type zine & hit enter:
67
-
68
- ```shell
69
- $ zine
70
- Commands:
71
- zine build # Build the site
72
- zine force # Build the site, forcing writes & uploads
73
- zine help [COMMAND] # Describe available commands or one specific command
74
- zine notice POST # Build the site, then force the one POST
75
- zine nuke # Delete the build folder
76
- zine post TITLE # Create the file for a new blog post, titled TITLE
77
- zine site # Create the skeleton of a new site (overwriting files)
78
- zine style # Build the site's stylesheet
79
- zine version # Show the version number
80
- ```
81
-
82
- ## Links
83
-
84
- - [Code][codeberg] - show me the code
85
- - [Ruby gems][rubygems] - show me the Ruby details (pick up some gems while you're there)
86
-
87
- ## Contributing
88
-
89
- Yes please. Bug reports and pull requests are welcome on Codeberg at https://codeberg.org/kreuzer/zine.
90
-
91
- ## Tests
92
-
93
- ```shell
94
- rake
95
- ```
96
-
97
- ## License
98
-
99
- The gem is available as open source under the terms of the [AGPL3 License][license].
100
-
101
- [codeberg]: https://codeberg.org/kreuzer/zine
102
- [license]: https://codeberg.org/kreuzer/zine/src/branch/main/LICENSE
103
- [rubygems]: https://rubygems.org/gems/zine
9
+ [mikekreuzer.com]: https://mikekreuzer.com
10
+ [codeberg]: https://codeberg.org/kreuzer/zine/
data/lib/zine/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Zine
4
4
  # The version
5
- VERSION = '0.20.0'
5
+ VERSION = '0.22.0'
6
6
  end
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.20.0
4
+ version: 0.22.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: 2023-12-05 00:00:00.000000000 Z
11
+ date: 2025-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-cloudfront
@@ -38,6 +38,26 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '1.138'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday-retry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.2'
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 2.2.1
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ requirements:
55
+ - - "~>"
56
+ - !ruby/object:Gem::Version
57
+ version: '2.2'
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 2.2.1
41
61
  - !ruby/object:Gem::Dependency
42
62
  name: htmlcompressor
43
63
  requirement: !ruby/object:Gem::Requirement
@@ -190,9 +210,12 @@ dependencies:
190
210
  - - "~>"
191
211
  - !ruby/object:Gem::Version
192
212
  version: '1.3'
193
- description: |-
194
- Yet another blog aware static site generator.
195
- There are many like it, but this one is mine.
213
+ description: |
214
+ I rewrote Zine in Rust. The version in this gem is no longer maintained.
215
+
216
+ Please see mikekreuzer.com for my more recent work.
217
+
218
+ The Rust version is at: codeberg.org/kreuzer/zine
196
219
  email:
197
220
  - mike@mikekreuzer.com
198
221
  executables:
@@ -267,8 +290,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
290
  - !ruby/object:Gem::Version
268
291
  version: '0'
269
292
  requirements: []
270
- rubygems_version: 3.4.10
293
+ rubygems_version: 3.5.17
271
294
  signing_key:
272
295
  specification_version: 4
273
- summary: Yet another blog aware static site generator.
296
+ summary: I rewrote Zine in Rust. The version in this gem is no longer maintained.
274
297
  test_files: []