static_site_builder 0.2.0 → 0.3.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/Gemfile.lock +1 -1
- data/README.md +4 -4
- data/exe/{site_builder → static_site_builder} +0 -0
- data/lib/static_site_builder/version.rb +1 -1
- data/static_site_builder.gemspec +3 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f37e792a41306185a8ec17bfed558bc948c9901ef4a109f30aad0b5b3cc99f8
|
|
4
|
+
data.tar.gz: 46b3276507d639cbb89effbaebdec1122bdc76409541da65ce15adbcea39fac7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e41baffc8e70acc9469c0c20b4d99cc720c1bcfad6d5e59a0078b79efe998fe1fb5d532aeb158ee076118850cae7b2319e3835b677eb02fbeb8d303e6ef70db3
|
|
7
|
+
data.tar.gz: 60b8ede1b9b66027610b41dfa9c222b4f978498efbdd1dfa50a2347287098d4d6c899d9539652201c406f17024cf8bcc49507e7598a3de82109f72d429f8a8e7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This gem will convert your markdown files into HTML files, embedding the generat
|
|
|
8
8
|
|
|
9
9
|
$ gem install static_site_builder
|
|
10
10
|
|
|
11
|
-
This will add an executable called `
|
|
11
|
+
This will add an executable called `static_site_builder` to your `$PATH`.
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
@@ -16,7 +16,7 @@ This will add an executable called `site_builder` to your `$PATH`.
|
|
|
16
16
|
$ mkdir -p ~/my_site
|
|
17
17
|
$ cd ~/my_site
|
|
18
18
|
$ echo "# My Amazing Website" >> index.md
|
|
19
|
-
$
|
|
19
|
+
$ static_site_builder build
|
|
20
20
|
Site built with 1 HTML file(s):
|
|
21
21
|
./index.html
|
|
22
22
|
$ open index.html
|
|
@@ -26,9 +26,9 @@ That's it! In this instance, there will be a newly generated mobile friendly `in
|
|
|
26
26
|
|
|
27
27
|
Of course, you can specify an input and output directory as well as a custom HTML template to use instead of the default one.
|
|
28
28
|
|
|
29
|
-
For full usage of `
|
|
29
|
+
For full usage of `static_site_builder`, see:
|
|
30
30
|
|
|
31
|
-
$
|
|
31
|
+
$ static_site_builder help build
|
|
32
32
|
|
|
33
33
|
## Templating
|
|
34
34
|
|
|
File without changes
|
data/static_site_builder.gemspec
CHANGED
|
@@ -13,6 +13,8 @@ Gem::Specification.new do |spec|
|
|
|
13
13
|
spec.description = "Gem for building static content websites from markdown."
|
|
14
14
|
spec.homepage = "https://github.com/michaeltelford/static_site_builder"
|
|
15
15
|
spec.license = "MIT"
|
|
16
|
+
|
|
17
|
+
spec.post_install_message = "Added the executable 'static_site_builder' to $PATH"
|
|
16
18
|
|
|
17
19
|
spec.required_ruby_version = '~> 2.5'
|
|
18
20
|
|
|
@@ -29,7 +31,7 @@ Gem::Specification.new do |spec|
|
|
|
29
31
|
f.match(%r{^(test|spec|features)/})
|
|
30
32
|
end
|
|
31
33
|
spec.bindir = "exe"
|
|
32
|
-
spec.executables = ["
|
|
34
|
+
spec.executables = ["static_site_builder"]
|
|
33
35
|
spec.require_paths = ["lib"]
|
|
34
36
|
|
|
35
37
|
spec.add_development_dependency "bundler", "~> 2.0"
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: static_site_builder
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Telford
|
|
@@ -98,7 +98,7 @@ description: Gem for building static content websites from markdown.
|
|
|
98
98
|
email:
|
|
99
99
|
- michael.telford@live.com
|
|
100
100
|
executables:
|
|
101
|
-
-
|
|
101
|
+
- static_site_builder
|
|
102
102
|
extensions: []
|
|
103
103
|
extra_rdoc_files: []
|
|
104
104
|
files:
|
|
@@ -115,7 +115,7 @@ files:
|
|
|
115
115
|
- Rakefile
|
|
116
116
|
- bin/console
|
|
117
117
|
- bin/setup
|
|
118
|
-
- exe/
|
|
118
|
+
- exe/static_site_builder
|
|
119
119
|
- lib/static_site_builder.rb
|
|
120
120
|
- lib/static_site_builder/html_templater.rb
|
|
121
121
|
- lib/static_site_builder/version.rb
|
|
@@ -126,7 +126,7 @@ licenses:
|
|
|
126
126
|
- MIT
|
|
127
127
|
metadata:
|
|
128
128
|
allowed_push_host: https://rubygems.org
|
|
129
|
-
post_install_message:
|
|
129
|
+
post_install_message: Added the executable 'static_site_builder' to $PATH
|
|
130
130
|
rdoc_options: []
|
|
131
131
|
require_paths:
|
|
132
132
|
- lib
|