jasmine-rails 0.10.0 → 0.10.1
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 +1 -1
- 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: b72e8c4c3deb71a998bc704c9fe8647db9bf6d2a
|
4
|
+
data.tar.gz: 609bbf62544ef6bfca88dff7f247400b06b8caf0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2eac7db7d8b0bb5a80eed06129520f54a2d1b5382e57d7c1c6d00aa39e4d2200cc8ff45e68dadb1fa72b0aaf9eb5d63c83a4d82807f9209a1d65fa92dc5d03f
|
7
|
+
data.tar.gz: 3c410e73fdc91d468b440b265fd11df3a5044cd431ad027fe21d27fbf9280e08437e310656417801dde7c4d4f557d93051e7e928c16b9a3679669d15e76e33c6
|
@@ -19,7 +19,7 @@ module JasmineRails
|
|
19
19
|
def compute_public_path_with_offline_asset(source, dir, options={})
|
20
20
|
return compute_public_path_without_offline_asset(source, dir, options) if JasmineRails::OfflineAssetPaths.disabled
|
21
21
|
source = source.to_s
|
22
|
-
return source if source.starts_with?('/')
|
22
|
+
return source if source.empty? || source.starts_with?('/')
|
23
23
|
content = Rails.application.assets[source].to_s
|
24
24
|
asset_prefix = Rails.configuration.assets.prefix.gsub(/\A\//,'')
|
25
25
|
source_path = JasmineRails.tmp_dir.join(asset_prefix).join(source)
|
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.10.
|
4
|
+
version: 0.10.1
|
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: 2014-08-
|
13
|
+
date: 2014-08-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|