[ARVADOS] created: 0054f6b8687d3f4094834c5513b9b962883697b0

git at public.curoverse.com git at public.curoverse.com
Thu Apr 16 13:41:44 EDT 2015


        at  0054f6b8687d3f4094834c5513b9b962883697b0 (commit)


commit 0054f6b8687d3f4094834c5513b9b962883697b0
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Apr 15 14:26:33 2015 -0400

    5739: Remove unnecessary sqlite3 dependency.

diff --git a/apps/workbench/Gemfile b/apps/workbench/Gemfile
index 91c21f1..5776641 100644
--- a/apps/workbench/Gemfile
+++ b/apps/workbench/Gemfile
@@ -3,8 +3,7 @@ source 'https://rubygems.org'
 gem 'rails', '~> 4.1.0'
 gem 'arvados', '>= 0.1.20150413172135'
 
-gem 'sqlite3'
-
+gem 'activerecord-nulldb-adapter'
 gem 'multi_json'
 gem 'oj'
 gem 'sass'
diff --git a/apps/workbench/Gemfile.lock b/apps/workbench/Gemfile.lock
index 59d72f4..fae9b68 100644
--- a/apps/workbench/Gemfile.lock
+++ b/apps/workbench/Gemfile.lock
@@ -30,6 +30,8 @@ GEM
       activemodel (= 4.1.9)
       activesupport (= 4.1.9)
       arel (~> 5.0.0)
+    activerecord-nulldb-adapter (0.3.1)
+      activerecord (>= 2.0.0)
     activesupport (4.1.9)
       i18n (~> 0.6, >= 0.6.9)
       json (~> 1.7, >= 1.7.7)
@@ -229,7 +231,6 @@ GEM
       actionpack (>= 3.0)
       activesupport (>= 3.0)
       sprockets (>= 2.8, < 4.0)
-    sqlite3 (1.3.10)
     sshkey (1.6.1)
     therubyracer (0.12.1)
       libv8 (~> 3.16.14.0)
@@ -256,6 +257,7 @@ PLATFORMS
 
 DEPENDENCIES
   RedCloth
+  activerecord-nulldb-adapter
   andand
   angularjs-rails
   arvados (>= 0.1.20150413172135)
@@ -292,7 +294,6 @@ DEPENDENCIES
   selenium-webdriver
   simplecov (~> 0.7)
   simplecov-rcov
-  sqlite3
   sshkey
   themes_for_rails!
   therubyracer
diff --git a/apps/workbench/config/database.yml b/apps/workbench/config/database.yml
index 34a3224..39b299c 100644
--- a/apps/workbench/config/database.yml
+++ b/apps/workbench/config/database.yml
@@ -1,39 +1,11 @@
-# SQLite version 3.x
-#   gem install sqlite3
-#
-#   Ensure the SQLite 3 gem is defined in your Gemfile
-#   gem 'sqlite3'
+# Note: The database configuration is not actually used.
 development:
-  adapter: sqlite3
-  database: db/development.sqlite3
-  pool: 5
-  timeout: 5000
-
-# Warning: The database defined as "test" will be erased and
-# re-generated from your development database when you run "rake".
-# Do not set this db to the same as development or production.
+  adapter: nulldb
 test:
-  adapter: sqlite3
-  database: db/test.sqlite3
-  pool: 5
-  timeout: 5000
-
+  adapter: nulldb
 production:
-  adapter: sqlite3
-  database: db/production.sqlite3
-  pool: 5
-  timeout: 5000
-
-# Note: The "diagnostics" database configuration is not actually used.
+  adapter: nulldb
 diagnostics:
-  adapter: sqlite3
-  database: db/diagnostics.sqlite3
-  pool: 5
-  timeout: 5000
-
-# Note: The "performance" database configuration is not actually used.
+  adapter: nulldb
 performance:
-  adapter: sqlite3
-  database: db/diagnostics.sqlite3
-  pool: 5
-  timeout: 5000
+  adapter: nulldb
diff --git a/doc/install/install-workbench-app.html.textile.liquid b/doc/install/install-workbench-app.html.textile.liquid
index 43e6f41..4183b4c 100644
--- a/doc/install/install-workbench-app.html.textile.liquid
+++ b/doc/install/install-workbench-app.html.textile.liquid
@@ -12,7 +12,7 @@ h2. Install prerequisites
 <pre><code>~$ <span class="userinput">sudo apt-get install \
     bison build-essential gettext libcurl3 libcurl3-gnutls \
     libcurl4-openssl-dev libpcre3-dev libpq-dev libreadline-dev \
-    libssl-dev libxslt1.1 git wget zlib1g-dev graphviz libsqlite3-dev
+    libssl-dev libxslt1.1 git wget zlib1g-dev graphviz
 </span></code></pre></notextile>
 
 Also make sure you have "Ruby and bundler":install-manual-prerequisites-ruby.html installed.

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list