tilt-jade 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
data/lib/tilt-jade/jade_js.rb
CHANGED
@@ -68,7 +68,7 @@ module JadeJs
|
|
68
68
|
|
69
69
|
Source.context.eval("jade.compile(#{script.to_json}, #{options.to_json}).toString()")
|
70
70
|
rescue ExecJS::ProgramError => e
|
71
|
-
raise %(Error compiling tilt template
|
71
|
+
raise %(Error compiling tilt-jade template '#{options[:filename]}': #{e.message})
|
72
72
|
end
|
73
73
|
end
|
74
74
|
end
|
data/lib/tilt-jade/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tilt-jade
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: jade-js-source
|
16
|
-
requirement: &
|
16
|
+
requirement: &11497480 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11497480
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: execjs
|
27
|
-
requirement: &
|
27
|
+
requirement: &11496300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *11496300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: tilt
|
38
|
-
requirement: &
|
38
|
+
requirement: &11495440 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *11495440
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: sprockets
|
49
|
-
requirement: &
|
49
|
+
requirement: &11510480 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *11510480
|
58
58
|
description: Jade is a high performance template engine heavily influenced by Haml
|
59
59
|
and implemented with JavaScript for node.
|
60
60
|
email:
|
@@ -78,7 +78,6 @@ files:
|
|
78
78
|
- test/jade_rails/Rakefile
|
79
79
|
- test/jade_rails/app/assets/images/rails.png
|
80
80
|
- test/jade_rails/app/assets/javascripts/application.js
|
81
|
-
- test/jade_rails/app/assets/javascripts/templates/error.js.jst.jade
|
82
81
|
- test/jade_rails/app/assets/javascripts/templates/hello.js.jst.jade
|
83
82
|
- test/jade_rails/app/assets/stylesheets/application.css
|
84
83
|
- test/jade_rails/app/controllers/application_controller.rb
|
@@ -156,7 +155,6 @@ test_files:
|
|
156
155
|
- test/jade_rails/Rakefile
|
157
156
|
- test/jade_rails/app/assets/images/rails.png
|
158
157
|
- test/jade_rails/app/assets/javascripts/application.js
|
159
|
-
- test/jade_rails/app/assets/javascripts/templates/error.js.jst.jade
|
160
158
|
- test/jade_rails/app/assets/javascripts/templates/hello.js.jst.jade
|
161
159
|
- test/jade_rails/app/assets/stylesheets/application.css
|
162
160
|
- test/jade_rails/app/controllers/application_controller.rb
|
@@ -201,3 +199,4 @@ test_files:
|
|
201
199
|
- test/jade_rails/test/unit/.gitkeep
|
202
200
|
- test/jade_rails/vendor/assets/stylesheets/.gitkeep
|
203
201
|
- test/jade_rails/vendor/plugins/.gitkeep
|
202
|
+
has_rdoc:
|