bower-rails 0.9.0 → 0.9.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: 065bcccfc41af7421a73a3dbc925806269a0c1e3
4
- data.tar.gz: a2b254f45c3532b226c226a446abb73ca95afd63
3
+ metadata.gz: 0220c436b253b7850eaefad8caa2438a5bed8774
4
+ data.tar.gz: b20161524154fd2a49df5319e9f4dc7ccd61cf82
5
5
  SHA512:
6
- metadata.gz: dc683b0bd9d8094ad23bb3328a60335bca99d1ff58568817bb9b76b485c4a485efb05e45d7ce7330bea94515aca55d1f784c467a6a0d136b51e690bcb8b7706b
7
- data.tar.gz: 2be8d8141f6c6b4c1682051ea80216cb36ea954ee63d71033236448e9628294e4b2b654acba6535c579b05261c7cd7b1bf8735bd43c6a3893b6960b9fce7a446
6
+ metadata.gz: 9f9ad7150d2cbe447f9f4a7d1491f63f01f87c320fb1a965e37862891979017593a1bc3a61ea36760c3c59a89eeeccac110b583c44d2204563afeaa6b85d6b6e
7
+ data.tar.gz: 939b9231d2ed88570ef2cce6952907c91d7903742c1cc1cb1a0dbcc1b374baaf581771712cafa5bc4080a753cd2315c14c8310f0238201bbae12848e17b7b849
data/README.md CHANGED
@@ -28,7 +28,7 @@ Check out [changelog][] for the latest changes and releases.
28
28
  in Gemfile
29
29
 
30
30
  ``` Ruby
31
- gem "bower-rails", "~> 0.8.3"
31
+ gem "bower-rails", "~> 0.9.1"
32
32
  ```
33
33
 
34
34
  ##JSON configuration
@@ -179,7 +179,7 @@ That will produce `bower.json` like:
179
179
  }
180
180
  ```
181
181
 
182
- [#bower resolution]: http://jaketrent.com/post/bower-resolutions/
182
+ [bower resolution]: http://jaketrent.com/post/bower-resolutions/
183
183
 
184
184
  ##Configuration
185
185
 
@@ -228,6 +228,7 @@ Once you are done with `bower.json` or `Bowerfile` you can run
228
228
  * `rake bower:list` to list all packages
229
229
  * `rake bower:clean` to remove all files not listed as [main files](#bower-main-files) (if specified)
230
230
  * `rake bower:resolve` to resolve [relative asset paths](#relative-asset-paths) in components
231
+ * `rake bower:cache:clean` to clear the bower cache. This is useful when you know a component has been updated.
231
232
 
232
233
  If you'd like to pass any bower CLI options to a rake task, like `-f`, `-j`, you can simply do:
233
234
 
@@ -1,4 +1,4 @@
1
1
  # -*- encoding : utf-8 -*-
2
2
  module BowerRails
3
- VERSION = "0.9.0"
4
- end
3
+ VERSION = "0.9.1"
4
+ end
@@ -77,6 +77,15 @@ namespace :bower do
77
77
  remove_extra_files
78
78
  end
79
79
  end
80
+
81
+ namespace :cache do
82
+ desc "Clear the bower cache ('bower cache clean')"
83
+ task :clean do
84
+ BowerRails::Performer.perform false do |bower|
85
+ sh "#{bower} cache clean"
86
+ end
87
+ end
88
+ end
80
89
  end
81
90
 
82
91
  before_rake_task 'assets:precompile' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bower-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Harrison