alphasights-sinatra-sprockets 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -62,11 +62,11 @@ module Sinatra
62
62
  if debug && asset = asset_paths.asset_for(source, 'js')
63
63
  asset.to_a.map { |dep|
64
64
  src = asset_path(dep, :ext => 'js', :body => true, :digest => digest)
65
- content_tag("script", "", { "type" => "application/javascript", "src" => src }.merge!(options))
65
+ content_tag("script", "", { "type" => "text/javascript", "src" => src }.merge!(options))
66
66
  }
67
67
  else
68
68
  src = asset_path(source, :ext => 'js', :body => body, :digest => digest)
69
- content_tag("script", "", { "type" => "application/javascript", "src" => src }.merge!(options))
69
+ content_tag("script", "", { "type" => "text/javascript", "src" => src }.merge!(options))
70
70
  end
71
71
  end.join("\n")
72
72
  end
@@ -1,5 +1,5 @@
1
1
  module Sinatra
2
2
  module Sprockets
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-19 00:00:00.000000000 Z
12
+ date: 2012-03-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
16
- requirement: &70110539149240 !ruby/object:Gem::Requirement
16
+ requirement: &70276788773740 !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: *70110539149240
24
+ version_requirements: *70276788773740
25
25
  description: Use Sprockets effectively with Sinatra.
26
26
  email:
27
27
  - jessereiss@gmail.com