tilt-jade 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ module JadeJs
27
27
  end
28
28
 
29
29
  def self.contents
30
- @contents ||= File.read(path) + '; var jade = require("jade");'
30
+ @contents ||= 'var window = {}; ' + File.read(path) + '; var jade = window.jade;'
31
31
  end
32
32
 
33
33
  # def self.version
@@ -1,3 +1,3 @@
1
1
  module TiltJade
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -1,2 +1,2 @@
1
1
  h1 Hello to #{sayHello}!
2
- p test
2
+ p This is a p tag
@@ -0,0 +1,4 @@
1
+ include 'foo'
2
+ foo='err"
3
+ bar
4
+ baz
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
12
12
  s.description = %q{Jade is a high performance template engine heavily influenced by Haml and implemented with JavaScript for node.}
13
13
 
14
14
  s.rubyforge_project = "tilt-jade"
15
- s.add_dependency 'jade-js-source'
15
+ s.add_dependency 'jade-js-source', '> 0.27.0'
16
16
  s.add_dependency 'execjs'
17
17
  s.add_dependency 'tilt'
18
18
  s.add_dependency 'sprockets'
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.1.0
4
+ version: 1.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,18 +13,18 @@ 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: &11497480 !ruby/object:Gem::Requirement
16
+ requirement: &15701340 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
- - - ! '>='
19
+ - - ! '>'
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: 0.27.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *11497480
24
+ version_requirements: *15701340
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: execjs
27
- requirement: &11496300 !ruby/object:Gem::Requirement
27
+ requirement: &15709840 !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: *11496300
35
+ version_requirements: *15709840
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: tilt
38
- requirement: &11495440 !ruby/object:Gem::Requirement
38
+ requirement: &16538400 !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: *11495440
46
+ version_requirements: *16538400
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: sprockets
49
- requirement: &11510480 !ruby/object:Gem::Requirement
49
+ requirement: &16535900 !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: *11510480
57
+ version_requirements: *16535900
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:
@@ -108,6 +108,7 @@ files:
108
108
  - test/jade_rails/lib/assets/.gitkeep
109
109
  - test/jade_rails/lib/tasks/.gitkeep
110
110
  - test/jade_rails/log/.gitkeep
111
+ - test/jade_rails/mv-me-to-js-templates-for-error.js.jst.jade
111
112
  - test/jade_rails/public/404.html
112
113
  - test/jade_rails/public/422.html
113
114
  - test/jade_rails/public/500.html
@@ -185,6 +186,7 @@ test_files:
185
186
  - test/jade_rails/lib/assets/.gitkeep
186
187
  - test/jade_rails/lib/tasks/.gitkeep
187
188
  - test/jade_rails/log/.gitkeep
189
+ - test/jade_rails/mv-me-to-js-templates-for-error.js.jst.jade
188
190
  - test/jade_rails/public/404.html
189
191
  - test/jade_rails/public/422.html
190
192
  - test/jade_rails/public/500.html