bowerify 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/bowerify/assets_processor.rb +1 -1
- data/lib/bowerify/railtie.rb +1 -1
- data/lib/bowerify/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2b440dbb2d2ba54b23b74a07537a451a94ad7e1
|
4
|
+
data.tar.gz: b0391eb9848062cd50b29299545f96fb2c151974
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7049a0831f6d0631b291a874f00d80c034ce3ce4258c8256a45e751f2cf8607f54f2b8b387a53fcb7d14d74ff2dc20697d9f07a886f9f0827ee640f18274b5
|
7
|
+
data.tar.gz: 5d3aca67b2a103de7810dd532968d239b9997aba1505491554479adaa972b5278008957fa476e491ab303e6d6952efdb078576ea65395b0853ff93c078e0145a
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
*.gem
|
@@ -1,5 +1,5 @@
|
|
1
1
|
class Bowerify::AssetsProcessor < Sprockets::Processor
|
2
|
-
CSS_URL_RE = /(url\(('|"|))((.+?)\.(gif|png|jpg|jpeg|ttf|svg|woff|eot))(.*?\2\))/
|
2
|
+
CSS_URL_RE = /(url\(('|"|))((.+?)\.(gif|png|jpg|jpeg|ttf|svg|woff|woff2|eot))(.*?\2\))/
|
3
3
|
|
4
4
|
def evaluate(context, locals={})
|
5
5
|
if bower_component?(context.pathname)
|
data/lib/bowerify/railtie.rb
CHANGED
@@ -15,7 +15,7 @@ module Bowerify
|
|
15
15
|
config.after_initialize do |app|
|
16
16
|
app.config.assets.paths += Array(app.config.bower_components_path)
|
17
17
|
|
18
|
-
%w[png gif jpg jpeg ttf svg eot woff].each do |ext|
|
18
|
+
%w[png gif jpg jpeg ttf svg eot woff woff2].each do |ext|
|
19
19
|
Array(app.config.bower_components_path).each do |bower_path|
|
20
20
|
config.assets.precompile += Dir.glob("#{bower_path}/**/*.#{ext}")
|
21
21
|
end
|
data/lib/bowerify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bowerify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nikolay Nemshilov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets
|
@@ -31,6 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
+
- ".gitignore"
|
34
35
|
- README.md
|
35
36
|
- bowerify.gemspec
|
36
37
|
- lib/bowerify.rb
|
@@ -57,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
57
58
|
version: '0'
|
58
59
|
requirements: []
|
59
60
|
rubyforge_project:
|
60
|
-
rubygems_version: 2.
|
61
|
+
rubygems_version: 2.4.5
|
61
62
|
signing_key:
|
62
63
|
specification_version: 4
|
63
64
|
summary: Bower components handler for sprockets and rails
|