You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by al...@apache.org on 2015/08/24 13:41:28 UTC
[02/50] [abbrv] incubator-taverna-databundle-viewer git commit:
Install gem bower-rails for manage front-end assets
Install gem bower-rails for manage front-end assets
Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/commit/ada4898e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/tree/ada4898e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/diff/ada4898e
Branch: refs/heads/master
Commit: ada4898e403b21ca257b6c5703e744c422c004ad
Parents: 126ae07
Author: Denis Karyakin <sa...@gmail.com>
Authored: Mon Aug 3 13:40:18 2015 +0300
Committer: Denis Karyakin <sa...@gmail.com>
Committed: Mon Aug 3 13:40:18 2015 +0300
----------------------------------------------------------------------
.gitignore | 2 ++
GEM_LICENSES.md | 2 ++
Gemfile | 2 ++
Gemfile.lock | 2 ++
config/initializers/bower_rails.rb | 19 +++++++++++++++++++
5 files changed, 27 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/blob/ada4898e/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 366861b..aac0167 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,5 @@
!/log/.keep
/tmp
database.yml
+public/uploads
+vendor/assets/bower_components
http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/blob/ada4898e/GEM_LICENSES.md
----------------------------------------------------------------------
diff --git a/GEM_LICENSES.md b/GEM_LICENSES.md
index f161d6c..463288c 100644
--- a/GEM_LICENSES.md
+++ b/GEM_LICENSES.md
@@ -62,4 +62,6 @@ Fog - MIT, https://github.com/fog/fog/blob/master/LICENSE.md
Draper - MIT, https://github.com/drapergem/draper/blob/master/LICENSE
+Bower-rails - MIT, https://github.com/rharriso/bower-rails/blob/master/MIT-LICENSE
+
Also in project installed bootstrap theme (https://github.com/almasaeed2010/AdminLTE) with the MIT license https://github.com/almasaeed2010/AdminLTE#license
http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/blob/ada4898e/Gemfile
----------------------------------------------------------------------
diff --git a/Gemfile b/Gemfile
index c66fe35..b135ed9 100644
--- a/Gemfile
+++ b/Gemfile
@@ -23,6 +23,8 @@ gem 'coffee-rails', '~> 4.1.0'
gem 'slim'
gem 'slim-rails'
+gem 'bower-rails'
+
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/blob/ada4898e/Gemfile.lock
----------------------------------------------------------------------
diff --git a/Gemfile.lock b/Gemfile.lock
index 5f12285..57bb075 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -46,6 +46,7 @@ GEM
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
+ bower-rails (0.10.0)
builder (3.2.2)
capybara (2.4.4)
mime-types (>= 1.16)
@@ -374,6 +375,7 @@ PLATFORMS
DEPENDENCIES
better_errors
binding_of_caller
+ bower-rails
capybara
capybara-screenshot
capybara-webkit
http://git-wip-us.apache.org/repos/asf/incubator-taverna-databundle-viewer/blob/ada4898e/config/initializers/bower_rails.rb
----------------------------------------------------------------------
diff --git a/config/initializers/bower_rails.rb b/config/initializers/bower_rails.rb
new file mode 100644
index 0000000..d375a7d
--- /dev/null
+++ b/config/initializers/bower_rails.rb
@@ -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 = true
+
+ # 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