awestruct 0.5.4.rc3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +24 -20
- data/LICENSE.txt +4 -4
- data/README.md +5 -5
- data/awestruct.gemspec +14 -11
- data/lib/awestruct/astruct_mixin.rb +0 -1
- data/lib/awestruct/cli/auto.rb +38 -11
- data/lib/awestruct/cli/invoker.rb +55 -39
- data/lib/awestruct/cli/options.rb +32 -22
- data/lib/awestruct/compass/default_configuration.rb +108 -0
- data/lib/awestruct/config.rb +11 -10
- data/lib/awestruct/config/default-site.yml +1 -0
- data/lib/awestruct/context.rb +0 -1
- data/lib/awestruct/dependencies.rb +7 -9
- data/lib/awestruct/deploy/base_deploy.rb +6 -0
- data/lib/awestruct/deploy/github_pages_deploy.rb +1 -0
- data/lib/awestruct/deploy/rsync_deploy.rb +11 -7
- data/lib/awestruct/deployers.rb +0 -1
- data/lib/awestruct/engine.rb +41 -37
- data/lib/awestruct/extensions/cachebuster.rb +2 -2
- data/lib/awestruct/extensions/google_analytics.rb +57 -17
- data/lib/awestruct/extensions/minify.rb +4 -5
- data/lib/awestruct/extensions/obfuscate.rb +13 -3
- data/lib/awestruct/extensions/partial.rb +8 -1
- data/lib/awestruct/extensions/pipeline.rb +11 -6
- data/lib/awestruct/extensions/remotePartial.rb +1 -1
- data/lib/awestruct/extensions/sitemap.rb +5 -1
- data/lib/awestruct/frameworks/base_Gemfile +10 -7
- data/lib/awestruct/frameworks/base_Rakefile +5 -1
- data/lib/awestruct/handler_chain.rb +0 -1
- data/lib/awestruct/handler_chains.rb +5 -1
- data/lib/awestruct/handlers/asciidoctor_handler.rb +9 -22
- data/lib/awestruct/handlers/base_tilt_handler.rb +13 -8
- data/lib/awestruct/handlers/css_tilt_handler.rb +2 -1
- data/lib/awestruct/handlers/front_matter_handler.rb +1 -0
- data/lib/awestruct/handlers/interpolation_handler.rb +1 -1
- data/lib/awestruct/handlers/javascript_handler.rb +1 -2
- data/lib/awestruct/handlers/layout_handler.rb +3 -4
- data/lib/awestruct/handlers/no_op_handler.rb +0 -1
- data/lib/awestruct/handlers/page_delegating_handler.rb +0 -1
- data/lib/awestruct/handlers/template/asciidoc.rb +51 -47
- data/lib/awestruct/handlers/tilt_handler.rb +13 -6
- data/lib/awestruct/handlers/yaml_handler.rb +0 -1
- data/lib/awestruct/layouts.rb +1 -3
- data/lib/awestruct/logger.rb +10 -3
- data/lib/awestruct/page.rb +0 -1
- data/lib/awestruct/page_loader.rb +0 -2
- data/lib/awestruct/pipeline.rb +1 -1
- data/lib/awestruct/site.rb +0 -1
- data/lib/awestruct/util/exception_helper.rb +18 -6
- data/lib/awestruct/version.rb +1 -1
- data/man/awestruct.adoc +1 -1
- data/spec/{astruct_spec.rb → awestruct/astruct_spec.rb} +0 -0
- data/spec/{invoker_spec.rb → awestruct/cli/invoker_spec.rb} +6 -6
- data/spec/{options_spec.rb → awestruct/cli/options_spec.rb} +0 -0
- data/spec/awestruct/deploy/base_deploy_spec.rb +30 -0
- data/spec/{deploy_spec.rb → awestruct/deploy/deploy_spec.rb} +14 -11
- data/spec/{github_pages_deploy_spec.rb → awestruct/deploy/github_pages_deploy_spec.rb} +8 -7
- data/spec/{rsync_deploy_spec.rb → awestruct/deploy/rsync_deploy_spec.rb} +0 -0
- data/spec/{asciidoc_handler_spec.rb → awestruct/handlers/asciidoc_handler_spec.rb} +2 -3
- data/spec/{coffeescript_handler_spec.rb → awestruct/handlers/coffeescript_handler_spec.rb} +0 -0
- data/spec/{erb_handler_spec.rb → awestruct/handlers/erb_handler_spec.rb} +0 -0
- data/spec/{file_handler_spec.rb → awestruct/handlers/file_handler_spec.rb} +7 -7
- data/spec/{front_matter_handler_spec.rb → awestruct/handlers/front_matter_handler_spec.rb} +1 -1
- data/spec/{haml_handler_spec.rb → awestruct/handlers/haml_handler_spec.rb} +0 -0
- data/spec/{interpolation_handler_spec.rb → awestruct/handlers/interpolation_handler_spec.rb} +1 -1
- data/spec/{javascript_handler_spec.rb → awestruct/handlers/javascript_handler_spec.rb} +0 -0
- data/spec/{layout_handler_spec.rb → awestruct/handlers/layout_handler_spec.rb} +1 -1
- data/spec/{less_handler_spec.rb → awestruct/handlers/less_handler_spec.rb} +0 -0
- data/spec/{markdown_handler_spec.rb → awestruct/handlers/markdown_handler_spec.rb} +0 -0
- data/spec/{mustache_handler_spec.rb → awestruct/handlers/mustache_handler_spec.rb} +1 -0
- data/spec/{orgmode_handler_spec.rb → awestruct/handlers/orgmode_handler_spec.rb} +0 -0
- data/spec/{page_delegating_handler_spec.rb → awestruct/handlers/page_delegating_handler_spec.rb} +1 -1
- data/spec/{redirect_handler_spec.rb → awestruct/handlers/redirect_handler_spec.rb} +0 -0
- data/spec/{restructuredtext_handler_spec.rb → awestruct/handlers/restructuredtext_handler_spec.rb} +0 -0
- data/spec/{sass_handler_spec.rb → awestruct/handlers/sass_handler_spec.rb} +0 -0
- data/spec/{scss_handler_spec.rb → awestruct/handlers/scss_handler_spec.rb} +0 -0
- data/spec/{slim_handler_spec.rb → awestruct/handlers/slim_handler_spec.rb} +0 -0
- data/spec/{textile_handler_spec.rb → awestruct/handlers/textile_handler_spec.rb} +1 -0
- data/spec/{tilt_handler_spec.rb → awestruct/handlers/tilt_handler_spec.rb} +6 -8
- data/spec/{yaml_handler_spec.rb → awestruct/handlers/yaml_handler_spec.rb} +1 -1
- data/spec/config_spec.rb +3 -3
- data/spec/engine_spec.rb +30 -43
- data/spec/layouts_spec.rb +1 -1
- data/spec/minify_spec.rb +10 -10
- data/spec/page_loader_spec.rb +1 -1
- data/spec/page_loader_spec_for_layouts.rb +1 -1
- data/spec/page_spec.rb +1 -1
- data/spec/posts_archive_spec.rb +7 -7
- data/spec/server_spec.rb +1 -1
- data/spec/spec_helper.rb +2 -13
- data/spec/support/awestruct_setup.rb +30 -0
- data/spec/support/emmet_matchers.rb +4 -0
- data/spec/support/nokogiri_matchers.rb +4 -0
- data/spec/support/shared_handler_example.rb +1 -1
- data/spec/support/test-config/_config/site.yml +1 -0
- data/spec/{test-data → support/test-data}/.awestruct_ignore +0 -0
- data/spec/{test-data → support/test-data}/engine/_config/arbitrary.yml +0 -0
- data/spec/{test-data/gzip/no.html.gz → support/test-data/engine/_config/compass.rb} +0 -0
- data/spec/{test-data → support/test-data}/engine/_config/other.yml +0 -0
- data/spec/{test-data → support/test-data}/engine/_config/site.yml +3 -0
- data/spec/{test-data → support/test-data}/front-matter-empty.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-file-no-content.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-file-no-front.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-file-utf8.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-file.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-looking.txt +0 -0
- data/spec/{test-data → support/test-data}/front-matter-middle.txt +0 -0
- data/spec/{test-data/gzip/no.txt → support/test-data/gzip/no.html.gz} +0 -0
- data/spec/{test-data/handlers/textile-empty-page.textile → support/test-data/gzip/no.txt} +0 -0
- data/spec/{test-data → support/test-data}/gzip/subdir/yes.css +0 -0
- data/spec/{test-data → support/test-data}/gzip/yes.html +0 -0
- data/spec/{test-data → support/test-data}/gzip/yes.js +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc-page.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc-page.adoc +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc-page.asciidoc +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc_with_attributes.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc_with_interpolation.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoc_without_interpolation.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoctor_with_front_matter.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/asciidoctor_with_headers.ad +0 -0
- data/spec/{test-data → support/test-data}/handlers/coffeescript-page.coffee +0 -0
- data/spec/{test-data → support/test-data}/handlers/empty-layout.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/erb-page.html.erb +0 -0
- data/spec/{test-data → support/test-data}/handlers/erb-page.xml.erb +0 -0
- data/spec/{test-data → support/test-data}/handlers/erb-utf-page.html.erb +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-error.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-layout-two.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-layout.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-page.atom.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-page.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-page.xml.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-with-markdown-page.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-with-textile-page.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-with-utf.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/haml-with-variables.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/hello.bogus +0 -0
- data/spec/{test-data → support/test-data}/handlers/inner-page.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/javascript-page.js +0 -0
- data/spec/{test-data → support/test-data}/handlers/less-page-include.less +0 -0
- data/spec/{test-data → support/test-data}/handlers/less-page-with-import.less +0 -0
- data/spec/{test-data → support/test-data}/handlers/less-page.less +0 -0
- data/spec/{test-data → support/test-data}/handlers/markdown-page.markdown +0 -0
- data/spec/{test-data → support/test-data}/handlers/markdown-page.md +0 -0
- data/spec/{test-data → support/test-data}/handlers/markdown-page.mkd +0 -0
- data/spec/{test-data → support/test-data}/handlers/mustache-page.html.mustache +0 -0
- data/spec/{test-data → support/test-data}/handlers/mustache-page.xml.mustache +0 -0
- data/spec/{test-data → support/test-data}/handlers/orgmode-page.org +0 -0
- data/spec/{test-data → support/test-data}/handlers/outer-layout.html.haml +0 -0
- data/spec/{test-data → support/test-data}/handlers/outside_relative/git_keep +0 -0
- data/spec/{test-data → support/test-data}/handlers/redirect-page.redirect +0 -0
- data/spec/{test-data → support/test-data}/handlers/restructuredtext-page.rst +0 -0
- data/spec/{test-data → support/test-data}/handlers/sass-page-include.sass +0 -0
- data/spec/{test-data → support/test-data}/handlers/sass-page.sass +0 -0
- data/spec/{test-data → support/test-data}/handlers/scss-page-include.scss +0 -0
- data/spec/{test-data → support/test-data}/handlers/scss-page.scss +0 -0
- data/spec/{test-data → support/test-data}/handlers/simple-redirect-page.redirect +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-page.atom.slim +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-page.html.slim +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-page.xml.slim +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-with-markdown-page.html.slim +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-with-utf.html.slim +0 -0
- data/spec/{test-data → support/test-data}/handlers/slim-with-variables.html.slim +0 -0
- data/spec/support/test-data/handlers/textile-empty-page.textile +0 -0
- data/spec/{test-data → support/test-data}/handlers/textile-page.textile +0 -0
- data/spec/{test-data → support/test-data}/images/logo.png +0 -0
- data/spec/{test-data → support/test-data}/index.html +0 -0
- data/spec/{test-data → support/test-data}/javascript/bootstrap-dropdown.js +0 -0
- data/spec/{test-data → support/test-data}/out-of-site/page-three.html.haml +0 -0
- data/spec/support/test-data/page-loader/.awestruct_ignore +2 -0
- data/spec/{test-data → support/test-data}/page-loader/_layouts/layout-one.md +0 -0
- data/spec/{test-data → support/test-data}/page-loader/_layouts/layout-two.html.haml +0 -0
- data/spec/{test-data → support/test-data}/page-loader/page-draft.md +0 -0
- data/spec/{test-data → support/test-data}/page-loader/page-one.md +0 -0
- data/spec/{test-data → support/test-data}/page-loader/page-two.html.haml +0 -0
- data/spec/{test-data → support/test-data}/simple-data.yaml +0 -0
- data/spec/{test-data → support/test-data}/simple-file.txt +0 -0
- data/spec/{test-data → support/test-data}/stylesheets/screen.css +0 -0
- data/spec/{test-data → support/test-data}/subdir/index.html +0 -0
- metadata +251 -232
data/spec/layouts_spec.rb
CHANGED
@@ -9,7 +9,7 @@ require 'hashery'
|
|
9
9
|
describe Awestruct::Layouts do
|
10
10
|
|
11
11
|
it "should be able to index layouts by simple name and output extension" do
|
12
|
-
dir = Pathname.new(
|
12
|
+
dir = Pathname.new( test_data_dir 'handlers' )
|
13
13
|
site = Hashery::OpenCascade[ { :dir=>dir } ]
|
14
14
|
file_handler = Awestruct::Handlers::FileHandler.new( site, File.join( dir, 'haml-layout.html.haml' ) )
|
15
15
|
haml_handler = Awestruct::Handlers::TiltHandler.new( site, file_handler )
|
data/spec/minify_spec.rb
CHANGED
@@ -4,8 +4,8 @@ require 'awestruct/extensions/minify'
|
|
4
4
|
describe Awestruct::Extensions::Minify do
|
5
5
|
|
6
6
|
it "should ignore files with no extension" do
|
7
|
-
site =
|
8
|
-
page =
|
7
|
+
site = double
|
8
|
+
page = double
|
9
9
|
|
10
10
|
site.should_receive(:minify).and_return true
|
11
11
|
page.should_receive(:output_path).and_return "CNAME"
|
@@ -16,12 +16,12 @@ describe Awestruct::Extensions::Minify do
|
|
16
16
|
end
|
17
17
|
|
18
18
|
it "should compress html files" do
|
19
|
-
site =
|
20
|
-
page =
|
19
|
+
site = double
|
20
|
+
page = double
|
21
21
|
|
22
22
|
site.should_receive(:minify).and_return true
|
23
23
|
site.should_receive(:minify_html_opts).and_return( {:remove_comments => false} )
|
24
|
-
page.should_receive(:output_path).
|
24
|
+
page.should_receive(:output_path).at_least(1).and_return "test.html"
|
25
25
|
|
26
26
|
input = "<html><a href='' /> \n</html><!--test-->"
|
27
27
|
expected_output = "<html><a href=''/> </html><!--test-->"
|
@@ -32,8 +32,8 @@ describe Awestruct::Extensions::Minify do
|
|
32
32
|
|
33
33
|
# Doing this if it's production now
|
34
34
|
#it "should compress css files" do
|
35
|
-
#site =
|
36
|
-
#page =
|
35
|
+
#site = double
|
36
|
+
#page = double
|
37
37
|
|
38
38
|
#site.should_receive(:minify).and_return true
|
39
39
|
#page.should_receive(:output_path).any_number_of_times.and_return "test.css"
|
@@ -46,11 +46,11 @@ describe Awestruct::Extensions::Minify do
|
|
46
46
|
#end
|
47
47
|
|
48
48
|
it "should compress js files" do
|
49
|
-
site =
|
50
|
-
page =
|
49
|
+
site = double
|
50
|
+
page = double
|
51
51
|
|
52
52
|
site.should_receive(:minify).and_return true
|
53
|
-
page.should_receive(:output_path).
|
53
|
+
page.should_receive(:output_path).at_least(1).and_return "test.js"
|
54
54
|
|
55
55
|
input = "function a (a, c) { \n a = \"a\";\n }"
|
56
56
|
# we're minifying so we're going to strip dead or unreferenced code
|
data/spec/page_loader_spec.rb
CHANGED
@@ -7,7 +7,7 @@ describe Awestruct::PageLoader do
|
|
7
7
|
|
8
8
|
before :each do
|
9
9
|
@opts = Awestruct::CLI::Options.new
|
10
|
-
@opts.source_dir =
|
10
|
+
@opts.source_dir = test_data_dir 'page-loader'
|
11
11
|
@config = Awestruct::Config.new( @opts )
|
12
12
|
@engine = Awestruct::Engine.new
|
13
13
|
@engine.pipeline.handler_chains << :defaults
|
@@ -7,7 +7,7 @@ describe Awestruct::PageLoader do
|
|
7
7
|
|
8
8
|
before :each do
|
9
9
|
@opts = Awestruct::CLI::Options.new
|
10
|
-
@opts.source_dir =
|
10
|
+
@opts.source_dir = test_data_dir 'page-loader'
|
11
11
|
@config = Awestruct::Config.new( @opts )
|
12
12
|
@engine = Awestruct::Engine.new
|
13
13
|
@engine.pipeline.handler_chains << :defaults
|
data/spec/page_spec.rb
CHANGED
@@ -20,7 +20,7 @@ describe Awestruct::Handlers::FileHandler do
|
|
20
20
|
end
|
21
21
|
|
22
22
|
before :each do
|
23
|
-
@filename = Pathname.new(
|
23
|
+
@filename = Pathname.new( test_data_dir 'simple-file.txt' )
|
24
24
|
@handler = Awestruct::Handlers::FileHandler.new( @site, @filename )
|
25
25
|
@page = Awestruct::Page.new( @site, @handler )
|
26
26
|
@site.engine.pipeline = Awestruct::Pipeline.new
|
data/spec/posts_archive_spec.rb
CHANGED
@@ -54,12 +54,12 @@ describe Awestruct::Extensions::Posts do
|
|
54
54
|
it "should assign default layout if specified to post without layout" do
|
55
55
|
extension = Awestruct::Extensions::Posts.new( '/posts', :news, nil, nil, :default_layout => 'blog' )
|
56
56
|
site = Hashery::OpenCascade[ { :encoding=>false } ]
|
57
|
-
page = __create_page( 2012, 8, 9, '/posts/
|
57
|
+
page = __create_page( 2012, 8, 9, '/posts/double-post.md' )
|
58
58
|
page.stub(:layout).and_return(nil)
|
59
59
|
page.should_receive(:layout=).with('blog')
|
60
|
-
page.stub(:slug).and_return(nil, '
|
61
|
-
page.should_receive(:slug=).with('
|
62
|
-
page.should_receive(:output_path=).with('/posts/2012/08/09/
|
60
|
+
page.stub(:slug).and_return(nil, 'double-post')
|
61
|
+
page.should_receive(:slug=).with('double-post')
|
62
|
+
page.should_receive(:output_path=).with('/posts/2012/08/09/double-post.html')
|
63
63
|
|
64
64
|
site.pages = [page]
|
65
65
|
extension.execute(site)
|
@@ -81,8 +81,8 @@ describe Awestruct::Extensions::Posts do
|
|
81
81
|
end
|
82
82
|
|
83
83
|
it "should use the provided template when generating the archive" do
|
84
|
-
engine =
|
85
|
-
template =
|
84
|
+
engine = double("Engine")
|
85
|
+
template = double("Template")
|
86
86
|
template.should_receive( :archive= ).with( @archive.posts[2012][8][9] )
|
87
87
|
template.should_receive( :output_path= ).with( '/archive/2012/8/9/index.html' )
|
88
88
|
engine.should_receive( :find_and_load_site_page ).with( '/archive/index' ).and_return( template )
|
@@ -92,7 +92,7 @@ describe Awestruct::Extensions::Posts do
|
|
92
92
|
end
|
93
93
|
|
94
94
|
def __create_page(year, month, day, path = nil)
|
95
|
-
page =
|
95
|
+
page = double( "Page for #{year}-#{month}-#{day}" )
|
96
96
|
page.stub(:date?).and_return( true )
|
97
97
|
page.stub(:date=).with(anything())
|
98
98
|
page.stub_chain(:date, :year).and_return( year )
|
data/spec/server_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -1,19 +1,8 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rspec'
|
3
|
-
require 'logger'
|
4
|
-
require 'fileutils'
|
5
3
|
|
6
|
-
Dir["./spec/support/**/*.rb"].each {|f| require f}
|
4
|
+
Dir["./spec/support/**/*.rb"].each {|f| require f}
|
7
5
|
|
8
|
-
RSpec.configure do |config|
|
9
|
-
config.before :all do
|
10
|
-
FileUtils.mkdir('.awestruct') unless File.exists? '.awestruct'
|
11
|
-
$LOG = Logger.new('.awestruct/test.log')
|
12
|
-
end
|
6
|
+
RSpec.configure do |config|
|
13
7
|
config.mock_framework = :rspec
|
14
|
-
config.include NokogiriMatchers
|
15
|
-
config.include EmmetMatchers
|
16
|
-
config.after :all do
|
17
|
-
FileUtils.rm_rf '.awestruct' if File.exists? '.awestruct'
|
18
|
-
end
|
19
8
|
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'logger'
|
2
|
+
require 'fileutils'
|
3
|
+
require 'tilt'
|
4
|
+
|
5
|
+
require 'awestruct/util/exception_helper'
|
6
|
+
require 'awestruct/handlers/template/asciidoc'
|
7
|
+
|
8
|
+
module Awestruct
|
9
|
+
module TestData
|
10
|
+
def test_data_dir(test)
|
11
|
+
File.join File.dirname(__FILE__), 'test-data', test
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
RSpec.configure do |config|
|
17
|
+
config.include Awestruct::TestData
|
18
|
+
config.before :suite do
|
19
|
+
FileUtils.mkdir_p( File.join(File.dirname(__FILE__), 'test-config/.awestruct'))
|
20
|
+
$LOG = Logger.new(File.join(File.dirname(__FILE__), 'test-config/.awestruct/test.log'))
|
21
|
+
::Tilt.register ::Awestruct::Tilt::AsciidoctorTemplate, 'adoc', 'asciidoc', 'ad'
|
22
|
+
end
|
23
|
+
config.after :suite do
|
24
|
+
FileUtils.rm_rf File.join(File.dirname(__FILE__), 'test-config/.awestruct')
|
25
|
+
end
|
26
|
+
config.before :each do
|
27
|
+
Awestruct::ExceptionHelper.class_variable_set :@@failed, false
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
@@ -26,7 +26,7 @@ shared_examples 'a handler' do |theories|
|
|
26
26
|
|
27
27
|
def init
|
28
28
|
opts = Awestruct::CLI::Options.new
|
29
|
-
opts.source_dir =
|
29
|
+
opts.source_dir = test_data_dir 'handlers'
|
30
30
|
config = Awestruct::Config.new( opts )
|
31
31
|
|
32
32
|
engine = Awestruct::Engine.new( config )
|
@@ -0,0 +1 @@
|
|
1
|
+
encoding: UTF-8
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -2,6 +2,7 @@ profiles:
|
|
2
2
|
development:
|
3
3
|
show_drafts: false
|
4
4
|
cook: microwave
|
5
|
+
base_url: http://localhost:4242
|
5
6
|
production:
|
6
7
|
show_drafts: true
|
7
8
|
cook: oven
|
@@ -12,8 +13,10 @@ profiles:
|
|
12
13
|
staging:
|
13
14
|
compass_line_comments: off
|
14
15
|
compass_output_style: :compact
|
16
|
+
base_url: http://stage.example.com
|
15
17
|
|
16
18
|
title: Awestruction!
|
19
|
+
intl_name: Internéšnl
|
17
20
|
|
18
21
|
asciidoctor:
|
19
22
|
:safe: 0
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awestruct
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.4
|
5
|
-
prerelease: 6
|
4
|
+
version: 0.5.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Bob McWhirter
|
@@ -14,212 +13,232 @@ authors:
|
|
14
13
|
autorequire:
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
|
-
date:
|
16
|
+
date: 2014-04-07 00:00:00.000000000 Z
|
18
17
|
dependencies:
|
19
18
|
- !ruby/object:Gem::Dependency
|
20
19
|
name: haml
|
21
20
|
requirement: !ruby/object:Gem::Requirement
|
22
|
-
none: false
|
23
21
|
requirements:
|
24
|
-
- - ~>
|
22
|
+
- - "~>"
|
25
23
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.0.
|
24
|
+
version: 4.0.5
|
27
25
|
type: :runtime
|
28
26
|
prerelease: false
|
29
27
|
version_requirements: !ruby/object:Gem::Requirement
|
30
|
-
none: false
|
31
28
|
requirements:
|
32
|
-
- - ~>
|
29
|
+
- - "~>"
|
33
30
|
- !ruby/object:Gem::Version
|
34
|
-
version: 4.0.
|
31
|
+
version: 4.0.5
|
32
|
+
- !ruby/object:Gem::Dependency
|
33
|
+
name: asciidoctor
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - ">="
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
type: :runtime
|
40
|
+
prerelease: false
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
35
46
|
- !ruby/object:Gem::Dependency
|
36
47
|
name: nokogiri
|
37
48
|
requirement: !ruby/object:Gem::Requirement
|
38
|
-
none: false
|
39
49
|
requirements:
|
40
|
-
- -
|
50
|
+
- - "~>"
|
41
51
|
- !ruby/object:Gem::Version
|
42
52
|
version: 1.5.10
|
43
53
|
type: :runtime
|
44
54
|
prerelease: false
|
45
55
|
version_requirements: !ruby/object:Gem::Requirement
|
46
|
-
none: false
|
47
56
|
requirements:
|
48
|
-
- -
|
57
|
+
- - "~>"
|
49
58
|
- !ruby/object:Gem::Version
|
50
59
|
version: 1.5.10
|
51
60
|
- !ruby/object:Gem::Dependency
|
52
61
|
name: tilt
|
53
62
|
requirement: !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
63
|
requirements:
|
56
|
-
- -
|
64
|
+
- - "~>"
|
57
65
|
- !ruby/object:Gem::Version
|
58
|
-
version:
|
59
|
-
- - <
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.0'
|
66
|
+
version: 2.0.1
|
62
67
|
type: :runtime
|
63
68
|
prerelease: false
|
64
69
|
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
70
|
requirements:
|
67
|
-
- -
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 1.3.5
|
70
|
-
- - <
|
71
|
+
- - "~>"
|
71
72
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
73
|
+
version: 2.0.1
|
73
74
|
- !ruby/object:Gem::Dependency
|
74
75
|
name: compass
|
75
76
|
requirement: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
77
|
requirements:
|
78
|
-
- -
|
78
|
+
- - "~>"
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 0.12.
|
80
|
+
version: 0.12.4
|
81
81
|
type: :runtime
|
82
82
|
prerelease: false
|
83
83
|
version_requirements: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
84
|
requirements:
|
86
|
-
- -
|
85
|
+
- - "~>"
|
87
86
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.12.
|
87
|
+
version: 0.12.4
|
89
88
|
- !ruby/object:Gem::Dependency
|
90
89
|
name: compass-960-plugin
|
91
90
|
requirement: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
91
|
requirements:
|
94
|
-
- - ~>
|
92
|
+
- - "~>"
|
95
93
|
- !ruby/object:Gem::Version
|
96
94
|
version: 0.10.4
|
97
95
|
type: :runtime
|
98
96
|
prerelease: false
|
99
97
|
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
98
|
requirements:
|
102
|
-
- - ~>
|
99
|
+
- - "~>"
|
103
100
|
- !ruby/object:Gem::Version
|
104
101
|
version: 0.10.4
|
105
102
|
- !ruby/object:Gem::Dependency
|
106
103
|
name: bootstrap-sass
|
107
104
|
requirement: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
105
|
requirements:
|
110
|
-
- -
|
106
|
+
- - "~>"
|
111
107
|
- !ruby/object:Gem::Version
|
112
|
-
version:
|
108
|
+
version: 3.1.1.0
|
113
109
|
type: :runtime
|
114
110
|
prerelease: false
|
115
111
|
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
112
|
requirements:
|
118
|
-
- -
|
113
|
+
- - "~>"
|
119
114
|
- !ruby/object:Gem::Version
|
120
|
-
version:
|
115
|
+
version: 3.1.1.0
|
121
116
|
- !ruby/object:Gem::Dependency
|
122
117
|
name: zurb-foundation
|
123
118
|
requirement: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
119
|
requirements:
|
126
|
-
- -
|
120
|
+
- - "~>"
|
127
121
|
- !ruby/object:Gem::Version
|
128
|
-
version: 4.
|
129
|
-
- - <
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '5.0'
|
122
|
+
version: 4.3.2
|
132
123
|
type: :runtime
|
133
124
|
prerelease: false
|
134
125
|
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
none: false
|
136
126
|
requirements:
|
137
|
-
- -
|
138
|
-
- !ruby/object:Gem::Version
|
139
|
-
version: 4.0.9
|
140
|
-
- - <
|
127
|
+
- - "~>"
|
141
128
|
- !ruby/object:Gem::Version
|
142
|
-
version:
|
129
|
+
version: 4.3.2
|
143
130
|
- !ruby/object:Gem::Dependency
|
144
131
|
name: mime-types
|
145
132
|
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
133
|
requirements:
|
148
|
-
- -
|
134
|
+
- - "~>"
|
149
135
|
- !ruby/object:Gem::Version
|
150
|
-
version: '1
|
136
|
+
version: '2.1'
|
151
137
|
type: :runtime
|
152
138
|
prerelease: false
|
153
139
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
140
|
requirements:
|
156
|
-
- -
|
141
|
+
- - "~>"
|
157
142
|
- !ruby/object:Gem::Version
|
158
|
-
version: '1
|
143
|
+
version: '2.1'
|
159
144
|
- !ruby/object:Gem::Dependency
|
160
145
|
name: rest-client
|
161
146
|
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
147
|
requirements:
|
164
|
-
- -
|
148
|
+
- - "~>"
|
165
149
|
- !ruby/object:Gem::Version
|
166
150
|
version: 1.6.7
|
167
151
|
type: :runtime
|
168
152
|
prerelease: false
|
169
153
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
154
|
requirements:
|
172
|
-
- -
|
155
|
+
- - "~>"
|
173
156
|
- !ruby/object:Gem::Version
|
174
157
|
version: 1.6.7
|
175
158
|
- !ruby/object:Gem::Dependency
|
176
159
|
name: ruby-s3cmd
|
177
160
|
requirement: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
161
|
requirements:
|
180
|
-
- - ~>
|
162
|
+
- - "~>"
|
181
163
|
- !ruby/object:Gem::Version
|
182
164
|
version: 0.1.5
|
183
165
|
type: :runtime
|
184
166
|
prerelease: false
|
185
167
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
168
|
requirements:
|
188
|
-
- - ~>
|
169
|
+
- - "~>"
|
189
170
|
- !ruby/object:Gem::Version
|
190
171
|
version: 0.1.5
|
191
172
|
- !ruby/object:Gem::Dependency
|
192
173
|
name: listen
|
193
174
|
requirement: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
175
|
requirements:
|
196
|
-
- - ~>
|
176
|
+
- - "~>"
|
197
177
|
- !ruby/object:Gem::Version
|
198
|
-
version:
|
178
|
+
version: 2.7.1
|
199
179
|
type: :runtime
|
200
180
|
prerelease: false
|
201
181
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
-
none: false
|
203
182
|
requirements:
|
204
|
-
- - ~>
|
183
|
+
- - "~>"
|
205
184
|
- !ruby/object:Gem::Version
|
206
|
-
version:
|
185
|
+
version: 2.7.1
|
207
186
|
- !ruby/object:Gem::Dependency
|
208
187
|
name: rack
|
209
188
|
requirement: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
189
|
requirements:
|
212
|
-
- - ~>
|
190
|
+
- - "~>"
|
213
191
|
- !ruby/object:Gem::Version
|
214
192
|
version: 1.5.2
|
215
193
|
type: :runtime
|
216
194
|
prerelease: false
|
217
195
|
version_requirements: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
196
|
requirements:
|
220
|
-
- - ~>
|
197
|
+
- - "~>"
|
221
198
|
- !ruby/object:Gem::Version
|
222
199
|
version: 1.5.2
|
200
|
+
- !ruby/object:Gem::Dependency
|
201
|
+
name: git
|
202
|
+
requirement: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - "~>"
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: 1.2.6
|
207
|
+
type: :runtime
|
208
|
+
prerelease: false
|
209
|
+
version_requirements: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: 1.2.6
|
214
|
+
- !ruby/object:Gem::Dependency
|
215
|
+
name: guard-livereload
|
216
|
+
requirement: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: 2.1.2
|
221
|
+
type: :runtime
|
222
|
+
prerelease: false
|
223
|
+
version_requirements: !ruby/object:Gem::Requirement
|
224
|
+
requirements:
|
225
|
+
- - "~>"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: 2.1.2
|
228
|
+
- !ruby/object:Gem::Dependency
|
229
|
+
name: colorize
|
230
|
+
requirement: !ruby/object:Gem::Requirement
|
231
|
+
requirements:
|
232
|
+
- - "~>"
|
233
|
+
- !ruby/object:Gem::Version
|
234
|
+
version: 0.7.1
|
235
|
+
type: :runtime
|
236
|
+
prerelease: false
|
237
|
+
version_requirements: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
239
|
+
- - "~>"
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: 0.7.1
|
223
242
|
description: Awestruct is a static site baking and publishing tool. It supports an
|
224
243
|
extensive list of both templating and markup languages via Tilt (Haml, Slim, AsciiDoc,
|
225
244
|
Markdown, Sass via Compass, etc), provides mobile-first layout and styling via Bootstrap
|
@@ -243,6 +262,7 @@ files:
|
|
243
262
|
- README.md
|
244
263
|
- Rakefile
|
245
264
|
- awestruct.gemspec
|
265
|
+
- bin/awestruct
|
246
266
|
- lib/awestruct/astruct.rb
|
247
267
|
- lib/awestruct/astruct_mixin.rb
|
248
268
|
- lib/awestruct/cli/auto.rb
|
@@ -253,6 +273,7 @@ files:
|
|
253
273
|
- lib/awestruct/cli/manifest.rb
|
254
274
|
- lib/awestruct/cli/options.rb
|
255
275
|
- lib/awestruct/cli/server.rb
|
276
|
+
- lib/awestruct/compass/default_configuration.rb
|
256
277
|
- lib/awestruct/compatibility.rb
|
257
278
|
- lib/awestruct/config.rb
|
258
279
|
- lib/awestruct/config/default-site.yml
|
@@ -340,210 +361,208 @@ files:
|
|
340
361
|
- lib/awestruct/version.rb
|
341
362
|
- man/awestruct.1
|
342
363
|
- man/awestruct.adoc
|
343
|
-
- spec/
|
344
|
-
- spec/
|
364
|
+
- spec/awestruct/astruct_spec.rb
|
365
|
+
- spec/awestruct/cli/invoker_spec.rb
|
366
|
+
- spec/awestruct/cli/options_spec.rb
|
367
|
+
- spec/awestruct/deploy/base_deploy_spec.rb
|
368
|
+
- spec/awestruct/deploy/deploy_spec.rb
|
369
|
+
- spec/awestruct/deploy/github_pages_deploy_spec.rb
|
370
|
+
- spec/awestruct/deploy/rsync_deploy_spec.rb
|
371
|
+
- spec/awestruct/handlers/asciidoc_handler_spec.rb
|
372
|
+
- spec/awestruct/handlers/coffeescript_handler_spec.rb
|
373
|
+
- spec/awestruct/handlers/erb_handler_spec.rb
|
374
|
+
- spec/awestruct/handlers/file_handler_spec.rb
|
375
|
+
- spec/awestruct/handlers/front_matter_handler_spec.rb
|
376
|
+
- spec/awestruct/handlers/haml_handler_spec.rb
|
377
|
+
- spec/awestruct/handlers/interpolation_handler_spec.rb
|
378
|
+
- spec/awestruct/handlers/javascript_handler_spec.rb
|
379
|
+
- spec/awestruct/handlers/layout_handler_spec.rb
|
380
|
+
- spec/awestruct/handlers/less_handler_spec.rb
|
381
|
+
- spec/awestruct/handlers/markdown_handler_spec.rb
|
382
|
+
- spec/awestruct/handlers/mustache_handler_spec.rb
|
383
|
+
- spec/awestruct/handlers/orgmode_handler_spec.rb
|
384
|
+
- spec/awestruct/handlers/page_delegating_handler_spec.rb
|
385
|
+
- spec/awestruct/handlers/redirect_handler_spec.rb
|
386
|
+
- spec/awestruct/handlers/restructuredtext_handler_spec.rb
|
387
|
+
- spec/awestruct/handlers/sass_handler_spec.rb
|
388
|
+
- spec/awestruct/handlers/scss_handler_spec.rb
|
389
|
+
- spec/awestruct/handlers/slim_handler_spec.rb
|
390
|
+
- spec/awestruct/handlers/textile_handler_spec.rb
|
391
|
+
- spec/awestruct/handlers/tilt_handler_spec.rb
|
392
|
+
- spec/awestruct/handlers/yaml_handler_spec.rb
|
345
393
|
- spec/awestruct/scm/git_spec.rb
|
346
|
-
- spec/coffeescript_handler_spec.rb
|
347
394
|
- spec/config_spec.rb
|
348
395
|
- spec/context_helper_spec.rb
|
349
|
-
- spec/deploy_spec.rb
|
350
396
|
- spec/disqus_spec.rb
|
351
397
|
- spec/engine_spec.rb
|
352
|
-
- spec/erb_handler_spec.rb
|
353
|
-
- spec/file_handler_spec.rb
|
354
|
-
- spec/front_matter_handler_spec.rb
|
355
|
-
- spec/github_pages_deploy_spec.rb
|
356
|
-
- spec/haml_handler_spec.rb
|
357
398
|
- spec/handler_chain_spec.rb
|
358
399
|
- spec/handler_chains_spec.rb
|
359
|
-
- spec/interpolation_handler_spec.rb
|
360
|
-
- spec/invoker_spec.rb
|
361
|
-
- spec/javascript_handler_spec.rb
|
362
|
-
- spec/layout_handler_spec.rb
|
363
400
|
- spec/layouts_spec.rb
|
364
|
-
- spec/less_handler_spec.rb
|
365
|
-
- spec/markdown_handler_spec.rb
|
366
401
|
- spec/minify_spec.rb
|
367
|
-
- spec/mustache_handler_spec.rb
|
368
|
-
- spec/options_spec.rb
|
369
|
-
- spec/orgmode_handler_spec.rb
|
370
|
-
- spec/page_delegating_handler_spec.rb
|
371
402
|
- spec/page_loader_spec.rb
|
372
403
|
- spec/page_loader_spec_for_layouts.rb
|
373
404
|
- spec/page_spec.rb
|
374
405
|
- spec/pipeline_spec.rb
|
375
406
|
- spec/posts_archive_spec.rb
|
376
|
-
- spec/redirect_handler_spec.rb
|
377
|
-
- spec/restructuredtext_handler_spec.rb
|
378
|
-
- spec/rsync_deploy_spec.rb
|
379
|
-
- spec/sass_handler_spec.rb
|
380
|
-
- spec/scss_handler_spec.rb
|
381
407
|
- spec/server_spec.rb
|
382
|
-
- spec/slim_handler_spec.rb
|
383
408
|
- spec/spec_helper.rb
|
409
|
+
- spec/support/awestruct_setup.rb
|
384
410
|
- spec/support/emmet_matchers.rb
|
385
411
|
- spec/support/nokogiri_matchers.rb
|
386
412
|
- spec/support/shared_handler_example.rb
|
387
|
-
- spec/test-
|
388
|
-
- spec/test-data
|
389
|
-
- spec/test-data/engine/_config/
|
390
|
-
- spec/test-data/engine/_config/
|
391
|
-
- spec/test-data/
|
392
|
-
- spec/test-data/
|
393
|
-
- spec/test-data/front-matter-
|
394
|
-
- spec/test-data/front-matter-file-
|
395
|
-
- spec/test-data/front-matter-file.txt
|
396
|
-
- spec/test-data/front-matter-
|
397
|
-
- spec/test-data/front-matter-
|
398
|
-
- spec/test-data/
|
399
|
-
- spec/test-data/
|
400
|
-
- spec/test-data/gzip/
|
401
|
-
- spec/test-data/gzip/
|
402
|
-
- spec/test-data/gzip/yes.
|
403
|
-
- spec/test-data/
|
404
|
-
- spec/test-data/
|
405
|
-
- spec/test-data/handlers/asciidoc-page.
|
406
|
-
- spec/test-data/handlers/
|
407
|
-
- spec/test-data/handlers/
|
408
|
-
- spec/test-data/handlers/
|
409
|
-
- spec/test-data/handlers/
|
410
|
-
- spec/test-data/handlers/
|
411
|
-
- spec/test-data/handlers/
|
412
|
-
- spec/test-data/handlers/
|
413
|
-
- spec/test-data/handlers/
|
414
|
-
- spec/test-data/handlers/
|
415
|
-
- spec/test-data/handlers/erb-
|
416
|
-
- spec/test-data/handlers/
|
417
|
-
- spec/test-data/handlers/
|
418
|
-
- spec/test-data/handlers/haml-
|
419
|
-
- spec/test-data/handlers/haml-
|
420
|
-
- spec/test-data/handlers/haml-
|
421
|
-
- spec/test-data/handlers/haml-page.
|
422
|
-
- spec/test-data/handlers/haml-
|
423
|
-
- spec/test-data/handlers/haml-
|
424
|
-
- spec/test-data/handlers/haml-with-
|
425
|
-
- spec/test-data/handlers/haml-with-
|
426
|
-
- spec/test-data/handlers/
|
427
|
-
- spec/test-data/handlers/
|
428
|
-
- spec/test-data/handlers/
|
429
|
-
- spec/test-data/handlers/
|
430
|
-
- spec/test-data/handlers/
|
431
|
-
- spec/test-data/handlers/less-page.less
|
432
|
-
- spec/test-data/handlers/
|
433
|
-
- spec/test-data/handlers/
|
434
|
-
- spec/test-data/handlers/markdown-page.
|
435
|
-
- spec/test-data/handlers/
|
436
|
-
- spec/test-data/handlers/
|
437
|
-
- spec/test-data/handlers/
|
438
|
-
- spec/test-data/handlers/
|
439
|
-
- spec/test-data/handlers/
|
440
|
-
- spec/test-data/handlers/
|
441
|
-
- spec/test-data/handlers/
|
442
|
-
- spec/test-data/handlers/
|
443
|
-
- spec/test-data/handlers/
|
444
|
-
- spec/test-data/handlers/
|
445
|
-
- spec/test-data/handlers/
|
446
|
-
- spec/test-data/handlers/
|
447
|
-
- spec/test-data/handlers/
|
448
|
-
- spec/test-data/handlers/
|
449
|
-
- spec/test-data/handlers/slim-page.
|
450
|
-
- spec/test-data/handlers/slim-
|
451
|
-
- spec/test-data/handlers/slim-
|
452
|
-
- spec/test-data/handlers/slim-with-
|
453
|
-
- spec/test-data/handlers/
|
454
|
-
- spec/test-data/handlers/
|
455
|
-
- spec/test-data/
|
456
|
-
- spec/test-data/
|
457
|
-
- spec/test-data/
|
458
|
-
- spec/test-data/
|
459
|
-
- spec/test-data/
|
460
|
-
- spec/test-data/
|
461
|
-
- spec/test-data/page-loader
|
462
|
-
- spec/test-data/page-loader/
|
463
|
-
- spec/test-data/page-loader/
|
464
|
-
- spec/test-data/
|
465
|
-
- spec/test-data/
|
466
|
-
- spec/test-data/
|
467
|
-
- spec/test-data/
|
468
|
-
- spec/
|
469
|
-
- spec/
|
470
|
-
- spec/
|
471
|
-
- bin/awestruct
|
413
|
+
- spec/support/test-config/_config/site.yml
|
414
|
+
- spec/support/test-data/.awestruct_ignore
|
415
|
+
- spec/support/test-data/engine/_config/arbitrary.yml
|
416
|
+
- spec/support/test-data/engine/_config/compass.rb
|
417
|
+
- spec/support/test-data/engine/_config/other.yml
|
418
|
+
- spec/support/test-data/engine/_config/site.yml
|
419
|
+
- spec/support/test-data/front-matter-empty.txt
|
420
|
+
- spec/support/test-data/front-matter-file-no-content.txt
|
421
|
+
- spec/support/test-data/front-matter-file-no-front.txt
|
422
|
+
- spec/support/test-data/front-matter-file-utf8.txt
|
423
|
+
- spec/support/test-data/front-matter-file.txt
|
424
|
+
- spec/support/test-data/front-matter-looking.txt
|
425
|
+
- spec/support/test-data/front-matter-middle.txt
|
426
|
+
- spec/support/test-data/gzip/no.html.gz
|
427
|
+
- spec/support/test-data/gzip/no.txt
|
428
|
+
- spec/support/test-data/gzip/subdir/yes.css
|
429
|
+
- spec/support/test-data/gzip/yes.html
|
430
|
+
- spec/support/test-data/gzip/yes.js
|
431
|
+
- spec/support/test-data/handlers/asciidoc-page.ad
|
432
|
+
- spec/support/test-data/handlers/asciidoc-page.adoc
|
433
|
+
- spec/support/test-data/handlers/asciidoc-page.asciidoc
|
434
|
+
- spec/support/test-data/handlers/asciidoc_with_attributes.ad
|
435
|
+
- spec/support/test-data/handlers/asciidoc_with_interpolation.ad
|
436
|
+
- spec/support/test-data/handlers/asciidoc_without_interpolation.ad
|
437
|
+
- spec/support/test-data/handlers/asciidoctor_with_front_matter.ad
|
438
|
+
- spec/support/test-data/handlers/asciidoctor_with_headers.ad
|
439
|
+
- spec/support/test-data/handlers/coffeescript-page.coffee
|
440
|
+
- spec/support/test-data/handlers/empty-layout.haml
|
441
|
+
- spec/support/test-data/handlers/erb-page.html.erb
|
442
|
+
- spec/support/test-data/handlers/erb-page.xml.erb
|
443
|
+
- spec/support/test-data/handlers/erb-utf-page.html.erb
|
444
|
+
- spec/support/test-data/handlers/haml-error.html.haml
|
445
|
+
- spec/support/test-data/handlers/haml-layout-two.html.haml
|
446
|
+
- spec/support/test-data/handlers/haml-layout.html.haml
|
447
|
+
- spec/support/test-data/handlers/haml-page.atom.haml
|
448
|
+
- spec/support/test-data/handlers/haml-page.html.haml
|
449
|
+
- spec/support/test-data/handlers/haml-page.xml.haml
|
450
|
+
- spec/support/test-data/handlers/haml-with-markdown-page.html.haml
|
451
|
+
- spec/support/test-data/handlers/haml-with-textile-page.html.haml
|
452
|
+
- spec/support/test-data/handlers/haml-with-utf.html.haml
|
453
|
+
- spec/support/test-data/handlers/haml-with-variables.html.haml
|
454
|
+
- spec/support/test-data/handlers/hello.bogus
|
455
|
+
- spec/support/test-data/handlers/inner-page.html.haml
|
456
|
+
- spec/support/test-data/handlers/javascript-page.js
|
457
|
+
- spec/support/test-data/handlers/less-page-include.less
|
458
|
+
- spec/support/test-data/handlers/less-page-with-import.less
|
459
|
+
- spec/support/test-data/handlers/less-page.less
|
460
|
+
- spec/support/test-data/handlers/markdown-page.markdown
|
461
|
+
- spec/support/test-data/handlers/markdown-page.md
|
462
|
+
- spec/support/test-data/handlers/markdown-page.mkd
|
463
|
+
- spec/support/test-data/handlers/mustache-page.html.mustache
|
464
|
+
- spec/support/test-data/handlers/mustache-page.xml.mustache
|
465
|
+
- spec/support/test-data/handlers/orgmode-page.org
|
466
|
+
- spec/support/test-data/handlers/outer-layout.html.haml
|
467
|
+
- spec/support/test-data/handlers/outside_relative/git_keep
|
468
|
+
- spec/support/test-data/handlers/redirect-page.redirect
|
469
|
+
- spec/support/test-data/handlers/restructuredtext-page.rst
|
470
|
+
- spec/support/test-data/handlers/sass-page-include.sass
|
471
|
+
- spec/support/test-data/handlers/sass-page.sass
|
472
|
+
- spec/support/test-data/handlers/scss-page-include.scss
|
473
|
+
- spec/support/test-data/handlers/scss-page.scss
|
474
|
+
- spec/support/test-data/handlers/simple-redirect-page.redirect
|
475
|
+
- spec/support/test-data/handlers/slim-page.atom.slim
|
476
|
+
- spec/support/test-data/handlers/slim-page.html.slim
|
477
|
+
- spec/support/test-data/handlers/slim-page.xml.slim
|
478
|
+
- spec/support/test-data/handlers/slim-with-markdown-page.html.slim
|
479
|
+
- spec/support/test-data/handlers/slim-with-utf.html.slim
|
480
|
+
- spec/support/test-data/handlers/slim-with-variables.html.slim
|
481
|
+
- spec/support/test-data/handlers/textile-empty-page.textile
|
482
|
+
- spec/support/test-data/handlers/textile-page.textile
|
483
|
+
- spec/support/test-data/images/logo.png
|
484
|
+
- spec/support/test-data/index.html
|
485
|
+
- spec/support/test-data/javascript/bootstrap-dropdown.js
|
486
|
+
- spec/support/test-data/out-of-site/page-three.html.haml
|
487
|
+
- spec/support/test-data/page-loader/.awestruct_ignore
|
488
|
+
- spec/support/test-data/page-loader/_layouts/layout-one.md
|
489
|
+
- spec/support/test-data/page-loader/_layouts/layout-two.html.haml
|
490
|
+
- spec/support/test-data/page-loader/page-draft.md
|
491
|
+
- spec/support/test-data/page-loader/page-one.md
|
492
|
+
- spec/support/test-data/page-loader/page-two.html.haml
|
493
|
+
- spec/support/test-data/simple-data.yaml
|
494
|
+
- spec/support/test-data/simple-file.txt
|
495
|
+
- spec/support/test-data/stylesheets/screen.css
|
496
|
+
- spec/support/test-data/subdir/index.html
|
472
497
|
homepage: http://awestruct.org
|
473
498
|
licenses:
|
474
499
|
- MIT
|
500
|
+
metadata: {}
|
475
501
|
post_install_message:
|
476
502
|
rdoc_options:
|
477
|
-
- --charset=UTF-8
|
503
|
+
- "--charset=UTF-8"
|
478
504
|
require_paths:
|
479
505
|
- lib
|
480
506
|
required_ruby_version: !ruby/object:Gem::Requirement
|
481
|
-
none: false
|
482
507
|
requirements:
|
483
|
-
- -
|
508
|
+
- - ">="
|
484
509
|
- !ruby/object:Gem::Version
|
485
510
|
version: '0'
|
486
|
-
segments:
|
487
|
-
- 0
|
488
|
-
hash: -2222413713192922302
|
489
511
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
490
|
-
none: false
|
491
512
|
requirements:
|
492
|
-
- -
|
513
|
+
- - ">="
|
493
514
|
- !ruby/object:Gem::Version
|
494
|
-
version:
|
515
|
+
version: '0'
|
495
516
|
requirements:
|
496
|
-
-
|
497
|
-
|
498
|
-
Haml and Markdown filters are touchy things. Redcarpet or Rdiscount work well if
|
499
|
-
you''re running on MRI. JRuby should be using haml 4.0.0+ with Kramdown.''
|
500
|
-
|
501
|
-
'
|
517
|
+
- |
|
518
|
+
Any markup languages you are using and its dependencies.
|
519
|
+
Haml and Markdown filters are touchy things. Redcarpet or Rdiscount work well if you're running on MRI. JRuby should be using haml 4.0.0+ with Kramdown.'
|
502
520
|
rubyforge_project: awestruct
|
503
|
-
rubygems_version:
|
521
|
+
rubygems_version: 2.2.2
|
504
522
|
signing_key:
|
505
|
-
specification_version:
|
523
|
+
specification_version: 4
|
506
524
|
summary: Static site baking and publishing tool
|
507
525
|
test_files:
|
508
|
-
- spec/
|
509
|
-
- spec/
|
526
|
+
- spec/awestruct/astruct_spec.rb
|
527
|
+
- spec/awestruct/cli/invoker_spec.rb
|
528
|
+
- spec/awestruct/cli/options_spec.rb
|
529
|
+
- spec/awestruct/deploy/base_deploy_spec.rb
|
530
|
+
- spec/awestruct/deploy/deploy_spec.rb
|
531
|
+
- spec/awestruct/deploy/github_pages_deploy_spec.rb
|
532
|
+
- spec/awestruct/deploy/rsync_deploy_spec.rb
|
533
|
+
- spec/awestruct/handlers/asciidoc_handler_spec.rb
|
534
|
+
- spec/awestruct/handlers/coffeescript_handler_spec.rb
|
535
|
+
- spec/awestruct/handlers/erb_handler_spec.rb
|
536
|
+
- spec/awestruct/handlers/file_handler_spec.rb
|
537
|
+
- spec/awestruct/handlers/front_matter_handler_spec.rb
|
538
|
+
- spec/awestruct/handlers/haml_handler_spec.rb
|
539
|
+
- spec/awestruct/handlers/interpolation_handler_spec.rb
|
540
|
+
- spec/awestruct/handlers/javascript_handler_spec.rb
|
541
|
+
- spec/awestruct/handlers/layout_handler_spec.rb
|
542
|
+
- spec/awestruct/handlers/less_handler_spec.rb
|
543
|
+
- spec/awestruct/handlers/markdown_handler_spec.rb
|
544
|
+
- spec/awestruct/handlers/mustache_handler_spec.rb
|
545
|
+
- spec/awestruct/handlers/orgmode_handler_spec.rb
|
546
|
+
- spec/awestruct/handlers/page_delegating_handler_spec.rb
|
547
|
+
- spec/awestruct/handlers/redirect_handler_spec.rb
|
548
|
+
- spec/awestruct/handlers/restructuredtext_handler_spec.rb
|
549
|
+
- spec/awestruct/handlers/sass_handler_spec.rb
|
550
|
+
- spec/awestruct/handlers/scss_handler_spec.rb
|
551
|
+
- spec/awestruct/handlers/slim_handler_spec.rb
|
552
|
+
- spec/awestruct/handlers/textile_handler_spec.rb
|
553
|
+
- spec/awestruct/handlers/tilt_handler_spec.rb
|
554
|
+
- spec/awestruct/handlers/yaml_handler_spec.rb
|
510
555
|
- spec/awestruct/scm/git_spec.rb
|
511
|
-
- spec/coffeescript_handler_spec.rb
|
512
556
|
- spec/config_spec.rb
|
513
557
|
- spec/context_helper_spec.rb
|
514
|
-
- spec/deploy_spec.rb
|
515
558
|
- spec/disqus_spec.rb
|
516
559
|
- spec/engine_spec.rb
|
517
|
-
- spec/erb_handler_spec.rb
|
518
|
-
- spec/file_handler_spec.rb
|
519
|
-
- spec/front_matter_handler_spec.rb
|
520
|
-
- spec/github_pages_deploy_spec.rb
|
521
|
-
- spec/haml_handler_spec.rb
|
522
560
|
- spec/handler_chain_spec.rb
|
523
561
|
- spec/handler_chains_spec.rb
|
524
|
-
- spec/interpolation_handler_spec.rb
|
525
|
-
- spec/invoker_spec.rb
|
526
|
-
- spec/javascript_handler_spec.rb
|
527
|
-
- spec/layout_handler_spec.rb
|
528
562
|
- spec/layouts_spec.rb
|
529
|
-
- spec/less_handler_spec.rb
|
530
|
-
- spec/markdown_handler_spec.rb
|
531
563
|
- spec/minify_spec.rb
|
532
|
-
- spec/mustache_handler_spec.rb
|
533
|
-
- spec/options_spec.rb
|
534
|
-
- spec/orgmode_handler_spec.rb
|
535
|
-
- spec/page_delegating_handler_spec.rb
|
536
564
|
- spec/page_loader_spec.rb
|
537
565
|
- spec/page_spec.rb
|
538
566
|
- spec/pipeline_spec.rb
|
539
567
|
- spec/posts_archive_spec.rb
|
540
|
-
- spec/redirect_handler_spec.rb
|
541
|
-
- spec/restructuredtext_handler_spec.rb
|
542
|
-
- spec/rsync_deploy_spec.rb
|
543
|
-
- spec/sass_handler_spec.rb
|
544
|
-
- spec/scss_handler_spec.rb
|
545
568
|
- spec/server_spec.rb
|
546
|
-
- spec/slim_handler_spec.rb
|
547
|
-
- spec/textile_handler_spec.rb
|
548
|
-
- spec/tilt_handler_spec.rb
|
549
|
-
- spec/yaml_handler_spec.rb
|