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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bb3d0009773d52513eb3f461c924259f7b3de17
4
- data.tar.gz: 3afa1cc359b3e9311513db6bb6c5b6c77bd9ac00
3
+ metadata.gz: b72e8c4c3deb71a998bc704c9fe8647db9bf6d2a
4
+ data.tar.gz: 609bbf62544ef6bfca88dff7f247400b06b8caf0
5
5
  SHA512:
6
- metadata.gz: 7338361f1cd63831da86d7da3ed272345cb4594598c1836250d940173bbc4fe6a7017e8fa9d29e6caf9736cce3a8426c60b896941c6149e08e8a604332b7d4fb
7
- data.tar.gz: be2a4139cf4d24bf418e837b85140eb26b2ab0865bf77670d9d6019c4b99eb48976a766545dfaf3c39b87e27c4e681293ce4ccaa506f74c13f5c7d3d45c18298
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)
@@ -1,3 +1,3 @@
1
1
  module JasmineRails
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  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.10.0
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-04 00:00:00.000000000 Z
13
+ date: 2014-08-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties