jasmine-rails 0.14.2 → 0.14.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/jasmine_rails/offline_asset_paths.rb +3 -3
- data/lib/jasmine_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4986db14d37962d5b8f9a13a4d41ea1d3442cc2
|
|
4
|
+
data.tar.gz: 3b97893169df62abcf34dc95e8d61cd93f6d709e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f1e8b386fdaf43a5808140e601ac05ae9a1a5f438136db05df5bc1957dc0c11207a01cc99ba01805324969e0934f7641ac077b883d60e0290d8bf65ffdcd820
|
|
7
|
+
data.tar.gz: d0298b85ee372815c57e438985a427aafa5192022ec0f3ae87ea41fd2f49345d53d90297072aaadf4bf5d78244590b940497e83a57d4664a3fde212f8550eb3b
|
|
@@ -6,7 +6,7 @@ module JasmineRails
|
|
|
6
6
|
module OfflineAssetPaths
|
|
7
7
|
mattr_accessor :disabled
|
|
8
8
|
|
|
9
|
-
def compute_asset_path(source,
|
|
9
|
+
def compute_asset_path(source, options={})
|
|
10
10
|
return super if JasmineRails::OfflineAssetPaths.disabled
|
|
11
11
|
source = source.to_s
|
|
12
12
|
return source if source.empty? || source.starts_with?('/')
|
|
@@ -27,8 +27,8 @@ module JasmineRails
|
|
|
27
27
|
end
|
|
28
28
|
|
|
29
29
|
# For Rails 3.2 support
|
|
30
|
-
def compute_public_path(
|
|
31
|
-
JasmineRails::OfflineAssetPaths.disabled ? super : compute_asset_path(
|
|
30
|
+
def compute_public_path(source, dir, options={})
|
|
31
|
+
JasmineRails::OfflineAssetPaths.disabled ? super : compute_asset_path(source, options)
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jasmine-rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.14.
|
|
4
|
+
version: 0.14.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Searls
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-09-
|
|
13
|
+
date: 2017-09-27 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: railties
|