haml-edge 2.3.172 → 2.3.173
Sign up to get free protection for your applications and to get access to all the features.
- data/EDGE_GEM_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/haml/root.rb +3 -0
- data/lib/haml/util.rb +2 -1
- metadata +3 -2
data/EDGE_GEM_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.173
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.173
|
data/lib/haml/root.rb
ADDED
data/lib/haml/util.rb
CHANGED
@@ -2,6 +2,7 @@ require 'erb'
|
|
2
2
|
require 'set'
|
3
3
|
require 'enumerator'
|
4
4
|
require 'stringio'
|
5
|
+
require 'haml/root'
|
5
6
|
|
6
7
|
module Haml
|
7
8
|
# A module containing various useful functions.
|
@@ -16,7 +17,7 @@ module Haml
|
|
16
17
|
# @param file [String] The filename relative to the Haml root
|
17
18
|
# @return [String] The filename relative to the the working directory
|
18
19
|
def scope(file)
|
19
|
-
File.join(
|
20
|
+
File.join(Haml::ROOT_DIR, file)
|
20
21
|
end
|
21
22
|
|
22
23
|
# Converts an array of `[key, value]` pairs to a hash.
|
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: 2.3.
|
4
|
+
version: 2.3.173
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Weizenbaum
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-03-
|
13
|
+
date: 2010-03-21 00:00:00 -04:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -70,6 +70,7 @@ files:
|
|
70
70
|
- lib/haml/template.rb
|
71
71
|
- lib/haml/template/patch.rb
|
72
72
|
- lib/haml/template/plugin.rb
|
73
|
+
- lib/haml/root.rb
|
73
74
|
- lib/haml/version.rb
|
74
75
|
- lib/haml/railtie.rb
|
75
76
|
- lib/sass.rb
|