jade 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  require 'sprockets'
2
+ require 'sprockets/engines'
2
3
 
3
4
  module Jade
4
5
  class Engine < Rails::Engine
@@ -7,4 +8,4 @@ module Jade
7
8
  Sprockets.register_engine '.jade', ::Jade::Template
8
9
  end
9
10
  end
10
- end
11
+ end
@@ -1,3 +1,3 @@
1
1
  module Jade
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -15,7 +15,6 @@ describe Jade::Compiler do
15
15
 
16
16
  it 'should be served' do
17
17
  assets.should serve 'sample.js'
18
- raise asset_for('sample.js').body.inspect
19
18
  asset_for('sample.js').body.should include "Yap, it works"
20
19
  end
21
20
 
@@ -26,4 +25,4 @@ describe Jade::Compiler do
26
25
  }
27
26
  context.eval('html').should == "<!DOCTYPE html><head><title>Hello, Yorik :)</title></head><body>Yap, it works\n</body>"
28
27
  end
29
- end
28
+ end
metadata CHANGED
@@ -1,117 +1,90 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: jade
3
- version: !ruby/object:Gem::Version
4
- hash: 27
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 1
9
- - 0
10
- version: 0.1.0
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Boris Staal
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2012-01-14 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: execjs
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70153557240160 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
32
22
  type: :runtime
33
- version_requirements: *id001
34
- - !ruby/object:Gem::Dependency
35
- name: tilt
36
23
  prerelease: false
37
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70153557240160
25
+ - !ruby/object:Gem::Dependency
26
+ name: tilt
27
+ requirement: &70153557237640 !ruby/object:Gem::Requirement
38
28
  none: false
39
- requirements:
40
- - - ">="
41
- - !ruby/object:Gem::Version
42
- hash: 3
43
- segments:
44
- - 0
45
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
46
33
  type: :runtime
47
- version_requirements: *id002
48
- - !ruby/object:Gem::Dependency
49
- name: sprockets
50
34
  prerelease: false
51
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70153557237640
36
+ - !ruby/object:Gem::Dependency
37
+ name: sprockets
38
+ requirement: &70153557236960 !ruby/object:Gem::Requirement
52
39
  none: false
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- hash: 3
57
- segments:
58
- - 0
59
- version: "0"
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
60
44
  type: :runtime
61
- version_requirements: *id003
62
- - !ruby/object:Gem::Dependency
63
- name: rspec
64
45
  prerelease: false
65
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70153557236960
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &70153557236340 !ruby/object:Gem::Requirement
66
50
  none: false
67
- requirements:
68
- - - ">="
69
- - !ruby/object:Gem::Version
70
- hash: 3
71
- segments:
72
- - 0
73
- version: "0"
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
74
55
  type: :development
75
- version_requirements: *id004
76
- - !ruby/object:Gem::Dependency
77
- name: rails
78
56
  prerelease: false
79
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70153557236340
58
+ - !ruby/object:Gem::Dependency
59
+ name: rails
60
+ requirement: &70153557235020 !ruby/object:Gem::Requirement
80
61
  none: false
81
- requirements:
82
- - - ">="
83
- - !ruby/object:Gem::Version
84
- hash: 5
85
- segments:
86
- - 3
87
- - 1
88
- version: "3.1"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '3.1'
89
66
  type: :development
90
- version_requirements: *id005
91
- - !ruby/object:Gem::Dependency
92
- name: pry
93
67
  prerelease: false
94
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70153557235020
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry
71
+ requirement: &70153557234260 !ruby/object:Gem::Requirement
95
72
  none: false
96
- requirements:
97
- - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
103
77
  type: :development
104
- version_requirements: *id006
105
- description: Jade is a high performance template engine heavily influenced by Haml and implemented with JavaScript for node.
106
- email:
78
+ prerelease: false
79
+ version_requirements: *70153557234260
80
+ description: Jade is a high performance template engine heavily influenced by Haml
81
+ and implemented with JavaScript for node.
82
+ email:
107
83
  - boris@roundlake.ru
108
84
  executables: []
109
-
110
85
  extensions: []
111
-
112
86
  extra_rdoc_files: []
113
-
114
- files:
87
+ files:
115
88
  - .gitignore
116
89
  - Gemfile
117
90
  - README.md
@@ -180,40 +153,31 @@ files:
180
153
  - spec/template_spec.rb
181
154
  - vendor/assets/javascripts/jade/jade.js
182
155
  - vendor/assets/javascripts/jade/runtime.js
183
- homepage: ""
156
+ homepage: ''
184
157
  licenses: []
185
-
186
158
  post_install_message:
187
159
  rdoc_options: []
188
-
189
- require_paths:
160
+ require_paths:
190
161
  - lib
191
- required_ruby_version: !ruby/object:Gem::Requirement
162
+ required_ruby_version: !ruby/object:Gem::Requirement
192
163
  none: false
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- hash: 3
197
- segments:
198
- - 0
199
- version: "0"
200
- required_rubygems_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ! '>='
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
201
169
  none: false
202
- requirements:
203
- - - ">="
204
- - !ruby/object:Gem::Version
205
- hash: 3
206
- segments:
207
- - 0
208
- version: "0"
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
209
174
  requirements: []
210
-
211
175
  rubyforge_project: jade
212
176
  rubygems_version: 1.8.10
213
177
  signing_key:
214
178
  specification_version: 3
215
179
  summary: Server-side Jade compiler based on Tilt
216
- test_files:
180
+ test_files:
217
181
  - spec/compiler_spec.rb
218
182
  - spec/dummy/.gitignore
219
183
  - spec/dummy/Gemfile