From 9a68a2d3c1fae2db95fd628de1b08732fe5ea2d6 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 5 Feb 2016 18:02:30 +0800 Subject: [PATCH 01/16] jenkins ruby versioning smarter --- bin/jenkins-test.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/jenkins-test.sh b/bin/jenkins-test.sh index 193b109f..2e54f9d3 100755 --- a/bin/jenkins-test.sh +++ b/bin/jenkins-test.sh @@ -4,8 +4,11 @@ #sudo aptitude -q -y install libpq-dev source "$HOME/.rvm/scripts/rvm" -rvm install $(cat .ruby-version) -rvm gemset use $(cat .ruby-gemset) +rvm use $(cat.ruby-version) || \ + rvm install $(cat .ruby-version) +rvm gemset use $(cat .ruby-gemset) || \ + rvm gemset create $(cat .ruby-gemset) && \ + rvm gemset use $(cat .ruby-gemset) gem install bundler set -x From 821966c5dbb7ee13ad1dc4d9f96b6818a371fe42 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 5 Feb 2016 18:11:35 +0800 Subject: [PATCH 02/16] update schema.rb --- db/schema.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/schema.rb b/db/schema.rb index 83cecc24..9ecb3488 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20151028061513) do +ActiveRecord::Schema.define(version: 20160120061513) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" From ed88445c6b231f195c3ffd84d2ce3366d4e52b22 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 5 Feb 2016 18:12:00 +0800 Subject: [PATCH 03/16] update configure.sh --- configure.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.sh b/configure.sh index 481ca907..5d2b9751 100755 --- a/configure.sh +++ b/configure.sh @@ -14,4 +14,4 @@ vagrant ssh --command "cd /vagrant; bundle install"; vagrant ssh --command "cd /vagrant; cp .example-env .env"; # Rake all the things -vagrant ssh --command "cd /vagrant; rake db:create; rake db:schema:load; rake db:fixtures:load" +vagrant ssh --command "cd /vagrant; rake db:create; rake db:setup" From 27e5830c4fdf21fc8e76dda5613aeba8d933abef Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 5 Feb 2016 18:12:25 +0800 Subject: [PATCH 04/16] move configure.sh into bin folder --- README.md | 2 +- configure.sh => bin/configure.sh | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename configure.sh => bin/configure.sh (100%) diff --git a/README.md b/README.md index 76444337..5cfd3a37 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ git clone git@github.com:metamaps/metamaps_gen002.git Now ensure you have VirtualBox and Vagrant installed on your computer ``` cd metamaps_gen002 -./configure.sh +./bin/configure.sh ``` This will do all the setup steps to make Metamaps work with a bit of behind the scenes ninja magick. diff --git a/configure.sh b/bin/configure.sh similarity index 100% rename from configure.sh rename to bin/configure.sh From b3d321c7e95f69b9bef58ed327078d0232df2eff Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Fri, 5 Feb 2016 18:27:26 +0800 Subject: [PATCH 05/16] topic icon <-- --- app/assets/stylesheets/search.scss.erb | 2 -- app/views/layouts/_templates.html.erb | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/stylesheets/search.scss.erb b/app/assets/stylesheets/search.scss.erb index 0f806f96..c789fb48 100644 --- a/app/assets/stylesheets/search.scss.erb +++ b/app/assets/stylesheets/search.scss.erb @@ -220,7 +220,6 @@ font-family: helvetica, sans-serif; } - .topicMetacode, .searchResIconWrapper { vertical-align: middle; padding: 0 0 0 8px; @@ -242,7 +241,6 @@ .topicIcon { width: 32px; height: 32px; - margin: 0 auto; } .metacodeTip { display: none; diff --git a/app/views/layouts/_templates.html.erb b/app/views/layouts/_templates.html.erb index 4218bfda..b3099ad9 100644 --- a/app/views/layouts/_templates.html.erb +++ b/app/views/layouts/_templates.html.erb @@ -97,7 +97,7 @@