sprockets 2.2.1 → 2.2.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sprockets might be problematic. Click here for more details.
- data/lib/sprockets/directive_processor.rb +1 -1
- data/lib/sprockets/version.rb +1 -1
- metadata +174 -179
@@ -126,7 +126,7 @@ module Sprockets
|
|
126
126
|
@directives ||= header.lines.each_with_index.map { |line, index|
|
127
127
|
if directive = line[DIRECTIVE_PATTERN, 1]
|
128
128
|
name, *args = Shellwords.shellwords(directive)
|
129
|
-
if respond_to?("process_#{name}_directive")
|
129
|
+
if respond_to?("process_#{name}_directive", true)
|
130
130
|
[index + 1, name, *args]
|
131
131
|
end
|
132
132
|
end
|
data/lib/sprockets/version.rb
CHANGED
metadata
CHANGED
@@ -1,220 +1,225 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.2
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
- 1
|
10
|
-
version: 2.2.1
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Sam Stephenson
|
14
9
|
- Joshua Peek
|
15
10
|
autorequire:
|
16
11
|
bindir: bin
|
17
12
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
- !ruby/object:Gem::Dependency
|
13
|
+
date: 2012-11-27 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
22
16
|
name: hike
|
23
|
-
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
25
18
|
none: false
|
26
|
-
requirements:
|
19
|
+
requirements:
|
27
20
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 2
|
33
|
-
version: "1.2"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '1.2'
|
34
23
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: multi_json
|
38
24
|
prerelease: false
|
39
|
-
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '1.2'
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: multi_json
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
40
34
|
none: false
|
41
|
-
requirements:
|
35
|
+
requirements:
|
42
36
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 0
|
48
|
-
version: "1.0"
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '1.0'
|
49
39
|
type: :runtime
|
50
|
-
version_requirements: *id002
|
51
|
-
- !ruby/object:Gem::Dependency
|
52
|
-
name: rack
|
53
40
|
prerelease: false
|
54
|
-
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
42
|
none: false
|
56
|
-
requirements:
|
43
|
+
requirements:
|
57
44
|
- - ~>
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rack
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
none: false
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '1.0'
|
64
55
|
type: :runtime
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: tilt
|
68
56
|
prerelease: false
|
69
|
-
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.0'
|
63
|
+
- !ruby/object:Gem::Dependency
|
64
|
+
name: tilt
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
70
66
|
none: false
|
71
|
-
requirements:
|
67
|
+
requirements:
|
72
68
|
- - ~>
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
- 1
|
78
|
-
version: "1.1"
|
79
|
-
- - "!="
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
hash: 27
|
82
|
-
segments:
|
83
|
-
- 1
|
84
|
-
- 3
|
85
|
-
- 0
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '1.1'
|
71
|
+
- - ! '!='
|
72
|
+
- !ruby/object:Gem::Version
|
86
73
|
version: 1.3.0
|
87
74
|
type: :runtime
|
88
|
-
version_requirements: *id004
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: coffee-script
|
91
75
|
prerelease: false
|
92
|
-
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
78
|
+
requirements:
|
79
|
+
- - ~>
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '1.1'
|
82
|
+
- - ! '!='
|
83
|
+
- !ruby/object:Gem::Version
|
84
|
+
version: 1.3.0
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: coffee-script
|
87
|
+
requirement: !ruby/object:Gem::Requirement
|
93
88
|
none: false
|
94
|
-
requirements:
|
89
|
+
requirements:
|
95
90
|
- - ~>
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
|
98
|
-
segments:
|
99
|
-
- 2
|
100
|
-
- 0
|
101
|
-
version: "2.0"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '2.0'
|
102
93
|
type: :development
|
103
|
-
version_requirements: *id005
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: coffee-script-source
|
106
94
|
prerelease: false
|
107
|
-
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: '2.0'
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: coffee-script-source
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
108
104
|
none: false
|
109
|
-
requirements:
|
105
|
+
requirements:
|
110
106
|
- - ~>
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
hash: 31
|
113
|
-
segments:
|
114
|
-
- 1
|
115
|
-
- 2
|
116
|
-
- 0
|
107
|
+
- !ruby/object:Gem::Version
|
117
108
|
version: 1.2.0
|
118
109
|
type: :development
|
119
|
-
version_requirements: *id006
|
120
|
-
- !ruby/object:Gem::Dependency
|
121
|
-
name: eco
|
122
110
|
prerelease: false
|
123
|
-
|
111
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
112
|
none: false
|
125
|
-
requirements:
|
113
|
+
requirements:
|
126
114
|
- - ~>
|
127
|
-
- !ruby/object:Gem::Version
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 1.2.0
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: eco
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
none: false
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
133
125
|
type: :development
|
134
|
-
version_requirements: *id007
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: ejs
|
137
126
|
prerelease: false
|
138
|
-
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
none: false
|
129
|
+
requirements:
|
130
|
+
- - ~>
|
131
|
+
- !ruby/object:Gem::Version
|
132
|
+
version: '1.0'
|
133
|
+
- !ruby/object:Gem::Dependency
|
134
|
+
name: ejs
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
139
136
|
none: false
|
140
|
-
requirements:
|
137
|
+
requirements:
|
141
138
|
- - ~>
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
144
|
-
segments:
|
145
|
-
- 1
|
146
|
-
- 0
|
147
|
-
version: "1.0"
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: '1.0'
|
148
141
|
type: :development
|
149
|
-
version_requirements: *id008
|
150
|
-
- !ruby/object:Gem::Dependency
|
151
|
-
name: execjs
|
152
142
|
prerelease: false
|
153
|
-
|
143
|
+
version_requirements: !ruby/object:Gem::Requirement
|
144
|
+
none: false
|
145
|
+
requirements:
|
146
|
+
- - ~>
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '1.0'
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: execjs
|
151
|
+
requirement: !ruby/object:Gem::Requirement
|
154
152
|
none: false
|
155
|
-
requirements:
|
153
|
+
requirements:
|
156
154
|
- - ~>
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
|
159
|
-
segments:
|
160
|
-
- 1
|
161
|
-
- 0
|
162
|
-
version: "1.0"
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: '1.0'
|
163
157
|
type: :development
|
164
|
-
version_requirements: *id009
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: json
|
167
158
|
prerelease: false
|
168
|
-
|
159
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
160
|
none: false
|
170
|
-
requirements:
|
171
|
-
- -
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
161
|
+
requirements:
|
162
|
+
- - ~>
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: '1.0'
|
165
|
+
- !ruby/object:Gem::Dependency
|
166
|
+
name: json
|
167
|
+
requirement: !ruby/object:Gem::Requirement
|
168
|
+
none: false
|
169
|
+
requirements:
|
170
|
+
- - ! '>='
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0'
|
177
173
|
type: :development
|
178
|
-
version_requirements: *id010
|
179
|
-
- !ruby/object:Gem::Dependency
|
180
|
-
name: rack-test
|
181
174
|
prerelease: false
|
182
|
-
|
175
|
+
version_requirements: !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ! '>='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: rack-test
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
183
184
|
none: false
|
184
|
-
requirements:
|
185
|
-
- -
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
|
188
|
-
segments:
|
189
|
-
- 0
|
190
|
-
version: "0"
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
191
189
|
type: :development
|
192
|
-
version_requirements: *id011
|
193
|
-
- !ruby/object:Gem::Dependency
|
194
|
-
name: rake
|
195
190
|
prerelease: false
|
196
|
-
|
191
|
+
version_requirements: !ruby/object:Gem::Requirement
|
192
|
+
none: false
|
193
|
+
requirements:
|
194
|
+
- - ! '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
- !ruby/object:Gem::Dependency
|
198
|
+
name: rake
|
199
|
+
requirement: !ruby/object:Gem::Requirement
|
197
200
|
none: false
|
198
|
-
requirements:
|
199
|
-
- -
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
|
202
|
-
segments:
|
203
|
-
- 0
|
204
|
-
version: "0"
|
201
|
+
requirements:
|
202
|
+
- - ! '>='
|
203
|
+
- !ruby/object:Gem::Version
|
204
|
+
version: '0'
|
205
205
|
type: :development
|
206
|
-
|
207
|
-
|
208
|
-
|
206
|
+
prerelease: false
|
207
|
+
version_requirements: !ruby/object:Gem::Requirement
|
208
|
+
none: false
|
209
|
+
requirements:
|
210
|
+
- - ! '>='
|
211
|
+
- !ruby/object:Gem::Version
|
212
|
+
version: '0'
|
213
|
+
description: Sprockets is a Rack-based asset packaging system that concatenates and
|
214
|
+
serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
|
215
|
+
email:
|
209
216
|
- sstephenson@gmail.com
|
210
217
|
- josh@joshpeek.com
|
211
|
-
executables:
|
218
|
+
executables:
|
212
219
|
- sprockets
|
213
220
|
extensions: []
|
214
|
-
|
215
221
|
extra_rdoc_files: []
|
216
|
-
|
217
|
-
files:
|
222
|
+
files:
|
218
223
|
- README.md
|
219
224
|
- LICENSE
|
220
225
|
- lib/rake/sprocketstask.rb
|
@@ -249,36 +254,26 @@ files:
|
|
249
254
|
- bin/sprockets
|
250
255
|
homepage: http://getsprockets.org/
|
251
256
|
licenses: []
|
252
|
-
|
253
257
|
post_install_message:
|
254
258
|
rdoc_options: []
|
255
|
-
|
256
|
-
require_paths:
|
259
|
+
require_paths:
|
257
260
|
- lib
|
258
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
261
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
259
262
|
none: false
|
260
|
-
requirements:
|
261
|
-
- -
|
262
|
-
- !ruby/object:Gem::Version
|
263
|
-
|
264
|
-
|
265
|
-
- 0
|
266
|
-
version: "0"
|
267
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
|
+
requirements:
|
264
|
+
- - ! '>='
|
265
|
+
- !ruby/object:Gem::Version
|
266
|
+
version: '0'
|
267
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
268
268
|
none: false
|
269
|
-
requirements:
|
270
|
-
- -
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
|
273
|
-
segments:
|
274
|
-
- 0
|
275
|
-
version: "0"
|
269
|
+
requirements:
|
270
|
+
- - ! '>='
|
271
|
+
- !ruby/object:Gem::Version
|
272
|
+
version: '0'
|
276
273
|
requirements: []
|
277
|
-
|
278
274
|
rubyforge_project: sprockets
|
279
|
-
rubygems_version: 1.8.
|
275
|
+
rubygems_version: 1.8.24
|
280
276
|
signing_key:
|
281
277
|
specification_version: 3
|
282
278
|
summary: Rack-based asset packaging system
|
283
279
|
test_files: []
|
284
|
-
|