jasmine-rails 0.12.3 → 0.12.4

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: f3eed48bf0dca883324f764ff18ef0c6e01416dc
4
- data.tar.gz: 141d5520e2516c66234ce4b089c43794edd4e4a6
3
+ metadata.gz: e4d33d09fdec808e6f233a7f1637140fb2074ef6
4
+ data.tar.gz: aa888f9f3a494f5eb06bec2910b58b47fc901a34
5
5
  SHA512:
6
- metadata.gz: 4c795863e16121097a44ab5ae5e9f7f0b8ee045ab020bf98542d563c2624d624ac2b912a6fe41746f1a14bfa42c2f5e90a63c0e3b86210245d29bfecf6772232
7
- data.tar.gz: 2622dcb42e53cf4bb4b572c75287d4103d00c5596e667d40afaa8942fa2c723222f3daa1163b47699e1982e55e87a49c3f8ad2c973d2cd9214feeac56af35e1b
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 == 4
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 == 4 && !Rails.env.test? && source == 'jasmine-specs.js'
30
+ if Rails::VERSION::MAJOR >= 4 && !Rails.env.test? && source == 'jasmine-specs.js'
31
31
  f << ''
32
32
  else
33
33
  f << content
@@ -1,3 +1,3 @@
1
1
  module JasmineRails
2
- VERSION = "0.12.3"
2
+ VERSION = "0.12.4"
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.12.3
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-02-17 00:00:00.000000000 Z
13
+ date: 2016-04-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties