awestruct 0.6.5 → 0.6.6
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 +1 -1
- data/awestruct.gemspec +10 -6
- data/lib/awestruct/cli/invoker.rb +3 -1
- data/lib/awestruct/cli/options.rb +1 -1
- data/lib/awestruct/extensions/partial.rb +5 -1
- data/lib/awestruct/frameworks/bootstrap/base_index.html.haml +4 -4
- data/lib/awestruct/frameworks/foundation/base_index.html.haml +7 -7
- data/lib/awestruct/frameworks/none/base_index.html.haml +4 -4
- data/lib/awestruct/version.rb +1 -1
- data/man/awestruct.adoc +2 -4
- metadata +13 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d11d7f035acc9b03fa5f8b986c005836bf8bd8a1bc87547e2641d8e0156f35cd
|
|
4
|
+
data.tar.gz: b0ea93494ccc5c0cc3d5ac81ac12b4bba7ee53678b79c7ff8e1c4bdcae5e6b2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 88e821c890a57c3bd522e9984438c93fc83876f107a595aa5a6bb23740b0aec2153469df871dfe82b0e6a9540b4c57a70f211c9d5074bf5bf0b6a127fc56103d
|
|
7
|
+
data.tar.gz: 96ec194dda79640a405bfb98be2d42ec25e6c3d365eb6c0a1d2ebbfd82eb7e02c609406b3a747dbea15d307dc900abc51c7145b293a52fe57abd63c863d116cb
|
data/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Install Awestruct using `gem install awestruct`. Then you can initialize an Awes
|
|
|
13
13
|
|
|
14
14
|
## For more information
|
|
15
15
|
|
|
16
|
-
Please see the complete site at <
|
|
16
|
+
Please see the complete site at <https://awestruct.github.io/>.
|
|
17
17
|
|
|
18
18
|
## License
|
|
19
19
|
|
data/awestruct.gemspec
CHANGED
|
@@ -4,25 +4,29 @@ require 'awestruct/version'
|
|
|
4
4
|
spec = Gem::Specification.new do |s|
|
|
5
5
|
s.name = 'awestruct'
|
|
6
6
|
s.version = Awestruct::VERSION
|
|
7
|
-
s.date = '2023-
|
|
7
|
+
s.date = '2023-04-16'
|
|
8
8
|
|
|
9
9
|
s.authors = ['Bob McWhirter', 'Jason Porter', 'Lance Ball', 'Dan Allen', 'Torsten Curdt', 'other contributors']
|
|
10
10
|
s.email = ['bob@mcwhirter.org', 'lightguard.jp@gmail.com', 'lball@redhat.com', 'dan.j.allen@gmail.com', 'tcurdt@vafer.org']
|
|
11
|
-
s.homepage = '
|
|
11
|
+
s.homepage = 'https://awestruct.github.io'
|
|
12
12
|
s.summary = 'Static site baking and publishing tool'
|
|
13
13
|
s.description = 'Awestruct is a static site baking and publishing tool. It supports an extensive list of both templating and markup languages via Tilt (Haml, Slim, AsciiDoc, Markdown, Sass via Compass, etc), provides mobile-first layout and styling via Bootstrap or Foundation, offers a variety of deployment options (rsync, git, S3), handles site optimizations (minification, compression, cache busting), includes built-in extensions such as blog post management and is highly extensible.'
|
|
14
14
|
|
|
15
15
|
s.license = 'MIT'
|
|
16
|
-
|
|
16
|
+
s.metadata = {
|
|
17
|
+
'bug_tracker_uri' => 'https://github.com/awestruct/awestruct/issues',
|
|
18
|
+
'changelog_uri' => 'https://github.com/awestruct/awestruct/releases',
|
|
19
|
+
'source_code_uri' => 'https://github.com/awestruct/awestruct'
|
|
20
|
+
}
|
|
17
21
|
s.platform = Gem::Platform::RUBY
|
|
18
22
|
s.required_ruby_version = '>= 2.4.0'
|
|
19
23
|
|
|
20
24
|
s.rdoc_options = ['--charset=UTF-8']
|
|
21
25
|
s.extra_rdoc_files = 'README.md'
|
|
22
26
|
|
|
23
|
-
s.files =
|
|
27
|
+
s.files = Dir.glob(["lib/**/*", "man/**/*", "spec/**/*", "spec/**/.awestruct_ignore", "README*", "LICENSE*", "*.gemspec", "*file"]).reject {|fn| File.directory?(fn) }
|
|
24
28
|
s.test_files = s.files.select { |path| path =~ /^spec\/.*_spec\.rb/ }
|
|
25
|
-
s.executables =
|
|
29
|
+
s.executables = Dir.glob("bin/*").map {|f| File.basename f }
|
|
26
30
|
s.require_paths = ['lib']
|
|
27
31
|
|
|
28
32
|
s.requirements = <<-EOS
|
|
@@ -31,7 +35,7 @@ Haml and Markdown filters are touchy things. Redcarpet or Rdiscount work well if
|
|
|
31
35
|
Compass and sass are no longer hard dependencies. You'll need too add them on your own should you want them. We also should be able to work with sassc.
|
|
32
36
|
EOS
|
|
33
37
|
|
|
34
|
-
s.add_dependency 'haml', '>= 4.0.5'
|
|
38
|
+
s.add_dependency 'haml', '>= 4.0.5', '< 6.0'
|
|
35
39
|
s.add_dependency 'asciidoctor', '>= 1.5.2'
|
|
36
40
|
s.add_dependency 'tilt', '~> 2.0', '>= 2.0.1'
|
|
37
41
|
s.add_dependency 'mime-types', '~> 3.0'
|
|
@@ -37,7 +37,11 @@ module Awestruct
|
|
|
37
37
|
end
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
|
-
|
|
40
|
+
if site.partial_debug
|
|
41
|
+
"<!-- start partial: #{path} -->\n#{page.content}\n<!-- end partial: #{path} -->"
|
|
42
|
+
else
|
|
43
|
+
page.content
|
|
44
|
+
end
|
|
41
45
|
rescue Exception => e
|
|
42
46
|
ExceptionHelper.log_message "Error occurred while rendering partial #{filename} contained in #{self[:page].source_path}"
|
|
43
47
|
ExceptionHelper.log_backtrace e
|
|
@@ -5,7 +5,7 @@ layout: base
|
|
|
5
5
|
%h1 You're awestruct!
|
|
6
6
|
%p This site is all setup to use Bootstrap 3 with Awestruct.
|
|
7
7
|
%p
|
|
8
|
-
%a.btn.btn-primary.btn-lg{ :href=>'
|
|
8
|
+
%a.btn.btn-primary.btn-lg{ :href=>'https://awestruct.geihub.io', :role=>"button" }
|
|
9
9
|
%i.icon-info-sign.icon-white
|
|
10
10
|
Learn more »
|
|
11
11
|
|
|
@@ -16,14 +16,14 @@ layout: base
|
|
|
16
16
|
%p Awestruct is a framework for creating static HTML sites. It's inspired by the awesome Jekyll utility in the same genre.
|
|
17
17
|
%p Additionally, Awestruct integrates technologies such as Compass, Markdown and Haml.
|
|
18
18
|
%p
|
|
19
|
-
%a.btn{ :href=>'
|
|
19
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
|
20
20
|
.col-md-4
|
|
21
21
|
%h2 Goal
|
|
22
22
|
%p The goal of Awestruct is to make it trivially easy to bake out non-trivial static websites. In addition to providing template-driven site creation (using Haml), Awestruct provides facilities for easily priming the site creation with additional non-page data.
|
|
23
23
|
%p
|
|
24
|
-
%a.btn{ :href=>'
|
|
24
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
|
25
25
|
.col-md-4
|
|
26
26
|
%h2 Concept
|
|
27
27
|
%p The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.
|
|
28
28
|
%p
|
|
29
|
-
%a.btn{ :href=>'
|
|
29
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
|
@@ -3,7 +3,7 @@ layout: base
|
|
|
3
3
|
---
|
|
4
4
|
.row
|
|
5
5
|
.large-12.columns
|
|
6
|
-
%h1 You're awestruct!
|
|
6
|
+
%h1 You're awestruct!
|
|
7
7
|
%hr
|
|
8
8
|
|
|
9
9
|
.row
|
|
@@ -11,24 +11,24 @@ layout: base
|
|
|
11
11
|
.panel
|
|
12
12
|
%h3 Get started
|
|
13
13
|
%p This site is all setup to use Foundation 4 with Awestruct.
|
|
14
|
-
%a.button{:href=>'
|
|
15
|
-
%a.button.secondary{:href=>'
|
|
14
|
+
%a.button{:href=>'https://foundation.zurb.com'} Check out Foundation 4
|
|
15
|
+
%a.button.secondary{:href=>'https://awestruct.github.io'} Check out Awestruct
|
|
16
16
|
|
|
17
17
|
.row
|
|
18
18
|
.large-4.columns
|
|
19
|
-
%h3 About
|
|
19
|
+
%h3 About
|
|
20
20
|
%p Awestruct is a framework for creating static HTML sites. It's inspired by the awesome Jekyll utility in the same genre. Additionally, Awestruct integrates technologies such as Compass, Markdown and Haml.
|
|
21
21
|
%p
|
|
22
|
-
%a.button{:href=>'
|
|
22
|
+
%a.button{:href=>'https://awestruct.github.io'} View details »
|
|
23
23
|
|
|
24
24
|
.large-4.columns
|
|
25
25
|
%h3 Goal
|
|
26
26
|
%p The goal of Awestruct is to make it trivially easy to bake out non-trivial static websites. In addition to providing template-driven site creation (using Haml), Awestruct provides facilities for easily priming the site creation with additional non-page data.
|
|
27
27
|
%p
|
|
28
|
-
%a.button{:href=>'
|
|
28
|
+
%a.button{:href=>'https://awestruct.github.io'} View details »
|
|
29
29
|
|
|
30
30
|
.large-4.columns
|
|
31
31
|
%h3 Concept
|
|
32
32
|
%p The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.
|
|
33
33
|
%p
|
|
34
|
-
%a.button{:href=>'
|
|
34
|
+
%a.button{:href=>'https://awestruct.github.io'} View details »
|
|
@@ -5,7 +5,7 @@ layout: base
|
|
|
5
5
|
%h1 You're awestruct!
|
|
6
6
|
%p This site is all setup to Awestruct.
|
|
7
7
|
%p
|
|
8
|
-
%a.btn.btn-primary.btn-lg{ :href=>'
|
|
8
|
+
%a.btn.btn-primary.btn-lg{ :href=>'https://awestruct.github.io', :role=>"button" }
|
|
9
9
|
%i.icon-info-sign.icon-white
|
|
10
10
|
Learn more »
|
|
11
11
|
|
|
@@ -16,14 +16,14 @@ layout: base
|
|
|
16
16
|
%p Awestruct is a framework for creating static HTML sites. It's inspired by the awesome Jekyll utility in the same genre.
|
|
17
17
|
%p Additionally, Awestruct integrates technologies such as Compass, Markdown and Haml.
|
|
18
18
|
%p
|
|
19
|
-
%a.btn{ :href=>'
|
|
19
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
|
20
20
|
.col-md-4
|
|
21
21
|
%h2 Goal
|
|
22
22
|
%p The goal of Awestruct is to make it trivially easy to bake out non-trivial static websites. In addition to providing template-driven site creation (using Haml), Awestruct provides facilities for easily priming the site creation with additional non-page data.
|
|
23
23
|
%p
|
|
24
|
-
%a.btn{ :href=>'
|
|
24
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
|
25
25
|
.col-md-4
|
|
26
26
|
%h2 Concept
|
|
27
27
|
%p The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.
|
|
28
28
|
%p
|
|
29
|
-
%a.btn{ :href=>'
|
|
29
|
+
%a.btn{ :href=>'https://awestruct.github.io' } View details »
|
data/lib/awestruct/version.rb
CHANGED
data/man/awestruct.adoc
CHANGED
|
@@ -122,11 +122,9 @@ RESOURCES
|
|
|
122
122
|
---------
|
|
123
123
|
Git source repository on GitHub: <**https://github.com/awestruct/awestruct**>
|
|
124
124
|
|
|
125
|
-
Project web site: <**
|
|
125
|
+
Project web site: <**https://awestruct.github.io**>
|
|
126
126
|
|
|
127
|
-
GitHub organization: <**
|
|
128
|
-
|
|
129
|
-
Mailinglist / forum: <**http://talk.awestruct.org**>
|
|
127
|
+
GitHub organization: <**https://github.com/awestruct**>
|
|
130
128
|
|
|
131
129
|
|
|
132
130
|
COPYING
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: awestruct
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bob McWhirter
|
|
@@ -13,7 +13,7 @@ authors:
|
|
|
13
13
|
autorequire:
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
|
-
date: 2023-
|
|
16
|
+
date: 2023-04-16 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: haml
|
|
@@ -22,6 +22,9 @@ dependencies:
|
|
|
22
22
|
- - ">="
|
|
23
23
|
- !ruby/object:Gem::Version
|
|
24
24
|
version: 4.0.5
|
|
25
|
+
- - "<"
|
|
26
|
+
- !ruby/object:Gem::Version
|
|
27
|
+
version: '6.0'
|
|
25
28
|
type: :runtime
|
|
26
29
|
prerelease: false
|
|
27
30
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,6 +32,9 @@ dependencies:
|
|
|
29
32
|
- - ">="
|
|
30
33
|
- !ruby/object:Gem::Version
|
|
31
34
|
version: 4.0.5
|
|
35
|
+
- - "<"
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '6.0'
|
|
32
38
|
- !ruby/object:Gem::Dependency
|
|
33
39
|
name: asciidoctor
|
|
34
40
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -593,10 +599,13 @@ files:
|
|
|
593
599
|
- spec/support/test-data/simple-file.txt
|
|
594
600
|
- spec/support/test-data/stylesheets/screen.css
|
|
595
601
|
- spec/support/test-data/subdir/index.html
|
|
596
|
-
homepage:
|
|
602
|
+
homepage: https://awestruct.github.io
|
|
597
603
|
licenses:
|
|
598
604
|
- MIT
|
|
599
|
-
metadata:
|
|
605
|
+
metadata:
|
|
606
|
+
bug_tracker_uri: https://github.com/awestruct/awestruct/issues
|
|
607
|
+
changelog_uri: https://github.com/awestruct/awestruct/releases
|
|
608
|
+
source_code_uri: https://github.com/awestruct/awestruct
|
|
600
609
|
post_install_message:
|
|
601
610
|
rdoc_options:
|
|
602
611
|
- "--charset=UTF-8"
|