sinatra-asset-pipeline 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/sinatra/asset_pipeline.rb +5 -5
- data/lib/sinatra/asset_pipeline/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDNiMDhiMTBiMGRkYWUwNzQ1MDM2NDA5NjFlMDdiYTY1N2E2MGQzZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWY1ODg2N2RhZDVlZmYyMTQ3ZGZhMzhmMzdlYTdkNWNjOGI5Y2FhNw==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MjA2ODI5NDlhYWY1N2MwMTZjOWJhMDdhYWFjODJiNjgwZmQ5YjBjNTc5Zjlm
|
10
|
+
ZTE5YjA3MTc2MWY0NWZjNGVhZWU5ODE4YmQyNWY0OWZmMDEzNjRjOGJmMDM1
|
11
|
+
ZmIyMTczZDI4OGZkNzcwZDZlNDQ3ZjI1Mjg3OWEzMmFkNDNlMDA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NzJiZWQwMDAwMWI5NjYzN2Q4ZjYwN2FkMTU1MTIzODRiMTUwM2QwOTE3NGZm
|
14
|
+
NDdlNDk5ODM0ZTBmM2FkNTIwMTlkNjU5MTA1ZjRiNThmYTI1ZDUxYzA3YTlk
|
15
|
+
NDYzNTU5NzI5OTllMTk3Nzc3NGMxNjdmN2RkOTJmNDNkMTQ1OGI=
|
@@ -21,21 +21,21 @@ module Sinatra
|
|
21
21
|
|
22
22
|
Sprockets::Helpers.configure do |config|
|
23
23
|
config.environment = app.sprockets
|
24
|
-
config.digest =
|
24
|
+
config.digest = app.assets_digest
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
28
|
app.configure :staging, :production do
|
29
29
|
Sprockets::Helpers.configure do |config|
|
30
|
-
config.manifest = Sprockets::Manifest.new(app.sprockets,
|
30
|
+
config.manifest = Sprockets::Manifest.new(app.sprockets, app.assets_path)
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
34
|
app.configure :production do
|
35
35
|
Sprockets::Sass.options[:style] = :compressed
|
36
36
|
Sprockets::Helpers.configure do |config|
|
37
|
-
config.protocol =
|
38
|
-
config.asset_host =
|
37
|
+
config.protocol = app.assets_protocol
|
38
|
+
config.asset_host = app.assets_host if app.respond_to? :assets_host
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
@@ -52,7 +52,7 @@ module Sinatra
|
|
52
52
|
end
|
53
53
|
|
54
54
|
def set_default(key, default)
|
55
|
-
self.set(key, default) unless
|
55
|
+
self.set(key, default) unless self.respond_to? key
|
56
56
|
end
|
57
57
|
end
|
58
58
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sinatra-asset-pipeline
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joakim Ekberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-03-
|
11
|
+
date: 2013-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|