staticmatic3 2.1.9
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 +7 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +43 -0
- data/LICENSE +20 -0
- data/README.md +154 -0
- data/Rakefile +45 -0
- data/VERSION.yml +5 -0
- data/bin/staticmatic +142 -0
- data/lib/staticmatic.rb +22 -0
- data/lib/staticmatic/ambiguous_template_error.rb +19 -0
- data/lib/staticmatic/base.rb +149 -0
- data/lib/staticmatic/compass.rb +5 -0
- data/lib/staticmatic/compass/app_integration.rb +21 -0
- data/lib/staticmatic/compass/configuration_defaults.rb +44 -0
- data/lib/staticmatic/compass/installer.rb +15 -0
- data/lib/staticmatic/configuration.rb +56 -0
- data/lib/staticmatic/deployers/aws-s3.rb +108 -0
- data/lib/staticmatic/deployers/config/amazon.yml +7 -0
- data/lib/staticmatic/error.rb +17 -0
- data/lib/staticmatic/helpers.rb +12 -0
- data/lib/staticmatic/helpers/assets_helper.rb +116 -0
- data/lib/staticmatic/helpers/current_path_helper.rb +22 -0
- data/lib/staticmatic/helpers/form_helper.rb +23 -0
- data/lib/staticmatic/helpers/render_helper.rb +14 -0
- data/lib/staticmatic/helpers/tag_helper.rb +35 -0
- data/lib/staticmatic/helpers/url_helper.rb +59 -0
- data/lib/staticmatic/mixins/build.rb +41 -0
- data/lib/staticmatic/mixins/helpers.rb +15 -0
- data/lib/staticmatic/mixins/render.rb +110 -0
- data/lib/staticmatic/mixins/rescue.rb +12 -0
- data/lib/staticmatic/mixins/server.rb +7 -0
- data/lib/staticmatic/mixins/setup.rb +16 -0
- data/lib/staticmatic/server.rb +87 -0
- data/lib/staticmatic/template_error.rb +44 -0
- data/lib/staticmatic/templates/rescues/default.haml +7 -0
- data/lib/staticmatic/templates/rescues/template.haml +18 -0
- data/spec/base_spec.rb +13 -0
- data/spec/compass_integration_spec.rb +28 -0
- data/spec/helpers/asset_helper_spec.rb +41 -0
- data/spec/helpers/custom_helper_spec.rb +17 -0
- data/spec/render_spec.rb +44 -0
- data/spec/rescue_spec.rb +36 -0
- data/spec/sandbox/test_site/config/compass.rb +1 -0
- data/spec/sandbox/test_site/config/site.rb +0 -0
- data/spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html +1 -0
- data/spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html.html +1 -0
- data/spec/sandbox/test_site/site/sub_folder/index.html +1 -0
- data/spec/sandbox/test_site/src/_helpers/application_helper.rb +5 -0
- data/spec/sandbox/test_site/src/_layouts/alternate_layout.haml +3 -0
- data/spec/sandbox/test_site/src/_layouts/default.haml +7 -0
- data/spec/sandbox/test_site/src/_layouts/projects.haml +1 -0
- data/spec/sandbox/test_site/src/_partials/menu.haml +1 -0
- data/spec/sandbox/test_site/src/_partials/partial_with_error.haml +1 -0
- data/spec/sandbox/test_site/src/hello_world.erb +1 -0
- data/spec/sandbox/test_site/src/index.haml +5 -0
- data/spec/sandbox/test_site/src/layout_test.haml +2 -0
- data/spec/sandbox/test_site/src/page_one.haml +3 -0
- data/spec/sandbox/test_site/src/page_two.haml +2 -0
- data/spec/sandbox/test_site/src/page_with_error.haml +5 -0
- data/spec/sandbox/test_site/src/page_with_partial_error.haml +3 -0
- data/spec/sandbox/test_site/src/stylesheets/application.sass +5 -0
- data/spec/sandbox/test_site/src/stylesheets/css_with_error.sass +5 -0
- data/spec/sandbox/test_site/src/stylesheets/nested/a_nested_stylesheet.sass +0 -0
- data/spec/sandbox/test_site/src/stylesheets/partials/_forms.sass +2 -0
- data/spec/sandbox/test_site/src/stylesheets/sassy.scss +12 -0
- data/spec/server_spec.rb +11 -0
- data/spec/spec_helper.rb +14 -0
- data/spec/template_error_spec.rb +23 -0
- data/staticmatic.gemspec +158 -0
- data/staticmatic3.gemspec +164 -0
- data/website/Gemfile +1 -0
- data/website/config/site.rb +17 -0
- data/website/site/docs/compass_integration.html +70 -0
- data/website/site/docs/getting_started.html +49 -0
- data/website/site/docs/helpers.html +22 -0
- data/website/site/images/bycurve21.gif +0 -0
- data/website/site/images/curve21.jpg +0 -0
- data/website/site/images/homepage-build.jpg +0 -0
- data/website/site/images/homepage-previewing.jpg +0 -0
- data/website/site/images/homepage-templating.jpg +0 -0
- data/website/site/stylesheets/ie.css +5 -0
- data/website/site/stylesheets/print.css +372 -0
- data/website/site/stylesheets/screen.css +488 -0
- data/website/src/helpers/content_helper.rb +10 -0
- data/website/src/layouts/default.haml +15 -0
- data/website/src/pages/development.haml +9 -0
- data/website/src/pages/docs/_menu.haml +4 -0
- data/website/src/pages/docs/_requires_prerelease.haml +4 -0
- data/website/src/pages/docs/compass_integration.haml +54 -0
- data/website/src/pages/docs/getting_started.haml +31 -0
- data/website/src/pages/docs/helpers.haml +1 -0
- data/website/src/pages/index.haml +27 -0
- data/website/src/stylesheets/_base.scss +43 -0
- data/website/src/stylesheets/_defaults.scss +260 -0
- data/website/src/stylesheets/ie.scss +10 -0
- data/website/src/stylesheets/print.scss +33 -0
- data/website/src/stylesheets/screen.scss +73 -0
- metadata +285 -0
File without changes
|
data/spec/server_spec.rb
ADDED
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'stringio'
|
3
|
+
require 'spec'
|
4
|
+
|
5
|
+
require 'staticmatic'
|
6
|
+
|
7
|
+
TEST_SITE_PATH = File.expand_path(File.join(File.dirname(__FILE__), "sandbox", "test_site"))
|
8
|
+
|
9
|
+
Spec::Runner.configure do |config|
|
10
|
+
end
|
11
|
+
|
12
|
+
def setup_staticmatic
|
13
|
+
@staticmatic = StaticMatic::Base.new(TEST_SITE_PATH)
|
14
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "StaticMatic::Template" do
|
4
|
+
before do
|
5
|
+
setup_staticmatic
|
6
|
+
|
7
|
+
template_file = File.join(TEST_SITE_PATH, "src", "page_with_error.haml")
|
8
|
+
|
9
|
+
begin
|
10
|
+
@staticmatic.generate_html_from_template_source(File.read(template_file))
|
11
|
+
rescue Exception => e
|
12
|
+
@template_error = StaticMatic::TemplateError.new(template_file, e)
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
it "extract source around line number" do
|
17
|
+
@template_error.source_extract.should match(/\- bang\!/)
|
18
|
+
end
|
19
|
+
|
20
|
+
it "extract line number from backtrace" do
|
21
|
+
@template_error.line_number.should == "3"
|
22
|
+
end
|
23
|
+
end
|
data/staticmatic.gemspec
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = %q{staticmatic}
|
8
|
+
s.version = "0.11.0"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Stephen Bartholomew"]
|
12
|
+
s.date = %q{2010-11-15}
|
13
|
+
s.default_executable = %q{staticmatic}
|
14
|
+
s.description = %q{Lightweight Static Site Framework}
|
15
|
+
s.email = %q{steve@curve21.com}
|
16
|
+
s.executables = ["staticmatic"]
|
17
|
+
s.extra_rdoc_files = [
|
18
|
+
"LICENSE",
|
19
|
+
"README.markdown"
|
20
|
+
]
|
21
|
+
s.files = [
|
22
|
+
"LICENSE",
|
23
|
+
"README.markdown",
|
24
|
+
"Rakefile",
|
25
|
+
"VERSION.yml",
|
26
|
+
"bin/staticmatic",
|
27
|
+
"lib/staticmatic.rb",
|
28
|
+
"lib/staticmatic/base.rb",
|
29
|
+
"lib/staticmatic/compass.rb",
|
30
|
+
"lib/staticmatic/compass/app_integration.rb",
|
31
|
+
"lib/staticmatic/compass/configuration_defaults.rb",
|
32
|
+
"lib/staticmatic/compass/installer.rb",
|
33
|
+
"lib/staticmatic/configuration.rb",
|
34
|
+
"lib/staticmatic/error.rb",
|
35
|
+
"lib/staticmatic/helpers.rb",
|
36
|
+
"lib/staticmatic/helpers/assets_helper.rb",
|
37
|
+
"lib/staticmatic/helpers/current_path_helper.rb",
|
38
|
+
"lib/staticmatic/helpers/form_helper.rb",
|
39
|
+
"lib/staticmatic/helpers/render_helper.rb",
|
40
|
+
"lib/staticmatic/helpers/tag_helper.rb",
|
41
|
+
"lib/staticmatic/helpers/url_helper.rb",
|
42
|
+
"lib/staticmatic/mixins/build.rb",
|
43
|
+
"lib/staticmatic/mixins/helpers.rb",
|
44
|
+
"lib/staticmatic/mixins/render.rb",
|
45
|
+
"lib/staticmatic/mixins/rescue.rb",
|
46
|
+
"lib/staticmatic/mixins/server.rb",
|
47
|
+
"lib/staticmatic/mixins/setup.rb",
|
48
|
+
"lib/staticmatic/server.rb",
|
49
|
+
"lib/staticmatic/template_error.rb",
|
50
|
+
"lib/staticmatic/templates/project/config/compass.rb",
|
51
|
+
"lib/staticmatic/templates/project/config/site.rb",
|
52
|
+
"lib/staticmatic/templates/project/src/layouts/default.haml",
|
53
|
+
"lib/staticmatic/templates/project/src/pages/index.haml",
|
54
|
+
"lib/staticmatic/templates/project/src/stylesheets/screen.sass",
|
55
|
+
"lib/staticmatic/templates/rescues/default.haml",
|
56
|
+
"lib/staticmatic/templates/rescues/template.haml",
|
57
|
+
"spec/base_spec.rb",
|
58
|
+
"spec/compass_integration_spec.rb",
|
59
|
+
"spec/helpers/asset_helper_spec.rb",
|
60
|
+
"spec/helpers/custom_helper_spec.rb",
|
61
|
+
"spec/render_spec.rb",
|
62
|
+
"spec/rescue_spec.rb",
|
63
|
+
"spec/sandbox/test_site/config/compass.rb",
|
64
|
+
"spec/sandbox/test_site/config/site.rb",
|
65
|
+
"spec/sandbox/test_site/src/helpers/application_helper.rb",
|
66
|
+
"spec/sandbox/test_site/src/layouts/alternate_layout.haml",
|
67
|
+
"spec/sandbox/test_site/src/layouts/default.haml",
|
68
|
+
"spec/sandbox/test_site/src/layouts/projects.haml",
|
69
|
+
"spec/sandbox/test_site/src/pages/hello_world.erb",
|
70
|
+
"spec/sandbox/test_site/src/pages/index.haml",
|
71
|
+
"spec/sandbox/test_site/src/pages/layout_test.haml",
|
72
|
+
"spec/sandbox/test_site/src/pages/page_one.haml",
|
73
|
+
"spec/sandbox/test_site/src/pages/page_two.haml",
|
74
|
+
"spec/sandbox/test_site/src/pages/page_with_error.haml",
|
75
|
+
"spec/sandbox/test_site/src/pages/page_with_partial_error.haml",
|
76
|
+
"spec/sandbox/test_site/src/partials/menu.haml",
|
77
|
+
"spec/sandbox/test_site/src/partials/partial_with_error.haml",
|
78
|
+
"spec/sandbox/test_site/src/stylesheets/application.sass",
|
79
|
+
"spec/sandbox/test_site/src/stylesheets/css_with_error.sass",
|
80
|
+
"spec/sandbox/test_site/src/stylesheets/nested/a_nested_stylesheet.sass",
|
81
|
+
"spec/sandbox/test_site/src/stylesheets/partials/_forms.sass",
|
82
|
+
"spec/sandbox/test_site/src/stylesheets/sassy.scss",
|
83
|
+
"spec/server_spec.rb",
|
84
|
+
"spec/setup_spec.rb",
|
85
|
+
"spec/spec_helper.rb",
|
86
|
+
"spec/template_error_spec.rb",
|
87
|
+
"staticmatic.gemspec",
|
88
|
+
"website/Gemfile",
|
89
|
+
"website/config/site.rb",
|
90
|
+
"website/site/docs/compass_integration.html",
|
91
|
+
"website/site/docs/getting_started.html",
|
92
|
+
"website/site/docs/helpers.html",
|
93
|
+
"website/site/images/bycurve21.gif",
|
94
|
+
"website/site/images/curve21.jpg",
|
95
|
+
"website/site/images/homepage-build.jpg",
|
96
|
+
"website/site/images/homepage-previewing.jpg",
|
97
|
+
"website/site/images/homepage-templating.jpg",
|
98
|
+
"website/site/stylesheets/ie.css",
|
99
|
+
"website/site/stylesheets/print.css",
|
100
|
+
"website/site/stylesheets/screen.css",
|
101
|
+
"website/src/helpers/content_helper.rb",
|
102
|
+
"website/src/layouts/default.haml",
|
103
|
+
"website/src/pages/development.haml",
|
104
|
+
"website/src/pages/docs/_menu.haml",
|
105
|
+
"website/src/pages/docs/_requires_prerelease.haml",
|
106
|
+
"website/src/pages/docs/compass_integration.haml",
|
107
|
+
"website/src/pages/docs/getting_started.haml",
|
108
|
+
"website/src/pages/docs/helpers.haml",
|
109
|
+
"website/src/pages/index.haml",
|
110
|
+
"website/src/stylesheets/_base.scss",
|
111
|
+
"website/src/stylesheets/_defaults.scss",
|
112
|
+
"website/src/stylesheets/ie.scss",
|
113
|
+
"website/src/stylesheets/print.scss",
|
114
|
+
"website/src/stylesheets/screen.scss"
|
115
|
+
]
|
116
|
+
s.homepage = %q{http://staticmatic.net}
|
117
|
+
s.require_paths = ["lib"]
|
118
|
+
s.rubyforge_project = %q{staticmatic}
|
119
|
+
s.rubygems_version = %q{1.3.6}
|
120
|
+
s.summary = %q{Lightweight Static Site Framework}
|
121
|
+
s.test_files = [
|
122
|
+
"spec/base_spec.rb",
|
123
|
+
"spec/compass_integration_spec.rb",
|
124
|
+
"spec/helpers/asset_helper_spec.rb",
|
125
|
+
"spec/helpers/custom_helper_spec.rb",
|
126
|
+
"spec/render_spec.rb",
|
127
|
+
"spec/rescue_spec.rb",
|
128
|
+
"spec/sandbox/test_site/config/compass.rb",
|
129
|
+
"spec/sandbox/test_site/config/site.rb",
|
130
|
+
"spec/sandbox/test_site/src/helpers/application_helper.rb",
|
131
|
+
"spec/sandbox/tmp/config/compass.rb",
|
132
|
+
"spec/sandbox/tmp/config/site.rb",
|
133
|
+
"spec/server_spec.rb",
|
134
|
+
"spec/setup_spec.rb",
|
135
|
+
"spec/spec_helper.rb",
|
136
|
+
"spec/template_error_spec.rb"
|
137
|
+
]
|
138
|
+
|
139
|
+
if s.respond_to? :specification_version then
|
140
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
141
|
+
s.specification_version = 3
|
142
|
+
|
143
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
144
|
+
s.add_runtime_dependency(%q<haml>, [">= 2.0.0"])
|
145
|
+
s.add_runtime_dependency(%q<rack>, [">= 1.0"])
|
146
|
+
s.add_runtime_dependency(%q<compass>, [">= 0.10.0"])
|
147
|
+
else
|
148
|
+
s.add_dependency(%q<haml>, [">= 2.0.0"])
|
149
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
150
|
+
s.add_dependency(%q<compass>, [">= 0.10.0"])
|
151
|
+
end
|
152
|
+
else
|
153
|
+
s.add_dependency(%q<haml>, [">= 2.0.0"])
|
154
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
155
|
+
s.add_dependency(%q<compass>, [">= 0.10.0"])
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
@@ -0,0 +1,164 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "staticmatic3"
|
8
|
+
s.version = "2.1.9"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Stephen Bartholomew", "Gilbert B Garza", "Jos\xC3\xA9 Benavente"]
|
12
|
+
s.date = "2013-10-20"
|
13
|
+
s.description = " StaticMatic helps you quickly create maintainable Amazon S3 static websites using\n tools such as Haml and Sass.\n \n Quickly deploy to services such as Amazon S3 in a single command.\n"
|
14
|
+
s.email = "jose@bgmp.cl"
|
15
|
+
s.executables = ["staticmatic"]
|
16
|
+
s.extra_rdoc_files = [
|
17
|
+
"LICENSE",
|
18
|
+
"README.md"
|
19
|
+
]
|
20
|
+
s.files = [
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
23
|
+
"LICENSE",
|
24
|
+
"README.md",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION.yml",
|
27
|
+
"bin/staticmatic",
|
28
|
+
"lib/staticmatic.rb",
|
29
|
+
"lib/staticmatic/ambiguous_template_error.rb",
|
30
|
+
"lib/staticmatic/base.rb",
|
31
|
+
"lib/staticmatic/compass.rb",
|
32
|
+
"lib/staticmatic/compass/app_integration.rb",
|
33
|
+
"lib/staticmatic/compass/configuration_defaults.rb",
|
34
|
+
"lib/staticmatic/compass/installer.rb",
|
35
|
+
"lib/staticmatic/configuration.rb",
|
36
|
+
"lib/staticmatic/deployers/aws-s3.rb",
|
37
|
+
"lib/staticmatic/deployers/config/amazon.yml",
|
38
|
+
"lib/staticmatic/error.rb",
|
39
|
+
"lib/staticmatic/helpers.rb",
|
40
|
+
"lib/staticmatic/helpers/assets_helper.rb",
|
41
|
+
"lib/staticmatic/helpers/current_path_helper.rb",
|
42
|
+
"lib/staticmatic/helpers/form_helper.rb",
|
43
|
+
"lib/staticmatic/helpers/render_helper.rb",
|
44
|
+
"lib/staticmatic/helpers/tag_helper.rb",
|
45
|
+
"lib/staticmatic/helpers/url_helper.rb",
|
46
|
+
"lib/staticmatic/mixins/build.rb",
|
47
|
+
"lib/staticmatic/mixins/helpers.rb",
|
48
|
+
"lib/staticmatic/mixins/render.rb",
|
49
|
+
"lib/staticmatic/mixins/rescue.rb",
|
50
|
+
"lib/staticmatic/mixins/server.rb",
|
51
|
+
"lib/staticmatic/mixins/setup.rb",
|
52
|
+
"lib/staticmatic/server.rb",
|
53
|
+
"lib/staticmatic/template_error.rb",
|
54
|
+
"lib/staticmatic/templates/rescues/default.haml",
|
55
|
+
"lib/staticmatic/templates/rescues/template.haml",
|
56
|
+
"spec/base_spec.rb",
|
57
|
+
"spec/compass_integration_spec.rb",
|
58
|
+
"spec/helpers/asset_helper_spec.rb",
|
59
|
+
"spec/helpers/custom_helper_spec.rb",
|
60
|
+
"spec/render_spec.rb",
|
61
|
+
"spec/rescue_spec.rb",
|
62
|
+
"spec/sandbox/test_site/config/compass.rb",
|
63
|
+
"spec/sandbox/test_site/config/site.rb",
|
64
|
+
"spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html",
|
65
|
+
"spec/sandbox/test_site/site/sub_folder/another_sub_folder/index.html.html",
|
66
|
+
"spec/sandbox/test_site/site/sub_folder/index.html",
|
67
|
+
"spec/sandbox/test_site/src/_helpers/application_helper.rb",
|
68
|
+
"spec/sandbox/test_site/src/_layouts/alternate_layout.haml",
|
69
|
+
"spec/sandbox/test_site/src/_layouts/default.haml",
|
70
|
+
"spec/sandbox/test_site/src/_layouts/projects.haml",
|
71
|
+
"spec/sandbox/test_site/src/_partials/menu.haml",
|
72
|
+
"spec/sandbox/test_site/src/_partials/partial_with_error.haml",
|
73
|
+
"spec/sandbox/test_site/src/hello_world.erb",
|
74
|
+
"spec/sandbox/test_site/src/index.haml",
|
75
|
+
"spec/sandbox/test_site/src/layout_test.haml",
|
76
|
+
"spec/sandbox/test_site/src/page_one.haml",
|
77
|
+
"spec/sandbox/test_site/src/page_two.haml",
|
78
|
+
"spec/sandbox/test_site/src/page_with_error.haml",
|
79
|
+
"spec/sandbox/test_site/src/page_with_partial_error.haml",
|
80
|
+
"spec/sandbox/test_site/src/stylesheets/application.sass",
|
81
|
+
"spec/sandbox/test_site/src/stylesheets/css_with_error.sass",
|
82
|
+
"spec/sandbox/test_site/src/stylesheets/nested/a_nested_stylesheet.sass",
|
83
|
+
"spec/sandbox/test_site/src/stylesheets/partials/_forms.sass",
|
84
|
+
"spec/sandbox/test_site/src/stylesheets/sassy.scss",
|
85
|
+
"spec/server_spec.rb",
|
86
|
+
"spec/spec_helper.rb",
|
87
|
+
"spec/template_error_spec.rb",
|
88
|
+
"staticmatic.gemspec",
|
89
|
+
"staticmatic3.gemspec",
|
90
|
+
"website/Gemfile",
|
91
|
+
"website/config/site.rb",
|
92
|
+
"website/site/docs/compass_integration.html",
|
93
|
+
"website/site/docs/getting_started.html",
|
94
|
+
"website/site/docs/helpers.html",
|
95
|
+
"website/site/images/bycurve21.gif",
|
96
|
+
"website/site/images/curve21.jpg",
|
97
|
+
"website/site/images/homepage-build.jpg",
|
98
|
+
"website/site/images/homepage-previewing.jpg",
|
99
|
+
"website/site/images/homepage-templating.jpg",
|
100
|
+
"website/site/stylesheets/ie.css",
|
101
|
+
"website/site/stylesheets/print.css",
|
102
|
+
"website/site/stylesheets/screen.css",
|
103
|
+
"website/src/helpers/content_helper.rb",
|
104
|
+
"website/src/layouts/default.haml",
|
105
|
+
"website/src/pages/development.haml",
|
106
|
+
"website/src/pages/docs/_menu.haml",
|
107
|
+
"website/src/pages/docs/_requires_prerelease.haml",
|
108
|
+
"website/src/pages/docs/compass_integration.haml",
|
109
|
+
"website/src/pages/docs/getting_started.haml",
|
110
|
+
"website/src/pages/docs/helpers.haml",
|
111
|
+
"website/src/pages/index.haml",
|
112
|
+
"website/src/stylesheets/_base.scss",
|
113
|
+
"website/src/stylesheets/_defaults.scss",
|
114
|
+
"website/src/stylesheets/ie.scss",
|
115
|
+
"website/src/stylesheets/print.scss",
|
116
|
+
"website/src/stylesheets/screen.scss"
|
117
|
+
]
|
118
|
+
s.homepage = "http://github.com/mindeavor/staticmatic2"
|
119
|
+
s.licenses = ["MIT"]
|
120
|
+
s.require_paths = ["lib"]
|
121
|
+
s.rubyforge_project = "staticmatic3"
|
122
|
+
s.rubygems_version = "1.8.25"
|
123
|
+
s.summary = "Build Amazon S3 static websites using modern dynamic tools"
|
124
|
+
|
125
|
+
if s.respond_to? :specification_version then
|
126
|
+
s.specification_version = 3
|
127
|
+
|
128
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
129
|
+
s.add_runtime_dependency(%q<haml>, ["~> 3.1"])
|
130
|
+
s.add_runtime_dependency(%q<sass>, ["~> 3.1"])
|
131
|
+
s.add_runtime_dependency(%q<tilt>, [">= 1.3"])
|
132
|
+
s.add_runtime_dependency(%q<compass>, ["~> 0.12.1"])
|
133
|
+
s.add_runtime_dependency(%q<rack>, [">= 1.0"])
|
134
|
+
s.add_runtime_dependency(%q<thor>, [">= 0.14.6"])
|
135
|
+
s.add_runtime_dependency(%q<aws-s3>, [">= 0"])
|
136
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
|
137
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.6"])
|
138
|
+
s.add_development_dependency(%q<rspec>, ["~> 1.3.1"])
|
139
|
+
else
|
140
|
+
s.add_dependency(%q<haml>, ["~> 3.1"])
|
141
|
+
s.add_dependency(%q<sass>, ["~> 3.1"])
|
142
|
+
s.add_dependency(%q<tilt>, [">= 1.3"])
|
143
|
+
s.add_dependency(%q<compass>, ["~> 0.12.1"])
|
144
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
145
|
+
s.add_dependency(%q<thor>, [">= 0.14.6"])
|
146
|
+
s.add_dependency(%q<aws-s3>, [">= 0"])
|
147
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
148
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6"])
|
149
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
150
|
+
end
|
151
|
+
else
|
152
|
+
s.add_dependency(%q<haml>, ["~> 3.1"])
|
153
|
+
s.add_dependency(%q<sass>, ["~> 3.1"])
|
154
|
+
s.add_dependency(%q<tilt>, [">= 1.3"])
|
155
|
+
s.add_dependency(%q<compass>, ["~> 0.12.1"])
|
156
|
+
s.add_dependency(%q<rack>, [">= 1.0"])
|
157
|
+
s.add_dependency(%q<thor>, [">= 0.14.6"])
|
158
|
+
s.add_dependency(%q<aws-s3>, [">= 0"])
|
159
|
+
s.add_dependency(%q<bundler>, ["~> 1.0"])
|
160
|
+
s.add_dependency(%q<jeweler>, ["~> 1.6"])
|
161
|
+
s.add_dependency(%q<rspec>, ["~> 1.3.1"])
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
data/website/Gemfile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
gem
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Default is 3000
|
2
|
+
# configuration.preview_server_port = 3000
|
3
|
+
|
4
|
+
# Default is localhost
|
5
|
+
# configuration.preview_server_host = "localhost"
|
6
|
+
|
7
|
+
# Default is true
|
8
|
+
# When false .html & index.html get stripped off generated urls
|
9
|
+
# configuration.use_extensions_for_page_links = true
|
10
|
+
|
11
|
+
# Default is an empty hash
|
12
|
+
# configuration.sass_options = {}
|
13
|
+
|
14
|
+
# Default is an empty hash
|
15
|
+
# http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#options
|
16
|
+
# configuration.haml_options = {}
|
17
|
+
require "susy"
|