sprockets-rails 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c065fbbdd79c8ce91d08e399d1345ca6f202e030
4
- data.tar.gz: 5f59dc4ed337bdf638dce7d4fa6d6709ef1625b2
3
+ metadata.gz: f8c96d4f4c8b770bf039af77568aab992f8a95fa
4
+ data.tar.gz: 3591bb727f75ddd09a2a86e514f3d4c15a8274af
5
5
  SHA512:
6
- metadata.gz: eabf0cb7ae915d74edc2585af5498de209ac5becb2252ae6293ce238908e8184ae7da1d375b5ccf7cf68dbb52a08a24a58a65d991866681d8e780fa79665290a
7
- data.tar.gz: fa09448010b99ee381aac9f842e10d187c638cea2c46e5f3038ae655bc97bb26eab5d0e6b5eeee02f24ba19203c3e7345c8deb85c74bbedb1094318ebc33afd3
6
+ metadata.gz: cee437715999af262b0693d2f91ecf2bf05ff3f7bcdccfb6ad8b473b8025c7744dc2d6c55f05460224b48ee476018e0ad030ad9d3563b5c987f31593ddc15d27
7
+ data.tar.gz: b8f35da389be7e927f1fd5961435b6c74a184f1b8bb2c4e1420cd391708ca0a7dc067eeb0daac74855a3aaf0c81f939b92faccd5151ffdffe55879ad688aef15
@@ -4,7 +4,7 @@ module Sprockets
4
4
  module Rails
5
5
  module Utils
6
6
  def using_sprockets4?
7
- Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.0.0')
7
+ Gem::Version.new(Sprockets::VERSION) >= Gem::Version.new('4.x')
8
8
  end
9
9
  end
10
10
  end
@@ -1,5 +1,5 @@
1
1
  module Sprockets
2
2
  module Rails
3
- VERSION = "3.0.1"
3
+ VERSION = "3.0.2"
4
4
  end
5
5
  end
@@ -60,7 +60,7 @@ module Sprockets
60
60
 
61
61
  LOOSE_APP_ASSETS = lambda do |logical_path, filename|
62
62
  filename.start_with?(::Rails.root.join("app/assets").to_s) &&
63
- !%w(.js .css).include?(File.extname(logical_path))
63
+ !['.js', '.css', ''].include?(File.extname(logical_path))
64
64
  end
65
65
 
66
66
  class OrderedOptions < ActiveSupport::OrderedOptions
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprockets-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joshua Peek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-28 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sprockets