jasmine-rails 0.12.3 → 0.12.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jasmine_rails/offline_asset_paths.rb +2 -2
- 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: e4d33d09fdec808e6f233a7f1637140fb2074ef6
|
4
|
+
data.tar.gz: aa888f9f3a494f5eb06bec2910b58b47fc901a34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc689125c50b6ce6769ecac1e1ddf38c3573ecd07879ae92e5ad51e2c571370f1e4334cca8f91a98b9562a148c08fb31b33302b6c145a7ada4cda54d68de545f
|
7
|
+
data.tar.gz: 28ba53afe3708c3de9b86caf250ad6d0aca20bbfd69240007c27d7ff76f2ba6f0ff0478d7d89151125db772dda9d0ce24b6cf522984f018299ff2dfa896ee163
|
@@ -7,7 +7,7 @@ module JasmineRails
|
|
7
7
|
mattr_accessor :disabled
|
8
8
|
extend ActiveSupport::Concern
|
9
9
|
included do
|
10
|
-
if ::Rails::VERSION::MAJOR
|
10
|
+
if ::Rails::VERSION::MAJOR >= 4
|
11
11
|
alias_method :compute_public_path, :compute_asset_path
|
12
12
|
alias_method :compute_asset_path_with_offline_asset, :compute_public_path_with_offline_asset
|
13
13
|
alias_method_chain :compute_asset_path, :offline_asset
|
@@ -27,7 +27,7 @@ module JasmineRails
|
|
27
27
|
FileUtils.mkdir_p File.dirname(source_path)
|
28
28
|
Rails.logger.debug "Compiling #{source} to #{source_path}"
|
29
29
|
File.open(source_path, 'wb') do |f|
|
30
|
-
if Rails::VERSION::MAJOR
|
30
|
+
if Rails::VERSION::MAJOR >= 4 && !Rails.env.test? && source == 'jasmine-specs.js'
|
31
31
|
f << ''
|
32
32
|
else
|
33
33
|
f << content
|
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.12.
|
4
|
+
version: 0.12.4
|
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: 2016-
|
13
|
+
date: 2016-04-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|