alphasights-sinatra-sprockets 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,7 +18,7 @@ module Sinatra
18
18
  def image_tag(source, options = {})
19
19
  digest = options.key?(:digest) ? options.delete(:digest) : config.digest_assets?
20
20
 
21
- options[:src] = asset_path(source, digest: digest)
21
+ options[:src] = asset_path(source, :digest => digest)
22
22
 
23
23
  if size = options.delete(:size)
24
24
  options[:width], options[:height] = size.split("x") if size =~ %r{^\d+x\d+$}
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Sprockets
3
- VERSION = "0.0.5"
3
+ VERSION = "0.0.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alphasights-sinatra-sprockets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
16
- requirement: &70321319797480 !ruby/object:Gem::Requirement
16
+ requirement: &70110539149240 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '2.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70321319797480
24
+ version_requirements: *70110539149240
25
25
  description: Use Sprockets effectively with Sinatra.
26
26
  email:
27
27
  - jessereiss@gmail.com