tdreyno-staticmatic 2.11.0 → 2.11.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.
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
@@ -1,4 +1,4 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- require File.join(File.dirname(__FILE__), '..', 'lib', 'generator')
3
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'staticmatic', 'generator')
4
4
  Generators.run_cli(Dir.pwd, 'sm-init', 1, %w(setup).concat(ARGV))
File without changes
@@ -16,7 +16,7 @@ module Generators
16
16
  end
17
17
 
18
18
  def self.source_root
19
- File.join(File.dirname(__FILE__), 'template')
19
+ File.join(File.dirname(__FILE__), '..', 'template')
20
20
  end
21
21
 
22
22
  glob! :config
@@ -0,0 +1,4 @@
1
+ dependency "merb-core", ">=1.0.0"
2
+ dependency 'merb-assets', ">=1.0.0"
3
+ dependency 'merb-helpers', ">=1.0.0"
4
+ dependency 'merb-haml', ">=1.0.0"
File without changes
File without changes
File without changes
@@ -1,7 +1,27 @@
1
1
  # Include default staticmatic init
2
- require '<%= ::File.join(::File.expand_path(::File.join(source_root, '..')), 'merb', 'init') %>'
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.0
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-06 00:00:00 -07:00
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/init.rb
95
- - lib/merb/router.rb
96
- - lib/merb/site.rb
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