bower-rails 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,6 +3,13 @@ bower-rails
3
3
 
4
4
  rake tasks for bower on rails. Dependency file is bower.json in Rails root dir.
5
5
 
6
+ **Install**
7
+ in Gemfile
8
+
9
+ ``` Ruby
10
+ gem 'bower-rails'
11
+ ```
12
+
6
13
  **example config file**
7
14
  ``` javascript
8
15
  {
@@ -0,0 +1,3 @@
1
+ module BowerRails
2
+ require 'bower-rails/railtie' if defined?(Rails)
3
+ end
@@ -0,0 +1,11 @@
1
+ require 'bower-rails'
2
+ require 'rails'
3
+ module BowerRails
4
+ class Railtie < Rails::Railtie
5
+ railtie_name :bower-rails
6
+
7
+ rake_tasks do
8
+ load "tasks/bower.rake"
9
+ end
10
+ end
11
+ end
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.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -17,6 +17,8 @@ executables: []
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - lib/bower-rails/railtie.rb
21
+ - lib/bower-rails.rb
20
22
  - lib/tasks/bower.rake
21
23
  - MIT-LICENSE
22
24
  - README.md