haml-edge 3.1.38 → 3.1.39
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/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/haml/exec.rb +4 -1
- data/lib/sass/plugin/rails.rb +2 -1
- metadata +2 -2
data/EDGE_GEM_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.39
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.1.
|
|
1
|
+
3.1.39
|
data/lib/haml/exec.rb
CHANGED
|
@@ -700,7 +700,10 @@ END
|
|
|
700
700
|
private
|
|
701
701
|
|
|
702
702
|
def process_directory
|
|
703
|
-
input = @options[:input] = @args.shift
|
|
703
|
+
unless input = @options[:input] = @args.shift
|
|
704
|
+
raise "Error: directory required when using --recursive."
|
|
705
|
+
end
|
|
706
|
+
|
|
704
707
|
output = @options[:output] = @args.shift
|
|
705
708
|
raise "Error: --from required when using --recursive." unless @options[:from]
|
|
706
709
|
raise "Error: --to required when using --recursive." unless @options[:to]
|
data/lib/sass/plugin/rails.rb
CHANGED
|
@@ -12,7 +12,8 @@ unless defined?(Sass::RAILS_LOADED)
|
|
|
12
12
|
if defined?(ActionController::Metal)
|
|
13
13
|
# Rails >= 3.0
|
|
14
14
|
require 'sass/plugin/rack'
|
|
15
|
-
Rails.
|
|
15
|
+
Rails.application.instance_variable_set('@app',
|
|
16
|
+
Sass::Plugin::Rack.new(Rails.application.app))
|
|
16
17
|
elsif defined?(ActionController::Dispatcher) &&
|
|
17
18
|
defined?(ActionController::Dispatcher.middleware)
|
|
18
19
|
# Rails >= 2.3
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: haml-edge
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.1.
|
|
4
|
+
version: 3.1.39
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nathan Weizenbaum
|
|
@@ -11,7 +11,7 @@ autorequire:
|
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
13
|
|
|
14
|
-
date: 2010-06-
|
|
14
|
+
date: 2010-06-09 00:00:00 -04:00
|
|
15
15
|
default_executable:
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|