zine 0.21.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.
- checksums.yaml +4 -4
- data/README.md +5 -98
- data/lib/zine/version.rb +1 -1
- metadata +10 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0db3811426ce9ecf583af271974224a6318cecb98df70f3c3c0ccc4105c0737e
|
4
|
+
data.tar.gz: a37c5de4d4be5bad0318b7e12d180e23d879df81fb738de4ababa0fb6aad7e67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c72438cb78d7b224922244e6a79744372329cc875bce09cc5b9713507da8df7952710fc14ff7765651813548687c7ac6f5b6a5b60b0a912fd484cbd187f9331
|
7
|
+
data.tar.gz: 5527ff15e8337106f809d4a0f7cd61c81a2c13ceaacc971de5a8337d5ee3c5f22ce43e128c4dba3ad60d7135557650feadb3f5017dbe324b6e4735f8b54efd9b
|
data/README.md
CHANGED
@@ -1,103 +1,10 @@
|
|
1
1
|
# zine
|
2
2
|
|
3
|
-
|
3
|
+
I rewrote Zine in Rust. The version in this gem is no longer maintained.
|
4
4
|
|
5
|
-
|
5
|
+
Please see [mikekreuzer.com][mikekreuzer.com] for my more recent work.
|
6
6
|
|
7
|
-
|
7
|
+
The Rust version is at: [https://codeberg.org/kreuzer/zine/][codeberg]
|
8
8
|
|
9
|
-
|
10
|
-
|
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
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.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:
|
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
|
@@ -210,9 +210,12 @@ dependencies:
|
|
210
210
|
- - "~>"
|
211
211
|
- !ruby/object:Gem::Version
|
212
212
|
version: '1.3'
|
213
|
-
description:
|
214
|
-
|
215
|
-
|
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
|
216
219
|
email:
|
217
220
|
- mike@mikekreuzer.com
|
218
221
|
executables:
|
@@ -287,8 +290,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
287
290
|
- !ruby/object:Gem::Version
|
288
291
|
version: '0'
|
289
292
|
requirements: []
|
290
|
-
rubygems_version: 3.5.
|
293
|
+
rubygems_version: 3.5.17
|
291
294
|
signing_key:
|
292
295
|
specification_version: 4
|
293
|
-
summary:
|
296
|
+
summary: I rewrote Zine in Rust. The version in this gem is no longer maintained.
|
294
297
|
test_files: []
|