forked from railsbridge/bridge_troll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bower-rails instead of rails-assets
rails-assets.org is currently down and its future is somewhat questionable :'( The main downside is you now have to run `rake bower:install` at some point in addition to the regular `bundle install`
- Loading branch information
1 parent
c57b959
commit 03a01bc
Showing
11 changed files
with
65 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,3 +38,7 @@ custom_plan.rb | |
|
||
# Byebug | ||
.byebug_history | ||
|
||
# bower-rails | ||
vendor/assets/bower_components | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name" : "bridge troll", | ||
"dependencies": { | ||
"DataTables": "1.10.10", | ||
"select2": "4.0.1" | ||
}, | ||
"devDependencies": { | ||
"sinonjs": "1.17.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
BowerRails.configure do |bower_rails| | ||
# Tell bower-rails what path should be considered as root. Defaults to Dir.pwd | ||
# bower_rails.root_path = Dir.pwd | ||
|
||
# Invokes rake bower:install before precompilation. Defaults to false | ||
bower_rails.install_before_precompile = Rails.env.production? | ||
|
||
# Invokes rake bower:resolve before precompilation. Defaults to false | ||
# bower_rails.resolve_before_precompile = true | ||
|
||
# Invokes rake bower:clean before precompilation. Defaults to false | ||
# bower_rails.clean_before_precompile = true | ||
|
||
# Invokes rake bower:install:deployment instead rake bower:install. Defaults to false | ||
# bower_rails.use_bower_install_deployment = true | ||
# | ||
# Invokes rake bower:install and rake bower:install:deployment with -F (force) flag. Defaults to false | ||
# bower_rails.force_install = true | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"//": "This package.json currently only exists so Bower will be installed on Heroku", | ||
"name": "bridge_troll", | ||
"version": "0.0.0", | ||
"dependencies": { | ||
"bower": "^1.7.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters