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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTQ5NTcyZjc4ZWE0YWM1YTQ0NjE0OTFiNTVhMTJhYWFhYWNhY2QxYQ==
4
+ ZDNiMDhiMTBiMGRkYWUwNzQ1MDM2NDA5NjFlMDdiYTY1N2E2MGQzZQ==
5
5
  data.tar.gz: !binary |-
6
- NTVkNTQ2YWI3YTJjZWNiMjJmNTBlZGYwMGVlYWZlMGZiZGNmMDY1MQ==
6
+ MWY1ODg2N2RhZDVlZmYyMTQ3ZGZhMzhmMzdlYTdkNWNjOGI5Y2FhNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ODkwZDY1ZjhkNWZjY2NlZTI0NDc0Y2E3ZDAzMzFiMDU5NGViMGQzMjhlNWMw
10
- ODM0YmYwZTYzODAyM2IyNTFmZGMwN2Y0MjVjMzcyZWY1YWJhZjgzMzY2NzVj
11
- NmZmN2NiYWVlM2IzOTE2YTE2MjIzYzJlNjMyNWJkZDQ1Y2MyMmY=
9
+ MjA2ODI5NDlhYWY1N2MwMTZjOWJhMDdhYWFjODJiNjgwZmQ5YjBjNTc5Zjlm
10
+ ZTE5YjA3MTc2MWY0NWZjNGVhZWU5ODE4YmQyNWY0OWZmMDEzNjRjOGJmMDM1
11
+ ZmIyMTczZDI4OGZkNzcwZDZlNDQ3ZjI1Mjg3OWEzMmFkNDNlMDA=
12
12
  data.tar.gz: !binary |-
13
- OGY1ZWMzNjMzZTI4MjMwM2RmN2MzMzhmNTBhNWEyNTJkMjZkNDVjMGQ5OTNj
14
- OTc3Y2YxYjhkM2U3YWY2YTM0ZWFhYTgyNGZhZmQ1OGQ1MDg4OWEwN2VhYTYz
15
- NzgxY2FlZmFhNTAzNmZiMjAyOTdhYmEwM2Y1ODBjNGQyYzZiNjQ=
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 = App.assets_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, App.assets_path)
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 = App.assets_protocol
38
- config.asset_host = App.assets_host if App.respond_to? :assets_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 App.respond_to? key
55
+ self.set(key, default) unless self.respond_to? key
56
56
  end
57
57
  end
58
58
  end
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module AssetPipeline
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  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.2
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-30 00:00:00.000000000 Z
11
+ date: 2013-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake