tdreyno-staticmatic 2.11.0 → 2.11.1
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sm-build +1 -1
- data/bin/sm-init +1 -1
- data/lib/{builder.rb → staticmatic/builder.rb} +0 -0
- data/lib/{generator.rb → staticmatic/generator.rb} +1 -1
- data/lib/staticmatic/merb/dependencies.rb +4 -0
- data/lib/{merb → staticmatic/merb}/init.rb +0 -0
- data/lib/{merb → staticmatic/merb}/router.rb +0 -0
- data/lib/{merb → staticmatic/merb}/site.rb +0 -0
- data/lib/template/config/init.rb +21 -1
- metadata +8 -7
data/bin/sm-build
CHANGED
@@ -15,5 +15,5 @@ class MerbProxy
|
|
15
15
|
include Merb::Test::RequestHelper
|
16
16
|
end
|
17
17
|
|
18
|
-
require File.join(File.dirname(__FILE__), '..', 'lib', 'builder')
|
18
|
+
require File.join(File.dirname(__FILE__), '..', 'lib', 'staticmatic', 'builder')
|
19
19
|
Generators.run_cli(Dir.pwd, 'sm-build', 1, %w(build --force).concat(ARGV))
|
data/bin/sm-init
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/template/config/init.rb
CHANGED
@@ -1,7 +1,27 @@
|
|
1
1
|
# Include default staticmatic init
|
2
|
-
require '
|
2
|
+
require 'staticmatic/merb/init'
|
3
|
+
|
4
|
+
dependency "merb-haml"
|
3
5
|
|
4
6
|
<% if compass %>
|
5
7
|
# Enable Compass
|
6
8
|
dependency "chriseppstein-compass", :require_as => 'compass'
|
9
|
+
|
10
|
+
Merb::BootLoader.after_app_loads do
|
11
|
+
module Compass::SassExtensions::Functions::Urls
|
12
|
+
def compute_cache_buster(path, real_path)
|
13
|
+
false
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
Compass.configuration.project_path = File.join(File.dirname(__FILE__), '..', 'public')
|
18
|
+
Compass.configuration.images_dir = "images"
|
19
|
+
Compass.configuration.relative_assets = true
|
20
|
+
end
|
21
|
+
|
22
|
+
Merb::Config.use do |c|
|
23
|
+
c[:compass] = {
|
24
|
+
:stylesheets => 'stylesheets'
|
25
|
+
}
|
26
|
+
end
|
7
27
|
<% end %>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tdreyno-staticmatic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.11.
|
4
|
+
version: 2.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Bartholomew
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-07-
|
13
|
+
date: 2009-07-22 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -89,11 +89,12 @@ files:
|
|
89
89
|
- bin/sm-build
|
90
90
|
- bin/sm-init
|
91
91
|
- bin/sm-server
|
92
|
-
- lib/builder.rb
|
93
|
-
- lib/generator.rb
|
94
|
-
- lib/merb/
|
95
|
-
- lib/merb/
|
96
|
-
- lib/merb/
|
92
|
+
- lib/staticmatic/builder.rb
|
93
|
+
- lib/staticmatic/generator.rb
|
94
|
+
- lib/staticmatic/merb/dependencies.rb
|
95
|
+
- lib/staticmatic/merb/init.rb
|
96
|
+
- lib/staticmatic/merb/router.rb
|
97
|
+
- lib/staticmatic/merb/site.rb
|
97
98
|
- lib/template/config/init.rb
|
98
99
|
- lib/template/helpers/site_helper.rb
|
99
100
|
- lib/template/pages/index.html.haml
|