sinatra-assetpack 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +2 -3
- data/Gemfile.lock +2 -0
- data/HISTORY.md +12 -3
- data/lib/sinatra/assetpack/buster_helpers.rb +3 -1
- data/lib/sinatra/assetpack/helpers.rb +2 -2
- data/lib/sinatra/assetpack/package.rb +15 -4
- data/lib/sinatra/assetpack/version.rb +1 -1
- data/sinatra-assetpack.gemspec +5 -1
- data/test/arity_test.rb +1 -3
- data/test/asset_host_test.rb +7 -11
- data/test/buster_helpers_test.rb +2 -2
- data/test/cache_test.rb +4 -4
- data/test/compressed_test.rb +1 -3
- data/test/glob_test.rb +1 -3
- data/test/ignore_test.rb +1 -3
- data/test/local_file_test.rb +1 -3
- data/test/non_existent_test.rb +1 -3
- data/test/options_test.rb +1 -3
- data/test/order_test.rb +1 -3
- data/test/stylus_test.rb +1 -3
- data/test/subpath_test.rb +26 -0
- data/test/template_cache_test.rb +4 -4
- data/test/test_helper.rb +0 -6
- data/test/uglifier_test.rb +1 -3
- data/test/unit_test.rb +3 -3
- metadata +54 -5
- metadata.gz.sig +0 -0
- checksums.yaml +0 -15
- checksums.yaml.gz.sig +0 -2
data.tar.gz.sig
CHANGED
@@ -1,3 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|�!b�e��{S�Ss�!�y�s�!�����mF��}���C���K
|
1
|
+
n
|
2
|
+
�P����m�k].R�-3[0�L:Uv�)���?�����GŚ��4{a���)�����}�����o���#���lЙ�����k�T�b��Vk��1H�G*,(s ���4���u^�K�GuѪ?�u.�}�'m]���}��`!Q���h�m9�"���u3��=0�2�*��_����
|
data/Gemfile.lock
CHANGED
data/HISTORY.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
v0.2.3 - May 29, 2013
|
2
|
+
----------------------
|
3
|
+
|
4
|
+
### Added
|
5
|
+
* Support for Rack::URLMap / url prefix (#104)
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
* Use optimized MD5 file digest method. (#99)
|
9
|
+
|
1
10
|
v0.2.2 - April 28, 2013
|
2
11
|
----------------------
|
3
12
|
|
@@ -167,7 +176,7 @@ v0.0.6 - Aug 30, 2011
|
|
167
176
|
---------------------
|
168
177
|
|
169
178
|
### Fixed:
|
170
|
-
* Redundant entries are now suppressed. (eg, when specifying
|
179
|
+
* Redundant entries are now suppressed. (eg, when specifying
|
171
180
|
`['vendor/jquery.js', 'vendor/*.js']`)
|
172
181
|
|
173
182
|
### Added:
|
@@ -195,8 +204,8 @@ v0.0.4 - Aug 30, 2011
|
|
195
204
|
* Assets are now ordered properly.
|
196
205
|
|
197
206
|
### Changed:
|
198
|
-
* the config format for `js_compression` and family. In your `assets` block,
|
199
|
-
you now have to use `js_compression :closure` instead of `js_compression =
|
207
|
+
* the config format for `js_compression` and family. In your `assets` block,
|
208
|
+
you now have to use `js_compression :closure` instead of `js_compression =
|
200
209
|
:closure`.
|
201
210
|
* Use simple CSS compression by default.
|
202
211
|
|
@@ -4,7 +4,9 @@ module Sinatra
|
|
4
4
|
extend self
|
5
5
|
# Returns the MD5 for all of the files concatenated together
|
6
6
|
def cache_buster_hash(*files)
|
7
|
-
content = files.sort.map
|
7
|
+
content = files.sort.map do |f|
|
8
|
+
Digest::MD5.file(f).hexdigest if f.is_a?(String) && File.file?(f)
|
9
|
+
end.compact
|
8
10
|
Digest::MD5.hexdigest(content.join) if content.any?
|
9
11
|
end
|
10
12
|
|
@@ -45,9 +45,9 @@ module Sinatra
|
|
45
45
|
return "" unless pack
|
46
46
|
|
47
47
|
if settings.environment == :production
|
48
|
-
pack.to_production_html options
|
48
|
+
pack.to_production_html request.script_name, options
|
49
49
|
else
|
50
|
-
pack.to_development_html options
|
50
|
+
pack.to_development_html request.script_name, options
|
51
51
|
end
|
52
52
|
end
|
53
53
|
|
@@ -60,20 +60,31 @@ module Sinatra
|
|
60
60
|
/^#{re}$/
|
61
61
|
end
|
62
62
|
|
63
|
-
def to_development_html(options={})
|
63
|
+
def to_development_html(path_prefix, options={})
|
64
64
|
paths_and_files.map { |path, file|
|
65
65
|
path = add_cache_buster(path, file)
|
66
|
+
path = add_path_prefix(path, path_prefix)
|
66
67
|
link_tag(path, options)
|
67
68
|
}.join("\n")
|
68
69
|
end
|
69
70
|
|
70
|
-
# The URI path of the minified file (with cache buster)
|
71
|
+
# The URI path of the minified file (with cache buster, but not a path prefix)
|
71
72
|
def production_path
|
72
73
|
add_cache_buster @path, *files
|
73
74
|
end
|
74
75
|
|
75
|
-
def to_production_html(options={})
|
76
|
-
|
76
|
+
def to_production_html(path_prefix, options={})
|
77
|
+
path = production_path
|
78
|
+
path = add_path_prefix(path, path_prefix)
|
79
|
+
link_tag path, options
|
80
|
+
end
|
81
|
+
|
82
|
+
def add_path_prefix(path, path_prefix)
|
83
|
+
if path_prefix == '/'
|
84
|
+
path
|
85
|
+
else
|
86
|
+
"#{path_prefix}#{path}"
|
87
|
+
end
|
77
88
|
end
|
78
89
|
|
79
90
|
def minify
|
data/sinatra-assetpack.gemspec
CHANGED
@@ -29,7 +29,11 @@ Gem::Specification.new do |s|
|
|
29
29
|
s.add_development_dependency 'uglifier'
|
30
30
|
s.add_development_dependency 'yui-compressor'
|
31
31
|
|
32
|
-
# For tests
|
32
|
+
# For gem tests
|
33
33
|
s.add_development_dependency 'rake'
|
34
34
|
s.add_development_dependency 'mocha'
|
35
|
+
|
36
|
+
# For gem release mangement
|
37
|
+
s.add_development_dependency 'gem-release'
|
38
|
+
|
35
39
|
end
|
data/test/arity_test.rb
CHANGED
data/test/asset_host_test.rb
CHANGED
@@ -1,11 +1,7 @@
|
|
1
1
|
require File.expand_path('../test_helper', __FILE__)
|
2
2
|
|
3
3
|
class AssetHostTest < UnitTest
|
4
|
-
class
|
5
|
-
register Sinatra::AssetPack
|
6
|
-
|
7
|
-
set :root, File.join(File.dirname(__FILE__), "app")
|
8
|
-
|
4
|
+
class App < Main
|
9
5
|
assets {
|
10
6
|
serve '/css', :from => 'app/css'
|
11
7
|
serve '/js', :from => 'app/js'
|
@@ -24,7 +20,7 @@ class AssetHostTest < UnitTest
|
|
24
20
|
end
|
25
21
|
|
26
22
|
def app
|
27
|
-
|
23
|
+
App
|
28
24
|
end
|
29
25
|
|
30
26
|
test "hosts sets option" do
|
@@ -34,12 +30,12 @@ class AssetHostTest < UnitTest
|
|
34
30
|
|
35
31
|
test "host gets added to css source path" do
|
36
32
|
app.stubs(:development?).returns(false)
|
37
|
-
assert
|
33
|
+
assert App.assets.packages['a.css'].to_production_html('/') =~ %r{href='//cdn-[0|1].example.org/assets/a.[a-f0-9]{32}.css'}
|
38
34
|
end
|
39
35
|
|
40
36
|
test "host gets added to js source path" do
|
41
37
|
app.stubs(:development?).returns(false)
|
42
|
-
assert
|
38
|
+
assert App.assets.packages['b.js'].to_production_html('/') =~ %r{src='//cdn-[0|1].example.org/assets/b.[a-f0-9]{32}.js'}
|
43
39
|
end
|
44
40
|
|
45
41
|
test "host gets added to image helper path in production" do
|
@@ -57,7 +53,7 @@ class AssetHostTest < UnitTest
|
|
57
53
|
test "host gets added to css image path in production" do
|
58
54
|
app.stubs(:development?).returns(false)
|
59
55
|
get '/css/style.css'
|
60
|
-
assert body
|
56
|
+
assert body =~ /background: url\(\/\/cdn-[0|1].example.org\/images\/background.[a-f0-9]{32}.jpg\)/
|
61
57
|
|
62
58
|
# does not alter non-existing files (design or flaw???)
|
63
59
|
assert body.include?('background: url(/images/404.png)')
|
@@ -66,12 +62,12 @@ class AssetHostTest < UnitTest
|
|
66
62
|
test "do not add asset host to filename in dev mode" do
|
67
63
|
app.stubs(:development?).returns(true)
|
68
64
|
file = '/js/hello.js'
|
69
|
-
assert !(Sinatra::AssetPack::HtmlHelpers.get_file_uri(file,
|
65
|
+
assert !(Sinatra::AssetPack::HtmlHelpers.get_file_uri(file, App.assets) =~ /cdn-[0|1].example.org/)
|
70
66
|
end
|
71
67
|
|
72
68
|
test "add asset host to filename in production/qa mode" do
|
73
69
|
app.stubs(:development?).returns(false)
|
74
70
|
file = '/js/hello.js'
|
75
|
-
assert Sinatra::AssetPack::HtmlHelpers.get_file_uri(file,
|
71
|
+
assert Sinatra::AssetPack::HtmlHelpers.get_file_uri(file, App.assets) =~ /cdn-[0|1].example.org/
|
76
72
|
end
|
77
73
|
end
|
data/test/buster_helpers_test.rb
CHANGED
@@ -5,13 +5,13 @@ class BusterHelpersTest < UnitTest
|
|
5
5
|
|
6
6
|
test "adds md5 to name for one file" do
|
7
7
|
filename = BusterHelpers.add_cache_buster '/css/style.css', asset('css/style.css')
|
8
|
-
|
8
|
+
assert %r{/css/style.[a-f0-9]{32}.css} =~ filename
|
9
9
|
end
|
10
10
|
|
11
11
|
|
12
12
|
test "adds md5 to name for multiple files" do
|
13
13
|
filename = BusterHelpers.add_cache_buster '/css/style.css', asset('css/style.css'), asset('css/js2c.css')
|
14
|
-
|
14
|
+
assert %r{\/css\/style.[a-f0-9]{32}.css} =~ filename
|
15
15
|
end
|
16
16
|
|
17
17
|
test "doesn't add md5 for non-existent file" do
|
data/test/cache_test.rb
CHANGED
@@ -1,9 +1,7 @@
|
|
1
1
|
require File.expand_path('../test_helper', __FILE__)
|
2
2
|
|
3
3
|
class CacheTest < UnitTest
|
4
|
-
class App <
|
5
|
-
register Sinatra::AssetPack
|
6
|
-
|
4
|
+
class App < Main
|
7
5
|
set :reload_templates, false
|
8
6
|
assets {
|
9
7
|
js :app, '/js/app.js', [
|
@@ -16,7 +14,9 @@ class CacheTest < UnitTest
|
|
16
14
|
}
|
17
15
|
end
|
18
16
|
|
19
|
-
def app
|
17
|
+
def app
|
18
|
+
App
|
19
|
+
end
|
20
20
|
|
21
21
|
test "Compressed js caching" do
|
22
22
|
app.set :reload_templates, false
|
data/test/compressed_test.rb
CHANGED
data/test/glob_test.rb
CHANGED
data/test/ignore_test.rb
CHANGED
data/test/local_file_test.rb
CHANGED
data/test/non_existent_test.rb
CHANGED
data/test/options_test.rb
CHANGED
data/test/order_test.rb
CHANGED
data/test/stylus_test.rb
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
require File.expand_path('../test_helper', __FILE__)
|
2
|
+
|
3
|
+
# tests for running sinatra-assetpack with an application that's mounted under a
|
4
|
+
# subdirectory
|
5
|
+
class SubpathTest < UnitTest
|
6
|
+
def app
|
7
|
+
Rack::URLMap.new('/subpath' => Main)
|
8
|
+
end
|
9
|
+
|
10
|
+
test "helpers css (mounted on a subpath, development)" do
|
11
|
+
Main.settings.stubs(:environment).returns(:development)
|
12
|
+
get '/subpath/helpers/css'
|
13
|
+
assert body =~ %r{link rel='stylesheet' href='/subpath/css/screen.[a-f0-9]{32}.css' media='screen'}
|
14
|
+
end
|
15
|
+
|
16
|
+
test "helpers css (mounted on a subpath, production)" do
|
17
|
+
Main.settings.stubs(:environment).returns(:production)
|
18
|
+
get '/subpath/helpers/css'
|
19
|
+
assert body =~ %r{link rel='stylesheet' href='/subpath/css/application.[a-f0-9]{32}.css' media='screen'}
|
20
|
+
end
|
21
|
+
|
22
|
+
test '/subpath/js/hello.js (plain js)' do
|
23
|
+
get '/subpath/js/hello.js'
|
24
|
+
assert body == '$(function() { alert("Hello"); });'
|
25
|
+
end
|
26
|
+
end
|
data/test/template_cache_test.rb
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
require File.expand_path('../test_helper', __FILE__)
|
2
2
|
|
3
3
|
class TemplateCacheTest < UnitTest
|
4
|
-
class App <
|
5
|
-
register Sinatra::AssetPack
|
6
|
-
|
4
|
+
class App < Main
|
7
5
|
set :reload_templates, false
|
8
6
|
assets do |a|
|
9
7
|
a.css :a, '/a.css', %w[/css/screen.css]
|
10
8
|
end
|
11
9
|
end
|
12
10
|
|
13
|
-
def app
|
11
|
+
def app
|
12
|
+
App
|
13
|
+
end
|
14
14
|
|
15
15
|
test "cache dynamic files when reload templates is false" do
|
16
16
|
App.any_instance.expects(:asset_filter_css).times(1).returns "OK"
|
data/test/test_helper.rb
CHANGED
@@ -16,12 +16,6 @@ require File.expand_path('../app/app.rb', __FILE__)
|
|
16
16
|
class UnitTest < Test::Unit::TestCase
|
17
17
|
include Rack::Test::Methods
|
18
18
|
|
19
|
-
class App < Sinatra::Base
|
20
|
-
set :root, File.expand_path('../app', __FILE__)
|
21
|
-
enable :raise_errors
|
22
|
-
disable :show_exceptions
|
23
|
-
end
|
24
|
-
|
25
19
|
def app
|
26
20
|
Main
|
27
21
|
end
|
data/test/uglifier_test.rb
CHANGED
data/test/unit_test.rb
CHANGED
@@ -69,8 +69,8 @@ class AppTest < UnitTest
|
|
69
69
|
test "helpers" do
|
70
70
|
app.settings.stubs(:environment).returns(:development)
|
71
71
|
get '/index.html'
|
72
|
-
assert body =~ /<script src='\/js\/hello.
|
73
|
-
assert body =~ /<script src='\/js\/hi.
|
72
|
+
assert body =~ /<script src='\/js\/hello.[a-f0-9]{32}.js'><\/script>/
|
73
|
+
assert body =~ /<script src='\/js\/hi.[a-f0-9]{32}.js'><\/script>/
|
74
74
|
end
|
75
75
|
|
76
76
|
test "helpers in production (compressed html thingie)" do
|
@@ -108,7 +108,7 @@ class AppTest < UnitTest
|
|
108
108
|
test "helpers css (development)" do
|
109
109
|
app.settings.stubs(:environment).returns(:development)
|
110
110
|
get '/helpers/css'
|
111
|
-
assert body =~ %r{link rel='stylesheet' href='/css/screen.
|
111
|
+
assert body =~ %r{link rel='stylesheet' href='/css/screen.[a-f0-9]{32}.css' media='screen'}
|
112
112
|
end
|
113
113
|
|
114
114
|
test "helpers css (production)" do
|
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-assetpack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Rico Sta. Cruz
|
@@ -36,11 +37,12 @@ cert_chain:
|
|
36
37
|
MjN3ZTRFMUx2ZlJuNWdWNzdEaWo2czlWNEhIek1CdUx3bk5iOFQrNmxPblVX
|
37
38
|
YnRpSWRkRAplOGM4aTdQbHJ6aFZKLzhzWFVKc0NreUU4ZDJNeVJ5amx4TT0K
|
38
39
|
LS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=
|
39
|
-
date: 2013-
|
40
|
+
date: 2013-05-29 00:00:00.000000000 Z
|
40
41
|
dependencies:
|
41
42
|
- !ruby/object:Gem::Dependency
|
42
43
|
name: backports
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
45
|
+
none: false
|
44
46
|
requirements:
|
45
47
|
- - ! '>='
|
46
48
|
- !ruby/object:Gem::Version
|
@@ -48,6 +50,7 @@ dependencies:
|
|
48
50
|
type: :runtime
|
49
51
|
prerelease: false
|
50
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
51
54
|
requirements:
|
52
55
|
- - ! '>='
|
53
56
|
- !ruby/object:Gem::Version
|
@@ -55,6 +58,7 @@ dependencies:
|
|
55
58
|
- !ruby/object:Gem::Dependency
|
56
59
|
name: jsmin
|
57
60
|
requirement: !ruby/object:Gem::Requirement
|
61
|
+
none: false
|
58
62
|
requirements:
|
59
63
|
- - ! '>='
|
60
64
|
- !ruby/object:Gem::Version
|
@@ -62,6 +66,7 @@ dependencies:
|
|
62
66
|
type: :runtime
|
63
67
|
prerelease: false
|
64
68
|
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
none: false
|
65
70
|
requirements:
|
66
71
|
- - ! '>='
|
67
72
|
- !ruby/object:Gem::Version
|
@@ -69,6 +74,7 @@ dependencies:
|
|
69
74
|
- !ruby/object:Gem::Dependency
|
70
75
|
name: rack-test
|
71
76
|
requirement: !ruby/object:Gem::Requirement
|
77
|
+
none: false
|
72
78
|
requirements:
|
73
79
|
- - ! '>='
|
74
80
|
- !ruby/object:Gem::Version
|
@@ -76,6 +82,7 @@ dependencies:
|
|
76
82
|
type: :runtime
|
77
83
|
prerelease: false
|
78
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
none: false
|
79
86
|
requirements:
|
80
87
|
- - ! '>='
|
81
88
|
- !ruby/object:Gem::Version
|
@@ -83,6 +90,7 @@ dependencies:
|
|
83
90
|
- !ruby/object:Gem::Dependency
|
84
91
|
name: sinatra
|
85
92
|
requirement: !ruby/object:Gem::Requirement
|
93
|
+
none: false
|
86
94
|
requirements:
|
87
95
|
- - ! '>='
|
88
96
|
- !ruby/object:Gem::Version
|
@@ -90,6 +98,7 @@ dependencies:
|
|
90
98
|
type: :runtime
|
91
99
|
prerelease: false
|
92
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
|
+
none: false
|
93
102
|
requirements:
|
94
103
|
- - ! '>='
|
95
104
|
- !ruby/object:Gem::Version
|
@@ -97,6 +106,7 @@ dependencies:
|
|
97
106
|
- !ruby/object:Gem::Dependency
|
98
107
|
name: tilt
|
99
108
|
requirement: !ruby/object:Gem::Requirement
|
109
|
+
none: false
|
100
110
|
requirements:
|
101
111
|
- - ! '>='
|
102
112
|
- !ruby/object:Gem::Version
|
@@ -104,6 +114,7 @@ dependencies:
|
|
104
114
|
type: :runtime
|
105
115
|
prerelease: false
|
106
116
|
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
none: false
|
107
118
|
requirements:
|
108
119
|
- - ! '>='
|
109
120
|
- !ruby/object:Gem::Version
|
@@ -111,6 +122,7 @@ dependencies:
|
|
111
122
|
- !ruby/object:Gem::Dependency
|
112
123
|
name: coffee-script
|
113
124
|
requirement: !ruby/object:Gem::Requirement
|
125
|
+
none: false
|
114
126
|
requirements:
|
115
127
|
- - ! '>='
|
116
128
|
- !ruby/object:Gem::Version
|
@@ -118,6 +130,7 @@ dependencies:
|
|
118
130
|
type: :development
|
119
131
|
prerelease: false
|
120
132
|
version_requirements: !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
121
134
|
requirements:
|
122
135
|
- - ! '>='
|
123
136
|
- !ruby/object:Gem::Version
|
@@ -125,6 +138,7 @@ dependencies:
|
|
125
138
|
- !ruby/object:Gem::Dependency
|
126
139
|
name: contest
|
127
140
|
requirement: !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
128
142
|
requirements:
|
129
143
|
- - ! '>='
|
130
144
|
- !ruby/object:Gem::Version
|
@@ -132,6 +146,7 @@ dependencies:
|
|
132
146
|
type: :development
|
133
147
|
prerelease: false
|
134
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
none: false
|
135
150
|
requirements:
|
136
151
|
- - ! '>='
|
137
152
|
- !ruby/object:Gem::Version
|
@@ -139,6 +154,7 @@ dependencies:
|
|
139
154
|
- !ruby/object:Gem::Dependency
|
140
155
|
name: haml
|
141
156
|
requirement: !ruby/object:Gem::Requirement
|
157
|
+
none: false
|
142
158
|
requirements:
|
143
159
|
- - ! '>='
|
144
160
|
- !ruby/object:Gem::Version
|
@@ -146,6 +162,7 @@ dependencies:
|
|
146
162
|
type: :development
|
147
163
|
prerelease: false
|
148
164
|
version_requirements: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
149
166
|
requirements:
|
150
167
|
- - ! '>='
|
151
168
|
- !ruby/object:Gem::Version
|
@@ -153,6 +170,7 @@ dependencies:
|
|
153
170
|
- !ruby/object:Gem::Dependency
|
154
171
|
name: less
|
155
172
|
requirement: !ruby/object:Gem::Requirement
|
173
|
+
none: false
|
156
174
|
requirements:
|
157
175
|
- - ! '>='
|
158
176
|
- !ruby/object:Gem::Version
|
@@ -160,6 +178,7 @@ dependencies:
|
|
160
178
|
type: :development
|
161
179
|
prerelease: false
|
162
180
|
version_requirements: !ruby/object:Gem::Requirement
|
181
|
+
none: false
|
163
182
|
requirements:
|
164
183
|
- - ! '>='
|
165
184
|
- !ruby/object:Gem::Version
|
@@ -167,6 +186,7 @@ dependencies:
|
|
167
186
|
- !ruby/object:Gem::Dependency
|
168
187
|
name: sass
|
169
188
|
requirement: !ruby/object:Gem::Requirement
|
189
|
+
none: false
|
170
190
|
requirements:
|
171
191
|
- - ! '>='
|
172
192
|
- !ruby/object:Gem::Version
|
@@ -174,6 +194,7 @@ dependencies:
|
|
174
194
|
type: :development
|
175
195
|
prerelease: false
|
176
196
|
version_requirements: !ruby/object:Gem::Requirement
|
197
|
+
none: false
|
177
198
|
requirements:
|
178
199
|
- - ! '>='
|
179
200
|
- !ruby/object:Gem::Version
|
@@ -181,6 +202,7 @@ dependencies:
|
|
181
202
|
- !ruby/object:Gem::Dependency
|
182
203
|
name: stylus
|
183
204
|
requirement: !ruby/object:Gem::Requirement
|
205
|
+
none: false
|
184
206
|
requirements:
|
185
207
|
- - ! '>='
|
186
208
|
- !ruby/object:Gem::Version
|
@@ -188,6 +210,7 @@ dependencies:
|
|
188
210
|
type: :development
|
189
211
|
prerelease: false
|
190
212
|
version_requirements: !ruby/object:Gem::Requirement
|
213
|
+
none: false
|
191
214
|
requirements:
|
192
215
|
- - ! '>='
|
193
216
|
- !ruby/object:Gem::Version
|
@@ -195,6 +218,7 @@ dependencies:
|
|
195
218
|
- !ruby/object:Gem::Dependency
|
196
219
|
name: uglifier
|
197
220
|
requirement: !ruby/object:Gem::Requirement
|
221
|
+
none: false
|
198
222
|
requirements:
|
199
223
|
- - ! '>='
|
200
224
|
- !ruby/object:Gem::Version
|
@@ -202,6 +226,7 @@ dependencies:
|
|
202
226
|
type: :development
|
203
227
|
prerelease: false
|
204
228
|
version_requirements: !ruby/object:Gem::Requirement
|
229
|
+
none: false
|
205
230
|
requirements:
|
206
231
|
- - ! '>='
|
207
232
|
- !ruby/object:Gem::Version
|
@@ -209,6 +234,7 @@ dependencies:
|
|
209
234
|
- !ruby/object:Gem::Dependency
|
210
235
|
name: yui-compressor
|
211
236
|
requirement: !ruby/object:Gem::Requirement
|
237
|
+
none: false
|
212
238
|
requirements:
|
213
239
|
- - ! '>='
|
214
240
|
- !ruby/object:Gem::Version
|
@@ -216,6 +242,7 @@ dependencies:
|
|
216
242
|
type: :development
|
217
243
|
prerelease: false
|
218
244
|
version_requirements: !ruby/object:Gem::Requirement
|
245
|
+
none: false
|
219
246
|
requirements:
|
220
247
|
- - ! '>='
|
221
248
|
- !ruby/object:Gem::Version
|
@@ -223,6 +250,7 @@ dependencies:
|
|
223
250
|
- !ruby/object:Gem::Dependency
|
224
251
|
name: rake
|
225
252
|
requirement: !ruby/object:Gem::Requirement
|
253
|
+
none: false
|
226
254
|
requirements:
|
227
255
|
- - ! '>='
|
228
256
|
- !ruby/object:Gem::Version
|
@@ -230,6 +258,7 @@ dependencies:
|
|
230
258
|
type: :development
|
231
259
|
prerelease: false
|
232
260
|
version_requirements: !ruby/object:Gem::Requirement
|
261
|
+
none: false
|
233
262
|
requirements:
|
234
263
|
- - ! '>='
|
235
264
|
- !ruby/object:Gem::Version
|
@@ -237,6 +266,7 @@ dependencies:
|
|
237
266
|
- !ruby/object:Gem::Dependency
|
238
267
|
name: mocha
|
239
268
|
requirement: !ruby/object:Gem::Requirement
|
269
|
+
none: false
|
240
270
|
requirements:
|
241
271
|
- - ! '>='
|
242
272
|
- !ruby/object:Gem::Version
|
@@ -244,6 +274,23 @@ dependencies:
|
|
244
274
|
type: :development
|
245
275
|
prerelease: false
|
246
276
|
version_requirements: !ruby/object:Gem::Requirement
|
277
|
+
none: false
|
278
|
+
requirements:
|
279
|
+
- - ! '>='
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: '0'
|
282
|
+
- !ruby/object:Gem::Dependency
|
283
|
+
name: gem-release
|
284
|
+
requirement: !ruby/object:Gem::Requirement
|
285
|
+
none: false
|
286
|
+
requirements:
|
287
|
+
- - ! '>='
|
288
|
+
- !ruby/object:Gem::Version
|
289
|
+
version: '0'
|
290
|
+
type: :development
|
291
|
+
prerelease: false
|
292
|
+
version_requirements: !ruby/object:Gem::Requirement
|
293
|
+
none: false
|
247
294
|
requirements:
|
248
295
|
- - ! '>='
|
249
296
|
- !ruby/object:Gem::Version
|
@@ -373,6 +420,7 @@ files:
|
|
373
420
|
- test/simplejs_test.rb
|
374
421
|
- test/sqwish_test.rb
|
375
422
|
- test/stylus_test.rb
|
423
|
+
- test/subpath_test.rb
|
376
424
|
- test/template_cache_test.rb
|
377
425
|
- test/test_helper.rb
|
378
426
|
- test/tilt_test.rb
|
@@ -381,25 +429,26 @@ files:
|
|
381
429
|
- test/yui_test.rb
|
382
430
|
homepage: http://github.com/rstacruz/sinatra-assetpack
|
383
431
|
licenses: []
|
384
|
-
metadata: {}
|
385
432
|
post_install_message:
|
386
433
|
rdoc_options: []
|
387
434
|
require_paths:
|
388
435
|
- lib
|
389
436
|
required_ruby_version: !ruby/object:Gem::Requirement
|
437
|
+
none: false
|
390
438
|
requirements:
|
391
439
|
- - ! '>='
|
392
440
|
- !ruby/object:Gem::Version
|
393
441
|
version: '0'
|
394
442
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
443
|
+
none: false
|
395
444
|
requirements:
|
396
445
|
- - ! '>='
|
397
446
|
- !ruby/object:Gem::Version
|
398
447
|
version: '0'
|
399
448
|
requirements: []
|
400
449
|
rubyforge_project:
|
401
|
-
rubygems_version:
|
450
|
+
rubygems_version: 1.8.25
|
402
451
|
signing_key:
|
403
|
-
specification_version:
|
452
|
+
specification_version: 3
|
404
453
|
summary: Asset packager for Sinatra.
|
405
454
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
MDRhYTE2ZjQ4MGY5MGJhYmY0Yzk4MTBkM2NjN2JkZmQ1MTU5OWUyNg==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
MmYyOTkxOGViYmM2NjkzMzQ1Y2FhYzg1NGE3ODQ1NTliZTJhZjgwZg==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZjllMTAxYzA2MTg3ODMwZjE4MzBkNGYyMmY5ZGE1NzRkMDQ4ZGQ0NWRiNmQx
|
10
|
-
ZDhkN2FmYTQ1Njk4MDE3NmRjZjQ2NjgzZjU0NTUyNGZlZWFkMjU2ZWU0ZWQ1
|
11
|
-
NmNjMzA5OTlkYTU1ZmMzZDllNDk0YjQzN2RlNjhlYWUyNmY1OWI=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
MjYxYTAxYTkzZDZhNzcxMDYzNTk5M2ZjODk2YzI5Y2ZmYTk5MDcxOGVmNGY4
|
14
|
-
MjViNmM3MzRkYzY4M2RmNzM2MDAyMjJlN2M1NDNiMTZkMWNjMWI4ODAwMmQ4
|
15
|
-
ZWY3NjNlYWJmNDM3MmVlYzQ4OTkwOGQyZTUxOGM5M2ZjNjg5MzQ=
|
checksums.yaml.gz.sig
DELETED