middleman 0.3.0 → 0.3.1

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/middleman.rb +11 -8
  3. data/middleman.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{middleman}
5
- s.version = "0.3.0"
5
+ s.version = "0.3.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Thomas Reynolds"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds