sprockets 2.1.0 → 2.2.3
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.
- checksums.yaml +7 -0
- data/README.md +18 -1
- data/bin/sprockets +80 -0
- data/lib/rake/sprocketstask.rb +140 -0
- data/lib/sprockets.rb +1 -0
- data/lib/sprockets/asset.rb +2 -0
- data/lib/sprockets/base.rb +46 -6
- data/lib/sprockets/cache/file_store.rb +4 -4
- data/lib/sprockets/context.rb +20 -4
- data/lib/sprockets/directive_processor.rb +14 -2
- data/lib/sprockets/environment.rb +4 -0
- data/lib/sprockets/index.rb +4 -0
- data/lib/sprockets/manifest.rb +203 -0
- data/lib/sprockets/mime.rb +10 -0
- data/lib/sprockets/processed_asset.rb +15 -11
- data/lib/sprockets/server.rb +10 -17
- data/lib/sprockets/static_asset.rb +2 -0
- data/lib/sprockets/utils.rb +14 -12
- data/lib/sprockets/version.rb +1 -1
- metadata +176 -175
metadata
CHANGED
@@ -1,192 +1,205 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 1
|
9
|
-
- 0
|
10
|
-
version: 2.1.0
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.2.3
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
6
|
+
authors:
|
13
7
|
- Sam Stephenson
|
14
8
|
- Joshua Peek
|
15
9
|
autorequire:
|
16
10
|
bindir: bin
|
17
11
|
cert_chain: []
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
dependencies:
|
22
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2014-10-28 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
23
15
|
name: hike
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '1.2'
|
21
|
+
type: :runtime
|
24
22
|
prerelease: false
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '1.2'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: multi_json
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '1.0'
|
35
35
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: rack
|
39
36
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '1.0'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: rack
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - "~>"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '1.0'
|
50
49
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: tilt
|
54
50
|
prerelease: false
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - "~>"
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '1.0'
|
56
|
+
- !ruby/object:Gem::Dependency
|
57
|
+
name: tilt
|
58
|
+
requirement: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - "~>"
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '1.1'
|
65
63
|
- - "!="
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
hash: 27
|
68
|
-
segments:
|
69
|
-
- 1
|
70
|
-
- 3
|
71
|
-
- 0
|
64
|
+
- !ruby/object:Gem::Version
|
72
65
|
version: 1.3.0
|
73
66
|
type: :runtime
|
74
|
-
|
75
|
-
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - "~>"
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '1.1'
|
73
|
+
- - "!="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.3.0
|
76
|
+
- !ruby/object:Gem::Dependency
|
76
77
|
name: coffee-script
|
78
|
+
requirement: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '2.0'
|
83
|
+
type: :development
|
77
84
|
prerelease: false
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '2.0'
|
90
|
+
- !ruby/object:Gem::Dependency
|
91
|
+
name: coffee-script-source
|
92
|
+
requirement: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 1.2.0
|
88
97
|
type: :development
|
89
|
-
version_requirements: *id004
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: eco
|
92
98
|
prerelease: false
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.2.0
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: eco
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.0'
|
103
111
|
type: :development
|
104
|
-
version_requirements: *id005
|
105
|
-
- !ruby/object:Gem::Dependency
|
106
|
-
name: ejs
|
107
112
|
prerelease: false
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
113
|
+
version_requirements: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.0'
|
118
|
+
- !ruby/object:Gem::Dependency
|
119
|
+
name: ejs
|
120
|
+
requirement: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.0'
|
118
125
|
type: :development
|
119
|
-
version_requirements: *id006
|
120
|
-
- !ruby/object:Gem::Dependency
|
121
|
-
name: execjs
|
122
126
|
prerelease: false
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
127
|
+
version_requirements: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '1.0'
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: execjs
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '1.0'
|
133
139
|
type: :development
|
134
|
-
version_requirements: *id007
|
135
|
-
- !ruby/object:Gem::Dependency
|
136
|
-
name: json
|
137
140
|
prerelease: false
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - "~>"
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '1.0'
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: json
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
141
150
|
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
|
144
|
-
segments:
|
145
|
-
- 0
|
146
|
-
version: "0"
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
147
153
|
type: :development
|
148
|
-
version_requirements: *id008
|
149
|
-
- !ruby/object:Gem::Dependency
|
150
|
-
name: rack-test
|
151
154
|
prerelease: false
|
152
|
-
|
153
|
-
|
154
|
-
requirements:
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
155
157
|
- - ">="
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
- !ruby/object:Gem::Dependency
|
161
|
+
name: rack-test
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
161
167
|
type: :development
|
162
|
-
version_requirements: *id009
|
163
|
-
- !ruby/object:Gem::Dependency
|
164
|
-
name: rake
|
165
168
|
prerelease: false
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
- !ruby/object:Gem::Dependency
|
175
|
+
name: rake
|
176
|
+
requirement: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
169
178
|
- - ">="
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
|
172
|
-
segments:
|
173
|
-
- 0
|
174
|
-
version: "0"
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
175
181
|
type: :development
|
176
|
-
|
177
|
-
|
178
|
-
|
182
|
+
prerelease: false
|
183
|
+
version_requirements: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
description: Sprockets is a Rack-based asset packaging system that concatenates and
|
189
|
+
serves JavaScript, CoffeeScript, CSS, LESS, Sass, and SCSS.
|
190
|
+
email:
|
179
191
|
- sstephenson@gmail.com
|
180
192
|
- josh@joshpeek.com
|
181
|
-
executables:
|
182
|
-
|
193
|
+
executables:
|
194
|
+
- sprockets
|
183
195
|
extensions: []
|
184
|
-
|
185
196
|
extra_rdoc_files: []
|
186
|
-
|
187
|
-
files:
|
188
|
-
- README.md
|
197
|
+
files:
|
189
198
|
- LICENSE
|
199
|
+
- README.md
|
200
|
+
- bin/sprockets
|
201
|
+
- lib/rake/sprocketstask.rb
|
202
|
+
- lib/sprockets.rb
|
190
203
|
- lib/sprockets/asset.rb
|
191
204
|
- lib/sprockets/asset_attributes.rb
|
192
205
|
- lib/sprockets/base.rb
|
@@ -203,6 +216,7 @@ files:
|
|
203
216
|
- lib/sprockets/errors.rb
|
204
217
|
- lib/sprockets/index.rb
|
205
218
|
- lib/sprockets/jst_processor.rb
|
219
|
+
- lib/sprockets/manifest.rb
|
206
220
|
- lib/sprockets/mime.rb
|
207
221
|
- lib/sprockets/processed_asset.rb
|
208
222
|
- lib/sprockets/processing.rb
|
@@ -213,40 +227,27 @@ files:
|
|
213
227
|
- lib/sprockets/trail.rb
|
214
228
|
- lib/sprockets/utils.rb
|
215
229
|
- lib/sprockets/version.rb
|
216
|
-
- lib/sprockets.rb
|
217
|
-
has_rdoc: true
|
218
230
|
homepage: http://getsprockets.org/
|
219
231
|
licenses: []
|
220
|
-
|
232
|
+
metadata: {}
|
221
233
|
post_install_message:
|
222
234
|
rdoc_options: []
|
223
|
-
|
224
|
-
require_paths:
|
235
|
+
require_paths:
|
225
236
|
- lib
|
226
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
227
|
-
|
228
|
-
requirements:
|
237
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
238
|
+
requirements:
|
229
239
|
- - ">="
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
version: "0"
|
235
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
|
-
requirements:
|
240
|
+
- !ruby/object:Gem::Version
|
241
|
+
version: '0'
|
242
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
243
|
+
requirements:
|
238
244
|
- - ">="
|
239
|
-
- !ruby/object:Gem::Version
|
240
|
-
|
241
|
-
segments:
|
242
|
-
- 0
|
243
|
-
version: "0"
|
245
|
+
- !ruby/object:Gem::Version
|
246
|
+
version: '0'
|
244
247
|
requirements: []
|
245
|
-
|
246
248
|
rubyforge_project: sprockets
|
247
|
-
rubygems_version:
|
249
|
+
rubygems_version: 2.2.2
|
248
250
|
signing_key:
|
249
|
-
specification_version:
|
251
|
+
specification_version: 4
|
250
252
|
summary: Rack-based asset packaging system
|
251
253
|
test_files: []
|
252
|
-
|