awestruct 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e84d5fa1a01fd5a6548655e9252162b45fca40855ee4776af94ce792d68ad83
4
- data.tar.gz: fbd69003ad67d023eebea7651f43fa8f27fe94ddf1afb4fe38ad1cbe7332e921
3
+ metadata.gz: d11d7f035acc9b03fa5f8b986c005836bf8bd8a1bc87547e2641d8e0156f35cd
4
+ data.tar.gz: b0ea93494ccc5c0cc3d5ac81ac12b4bba7ee53678b79c7ff8e1c4bdcae5e6b2a
5
5
  SHA512:
6
- metadata.gz: c3ed669aca3f76369a286745da76538004ca3cfd186ee204af544c10d8b61829de267f6926f4c392feeda4918b47fb44ed4ad62dd40f694529b7f2f90ee8e93e
7
- data.tar.gz: 5b81de54bcb6690ef458657f1a1adfdd41e6224c6690650ca90697b218b48d53ab8fb319bd7f1da5f69aaa256270ea8a45821f419d9f581af880d6656ae5d69c
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 <http://awestruct.org/>.
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-02-07'
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 = 'http://awestruct.org'
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 = `git ls-files -z -- lib/* man/* spec/* README* LICENSE* *.gemspec *file`.split("\0")
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 = `git ls-files -z -- bin/*`.split("\0").map {|f| File.basename f }
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'
@@ -84,7 +84,9 @@ module Awestruct
84
84
  else
85
85
  true
86
86
  end
87
- rescue
87
+ rescue => e
88
+ $LOG.fatal "Caught exception; exiting"
89
+ $LOG.fatal e
88
90
  @success = false
89
91
  false
90
92
  end
@@ -161,7 +161,7 @@ module Awestruct
161
161
 
162
162
  opts.on_tail("-v", "--version", "Display the version") do
163
163
  puts "Awestruct: #{Awestruct::VERSION}"
164
- puts "http://awestruct.org/"
164
+ puts "https://awestruct.github.io/"
165
165
  exit
166
166
  end
167
167
  end
@@ -37,7 +37,11 @@ module Awestruct
37
37
  end
38
38
 
39
39
  begin
40
- page.content
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=>'http://awestruct.org', :role=>"button" }
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 &raquo;
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=>'http://awestruct.org' } View details &raquo;
19
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
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=>'http://awestruct.org' } View details &raquo;
24
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
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=>'http://awestruct.org' } View details &raquo;
29
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
@@ -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=>'http://foundation.zurb.com'} Check out Foundation 4
15
- %a.button.secondary{:href=>'http://awestruct.org'} Check out Awestruct
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=>'http://awestruct.org'} View details &raquo;
22
+ %a.button{:href=>'https://awestruct.github.io'} View details &raquo;
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=>'http://awestruct.org'} View details &raquo;
28
+ %a.button{:href=>'https://awestruct.github.io'} View details &raquo;
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=>'http://awestruct.org'} View details &raquo;
34
+ %a.button{:href=>'https://awestruct.github.io'} View details &raquo;
@@ -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=>'http://awestruct.org', :role=>"button" }
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 &raquo;
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=>'http://awestruct.org' } View details &raquo;
19
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
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=>'http://awestruct.org' } View details &raquo;
24
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
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=>'http://awestruct.org' } View details &raquo;
29
+ %a.btn{ :href=>'https://awestruct.github.io' } View details &raquo;
@@ -1,3 +1,3 @@
1
1
  module Awestruct
2
- VERSION = '0.6.5'
2
+ VERSION = '0.6.6'
3
3
  end
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: <**http://awestruct.org**>
125
+ Project web site: <**https://awestruct.github.io**>
126
126
 
127
- GitHub organization: <**http://github.com/awestruct**>
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.5
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-02-07 00:00:00.000000000 Z
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: http://awestruct.org
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"