sprockets-helpers 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/sprockets/helpers.rb +1 -1
- data/lib/sprockets/helpers/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '0838e5ed735cd746308cf0db95cfcfe1482e25a36f780a10c7b6e8ba50d06e6c'
|
4
|
+
data.tar.gz: 43758cc7e1685f2b8a5fe73c10240380049e71d420ae5c83870d4a97a00f5c4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32c65d761bc0c663bde08c12c9d602ca17d07725660801eb5ebce3301112b1a50b49b0446fb538e1112b08d76307ed3623c3b481582d89ed12bd8e368d33dfd8
|
7
|
+
data.tar.gz: bc111c3ddf0481acc15f72e8c4dd2287b7d7a34ee23f56a318873dfee0db6d3a35781d69fa16e3a5c0b1cc023af0f4f93a7c9b94c6d12ead1cad4d8e0217e3b8
|
data/lib/sprockets/helpers.rb
CHANGED
@@ -169,7 +169,7 @@ module Sprockets
|
|
169
169
|
def javascript_tag(source, options = {})
|
170
170
|
options = Helpers.default_path_options[:javascript_path].merge(options)
|
171
171
|
asset_tag(source, options) do |path|
|
172
|
-
%Q(<script src="#{path}"></script>)
|
172
|
+
%Q(<script src="#{path}" type="text/javascript"></script>)
|
173
173
|
end
|
174
174
|
end
|
175
175
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pete Browne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -151,8 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
153
|
requirements: []
|
154
|
-
|
155
|
-
rubygems_version: 2.2.2
|
154
|
+
rubygems_version: 3.0.1
|
156
155
|
signing_key:
|
157
156
|
specification_version: 4
|
158
157
|
summary: Asset path helpers for Sprockets 2.x & 3.x applications
|