accio_bower 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +23 -9
  3. data/accio_bower.gemspec +1 -1
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba5068a6787c84d1bba12c7b6b43522cd448b649
4
- data.tar.gz: 2056044222f2a1d91d0fdaf0eb746a290d069d56
3
+ metadata.gz: 96bbbb2ebcca6883ca795476681799ce44d6a6aa
4
+ data.tar.gz: ae92265ab9a03619a8a185a6794f71c10cb486d2
5
5
  SHA512:
6
- metadata.gz: 5bf3c163e67c8c582ec525064072814a41c0412191aede4e09ee4640e5076998a46a68a5dbcb8d272e13c0370ea8a9f633905d80ff7a34f2eca0af0cbe5cba3e
7
- data.tar.gz: ba7c836c800baedf217d847e3bd25ededdf60dd233d6365c4683de6a151d58d293cfe68b9fcd6d24f61bf38e6464e1fa0b5d2dda81fb2163b0a54000fa852d6a
6
+ metadata.gz: b8b9e30d1549bfbcdfc2c4f88924d1c1bdd7464b1d8ec3b1cb00dac81586aea01eba9b29733ee15760f5b613f2db73c30bb843e3ae14e6f4675986fd2fc79372
7
+ data.tar.gz: fccbdc50330845dd1f09012f87544fc054b1ffddaddbddef38cb10549f522238e05414b9f847f1a27e2decf72109b145b4347d82a0b88a61977bdbc68089ebc8
data/README.md CHANGED
@@ -1,28 +1,33 @@
1
- # Accio Bower
1
+ # Bower Sprockets for Ruby on Rails
2
2
 
3
- **Bower** asset processor for **Rails 4/5**, supporting ***CSS/JS URL Rewriting*** (images, fonts, etc.), and production ***Hashes/Digests***.
3
+ [![Join the chat at https://gitter.im/binarybabel/Latestver](https://badges.gitter.im/binarybabel/gem-accio_bower.svg)](https://gitter.im/binarybabel/gem-accio_bower?utm_source=badge&utm_medium=badge&utm_content=badge) [![Gem Version](https://badge.fury.io/rb/accio_bower.svg)](https://badge.fury.io/rb/accio_bower)
4
+
5
+ **Bower** asset processor for **Rails 4/5** Sprockets, featuring:
6
+
7
+ + ***CSS/JS URL Rewriting*** for images, fonts, etc.
8
+ + Support for production ***Hashes/Digests***
4
9
 
5
10
  ## Installation
6
11
 
7
- Add this line to your application's `Gemfile`:
12
+ Add this line to your application's **`Gemfile`**:
8
13
 
9
14
  ```ruby
10
15
  gem 'accio_bower'
11
16
  ```
12
17
 
13
- And this line to a new/existing `.bowerrc` file:
18
+ And this line to a new/existing **`.bowerrc`** file:
14
19
 
15
20
  ```json
16
21
  {"directory": "vendor/assets/bower_components"}
17
22
  ```
18
23
 
19
- If you **DO NOT** yet have a `bower.json` file:
24
+ If you **DO NOT** yet have a **`bower.json`** file:
20
25
 
21
26
  $ bundle install
22
27
  $ bower init # follow instructions
23
- $ bower install --save A-BOWER-PKG-YOU-WANT
28
+ $ bower install --save SOME-BOWER-DEPDENDENCY
24
29
 
25
- If you **ALREADY** have a `bower.json` file:
30
+ If you **ALREADY** have a **`bower.json`** file:
26
31
 
27
32
  $ rm -rf bower_components
28
33
  $ bundle install
@@ -30,14 +35,23 @@ If you **ALREADY** have a `bower.json` file:
30
35
 
31
36
  ### To include CSS/JS files in your application
32
37
 
33
- Require the name of the file under the `vendor/assets/bower_components` path.
38
+ Use the name of the file under the `vendor/assets/bower_components` path.
34
39
 
35
- For example, to include `font-awesome` in `application.css`
40
+ For example, to include `font-awesome` in **`application.css`**:
36
41
 
37
42
  ```
38
43
  *= require 'font-awesome/css/font-awesome.min'
39
44
  ```
40
45
 
46
+ ### You'll still need `$ bower install`
47
+
48
+ This gem does not execute or modify your Bower configuration or components.
49
+
50
+ * Run `$ bower install` whenever you modify **`bower.json`**
51
+ * If you're building in a sandbox, CI, Docker, Heroku, etc.
52
+ * Include `$ bower install; bower prune` in your build-script.
53
+ * Consider saving/restoring `vendor/assets/bower_components` as a build cache.
54
+
41
55
  ## Configuration
42
56
 
43
57
  ### Ruby Initializer
data/accio_bower.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  end
25
25
 
26
26
  spec.files += ['version.lock']
27
- spec.add_runtime_dependency 'versioneer', '~> 0.2'
27
+ spec.add_runtime_dependency 'versioneer'
28
28
 
29
29
  spec.add_runtime_dependency 'rails'
30
30
  spec.add_runtime_dependency 'sprockets'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: accio_bower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BinaryBabel OSS
@@ -14,16 +14,16 @@ dependencies:
14
14
  name: versioneer
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.2'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '0.2'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement