tdreyno-middleman 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/middleman.rb +11 -8
- data/middleman.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/middleman.rb
CHANGED
@@ -50,14 +50,8 @@ class Middleman < Sinatra::Base
|
|
50
50
|
puts "== The Middleman is already standing watch on port #{port}!"
|
51
51
|
end
|
52
52
|
|
53
|
-
# Check for local config
|
54
|
-
local_config = File.join(self.root, "init.rb")
|
55
|
-
if File.exists? local_config
|
56
|
-
puts "== Local config at: #{local_config}"
|
57
|
-
class_eval File.read(local_config)
|
58
|
-
end
|
59
|
-
|
60
53
|
configure do
|
54
|
+
puts "config yo"
|
61
55
|
Compass.configuration do |config|
|
62
56
|
config.project_path = Dir.pwd
|
63
57
|
config.sass_dir = File.join(File.basename(self.views), "stylesheets")
|
@@ -66,7 +60,16 @@ class Middleman < Sinatra::Base
|
|
66
60
|
config.http_images_path = "/images/"
|
67
61
|
config.add_import_path(config.sass_dir)
|
68
62
|
end
|
69
|
-
|
63
|
+
end
|
64
|
+
|
65
|
+
# Check for local config
|
66
|
+
local_config = File.join(self.root, "init.rb")
|
67
|
+
if File.exists? local_config
|
68
|
+
puts "== Local config at: #{local_config}"
|
69
|
+
class_eval File.read(local_config)
|
70
|
+
end
|
71
|
+
|
72
|
+
configure do
|
70
73
|
Compass.configure_sass_plugin!
|
71
74
|
end
|
72
75
|
|
data/middleman.gemspec
CHANGED