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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddb2bff8a18c29320ed3358725922f7c8067b157
4
- data.tar.gz: c0a9b09296af0a8e93548025fa8f4cc730e11c9b
3
+ metadata.gz: f2b440dbb2d2ba54b23b74a07537a451a94ad7e1
4
+ data.tar.gz: b0391eb9848062cd50b29299545f96fb2c151974
5
5
  SHA512:
6
- metadata.gz: a437cac64117b488cf80a083b5596425e66d585181306f19a9e4d10c4c366a07e05f72ec8195ea123b7667e38fe09f9c0785f7cb2a6e0253266fd00dcccb2d27
7
- data.tar.gz: a6725a52d7f0c6f483397dca2552742b0608b944830fc38625ab2a628face6c81a600bc9eb15ecadd21f524940762b4532f3f8f66161634cc9b0adfb436b72e7
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)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Bowerify
2
- VERSION = '1.1.0'
2
+ VERSION = '1.1.1'
3
3
  end
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.0
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: 2014-08-13 00:00:00.000000000 Z
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.2.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