From 940b755c6423948a3604b9be71b579f4c8e9dc7f Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 14 Nov 2014 10:58:58 -0800 Subject: [PATCH 01/24] Update Rails version & eliminate specific Ruby --- Gemfile | 7 ++- Gemfile.lock | 117 ++++++++++++++++++++++++++------------------------- 2 files changed, 62 insertions(+), 62 deletions(-) diff --git a/Gemfile b/Gemfile index 1a29225d..8f1be314 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,6 @@ source 'https://rubygems.org' -ruby '2.1.1' -gem 'rails', '4.2.0.beta2' +gem 'rails', '4.2.0.beta4' gem 'bcrypt', '3.1.7' gem 'faker', '1.4.2' gem 'carrierwave', '0.10.0' @@ -13,9 +12,9 @@ gem 'bootstrap-sass', '3.2.0.0' gem 'sass-rails', '5.0.0.beta1' gem 'uglifier', '2.5.3' gem 'coffee-rails', '4.0.1' -gem 'jquery-rails', '3.1.2' +gem 'jquery-rails', '4.0.0.beta2' gem 'turbolinks', '2.3.0' -gem 'jbuilder', '2.1.3' +gem 'jbuilder', '2.2.3' gem 'rails-html-sanitizer', '1.0.1' gem 'sdoc', '0.4.0', group: :doc diff --git a/Gemfile.lock b/Gemfile.lock index 85d4272f..a3d70e33 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,43 +1,43 @@ GEM remote: https://rubygems.org/ specs: - actionmailer (4.2.0.beta2) - actionpack (= 4.2.0.beta2) - actionview (= 4.2.0.beta2) - activejob (= 4.2.0.beta2) + actionmailer (4.2.0.beta4) + actionpack (= 4.2.0.beta4) + actionview (= 4.2.0.beta4) + activejob (= 4.2.0.beta4) mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 1.0, >= 1.0.3) - actionpack (4.2.0.beta2) - actionview (= 4.2.0.beta2) - activesupport (= 4.2.0.beta2) + rails-dom-testing (~> 1.0, >= 1.0.4) + actionpack (4.2.0.beta4) + actionview (= 4.2.0.beta4) + activesupport (= 4.2.0.beta4) rack (~> 1.6.0.beta) rack-test (~> 0.6.2) - rails-dom-testing (~> 1.0, >= 1.0.3) + rails-dom-testing (~> 1.0, >= 1.0.4) rails-html-sanitizer (~> 1.0, >= 1.0.1) - actionview (4.2.0.beta2) - activesupport (= 4.2.0.beta2) + actionview (4.2.0.beta4) + activesupport (= 4.2.0.beta4) builder (~> 3.1) erubis (~> 2.7.0) - rails-dom-testing (~> 1.0, >= 1.0.3) + rails-dom-testing (~> 1.0, >= 1.0.4) rails-html-sanitizer (~> 1.0, >= 1.0.1) - activejob (4.2.0.beta2) - activesupport (= 4.2.0.beta2) + activejob (4.2.0.beta4) + activesupport (= 4.2.0.beta4) globalid (>= 0.3.0) - activemodel (4.2.0.beta2) - activesupport (= 4.2.0.beta2) + activemodel (4.2.0.beta4) + activesupport (= 4.2.0.beta4) builder (~> 3.1) - activerecord (4.2.0.beta2) - activemodel (= 4.2.0.beta2) - activesupport (= 4.2.0.beta2) - arel (>= 6.0.0.beta1, < 6.1) - activesupport (4.2.0.beta2) + activerecord (4.2.0.beta4) + activemodel (= 4.2.0.beta4) + activesupport (= 4.2.0.beta4) + arel (>= 6.0.0.beta2, < 6.1) + activesupport (4.2.0.beta4) i18n (>= 0.7.0.beta1, < 0.8) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.1) tzinfo (~> 1.1) ansi (1.4.3) - arel (6.0.0.beta1) + arel (6.0.0.beta2) bcrypt (3.1.7) binding_of_caller (0.7.3.pre1) debug_inspector (>= 0.0.1) @@ -69,11 +69,11 @@ GEM debug_inspector (0.0.2) debugger-linecache (1.2.0) erubis (2.7.0) - excon (0.39.6) - execjs (2.2.1) + excon (0.41.0) + execjs (2.2.2) faker (1.4.2) i18n (~> 0.5) - ffi (1.9.5) + ffi (1.9.6) fog (1.23.0) fog-brightbox fog-core (~> 1.23) @@ -81,7 +81,7 @@ GEM fog-softlayer ipaddress (~> 0.5) nokogiri (~> 1.5, >= 1.5.11) - fog-brightbox (0.5.1) + fog-brightbox (0.6.1) fog-core (~> 1.22) fog-json inflecto @@ -94,13 +94,13 @@ GEM net-ssh (>= 2.1.3) fog-json (1.0.0) multi_json (~> 1.0) - fog-softlayer (0.3.18) + fog-softlayer (0.3.24) fog-core fog-json formatador (0.2.5) globalid (0.3.0) activesupport (>= 4.1.0) - guard (2.6.1) + guard (2.8.2) formatador (>= 0.2.4) listen (~> 2.7) lumberjack (~> 1.0) @@ -114,32 +114,33 @@ GEM i18n (0.7.0.beta1) inflecto (0.0.2) ipaddress (0.8.0) - jbuilder (2.1.3) + jbuilder (2.2.3) activesupport (>= 3.0.0, < 5) multi_json (~> 1.2) - jquery-rails (3.1.2) - railties (>= 3.0, < 5.0) + jquery-rails (4.0.0.beta2) + rails-dom-testing (~> 1.0) + railties (>= 4.2.0.beta, < 5.0) thor (>= 0.14, < 2.0) json (1.8.1) kgio (2.9.2) - listen (2.7.11) + listen (2.7.12) celluloid (>= 0.15.2) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) loofah (2.0.1) nokogiri (>= 1.5.9) lumberjack (1.0.9) - mail (2.6.1) + mail (2.6.3) mime-types (>= 1.16, < 3) method_source (0.8.2) - mime-types (2.3) + mime-types (2.4.3) mini_backtrace (0.1.3) minitest (> 1.2.0) rails (>= 2.3.3) mini_magick (3.8.0) subexec (~> 0.2.1) - mini_portile (0.6.0) - minitest (5.4.2) + mini_portile (0.6.1) + minitest (5.4.3) minitest-reporters (1.0.5) ansi builder @@ -149,8 +150,8 @@ GEM net-scp (1.2.1) net-ssh (>= 2.6.5) net-ssh (2.9.1) - nokogiri (1.6.3.1) - mini_portile (= 0.6.0) + nokogiri (1.6.4.1) + mini_portile (~> 0.6.0) pg (0.17.1) pry (0.10.1) coderay (~> 1.1.0) @@ -159,21 +160,21 @@ GEM rack (1.6.0.beta) rack-test (0.6.2) rack (>= 1.0) - rails (4.2.0.beta2) - actionmailer (= 4.2.0.beta2) - actionpack (= 4.2.0.beta2) - actionview (= 4.2.0.beta2) - activejob (= 4.2.0.beta2) - activemodel (= 4.2.0.beta2) - activerecord (= 4.2.0.beta2) - activesupport (= 4.2.0.beta2) + rails (4.2.0.beta4) + actionmailer (= 4.2.0.beta4) + actionpack (= 4.2.0.beta4) + actionview (= 4.2.0.beta4) + activejob (= 4.2.0.beta4) + activemodel (= 4.2.0.beta4) + activerecord (= 4.2.0.beta4) + activesupport (= 4.2.0.beta4) bundler (>= 1.3.0, < 2.0) - railties (= 4.2.0.beta2) + railties (= 4.2.0.beta4) sprockets-rails (~> 3.0.0.beta1) rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.3) - activesupport + rails-dom-testing (1.0.4) + activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) rails-html-sanitizer (1.0.1) @@ -183,9 +184,9 @@ GEM rails_stdout_logging rails_serve_static_assets (0.0.2) rails_stdout_logging (0.0.3) - railties (4.2.0.beta2) - actionpack (= 4.2.0.beta2) - activesupport (= 4.2.0.beta2) + railties (4.2.0.beta4) + actionpack (= 4.2.0.beta4) + activesupport (= 4.2.0.beta4) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) raindrops (0.13.0) @@ -195,8 +196,8 @@ GEM ffi (>= 0.5.0) rdoc (4.1.2) json (~> 1.4) - ruby-progressbar (1.6.0) - sass (3.4.5) + ruby-progressbar (1.7.0) + sass (3.4.7) sass-rails (5.0.0.beta1) railties (>= 4.0.0, < 5.0) sass (~> 3.2) @@ -207,7 +208,7 @@ GEM rdoc (~> 4.0, < 5.0) slop (3.6.0) spring (1.1.3) - sprockets (2.12.2) + sprockets (2.12.3) hike (~> 1.2) multi_json (~> 1.0) rack (~> 1.0) @@ -254,13 +255,13 @@ DEPENDENCIES faker (= 1.4.2) fog (= 1.23.0) guard-minitest (= 2.3.1) - jbuilder (= 2.1.3) - jquery-rails (= 3.1.2) + jbuilder (= 2.2.3) + jquery-rails (= 4.0.0.beta2) mini_backtrace (= 0.1.3) mini_magick (= 3.8.0) minitest-reporters (= 1.0.5) pg (= 0.17.1) - rails (= 4.2.0.beta2) + rails (= 4.2.0.beta4) rails-html-sanitizer (= 1.0.1) rails_12factor (= 0.0.2) sass-rails (= 5.0.0.beta1) From 6531824ef4cb88ed055c4fb81097c31ae3a57bea Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 14 Nov 2014 11:27:04 -0800 Subject: [PATCH 02/24] Update the Guardfile Conflicts: Guardfile --- Guardfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Guardfile b/Guardfile index 460db6ca..f30bb0f2 100644 --- a/Guardfile +++ b/Guardfile @@ -26,8 +26,8 @@ guard :minitest, spring: true, all_on_start: false do ['test/controllers/sessions_controller_test.rb', 'test/integration/users_login_test.rb'] end - watch('app/models/micropost.rb') do - ['test/models/micropost_test.rb', 'test/models/user_test.rb'] + watch('app/controllers/account_activations_controller.rb') do + 'test/integration/users_signup_test.rb' end watch(%r{app/views/users/*}) do resource_tests('users') + From 59624f1580893d43f60790ce5ed16c3c2082cb0b Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 21 Nov 2014 20:27:39 -0800 Subject: [PATCH 03/24] Remove unused gem --- Gemfile | 1 - Gemfile.lock | 1 - 2 files changed, 2 deletions(-) diff --git a/Gemfile b/Gemfile index 8f1be314..c2d92217 100644 --- a/Gemfile +++ b/Gemfile @@ -15,7 +15,6 @@ gem 'coffee-rails', '4.0.1' gem 'jquery-rails', '4.0.0.beta2' gem 'turbolinks', '2.3.0' gem 'jbuilder', '2.2.3' -gem 'rails-html-sanitizer', '1.0.1' gem 'sdoc', '0.4.0', group: :doc group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index a3d70e33..0a918fd3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -262,7 +262,6 @@ DEPENDENCIES minitest-reporters (= 1.0.5) pg (= 0.17.1) rails (= 4.2.0.beta4) - rails-html-sanitizer (= 1.0.1) rails_12factor (= 0.0.2) sass-rails (= 5.0.0.beta1) sdoc (= 0.4.0) From bf27243021052001382c7e38ab6e5e4daafd2016 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Wed, 26 Nov 2014 13:10:22 -0800 Subject: [PATCH 04/24] Add explicit arel gem --- Gemfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Gemfile b/Gemfile index c2d92217..3c255098 100644 --- a/Gemfile +++ b/Gemfile @@ -15,6 +15,7 @@ gem 'coffee-rails', '4.0.1' gem 'jquery-rails', '4.0.0.beta2' gem 'turbolinks', '2.3.0' gem 'jbuilder', '2.2.3' +gem 'arel', '6.0.0.beta2' gem 'sdoc', '0.4.0', group: :doc group :development, :test do From 94799c0e900e376cacfe1b365e36482a40e7bd75 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 28 Nov 2014 23:13:38 -0800 Subject: [PATCH 05/24] Update to Rails 4.2.0.rc1 --- Gemfile | 3 +- Gemfile.lock | 102 +++++++++++++++++++++++++-------------------------- 2 files changed, 52 insertions(+), 53 deletions(-) diff --git a/Gemfile b/Gemfile index 3c255098..f6eb00dd 100644 --- a/Gemfile +++ b/Gemfile @@ -1,6 +1,6 @@ source 'https://rubygems.org' -gem 'rails', '4.2.0.beta4' +gem 'rails', '4.2.0.rc1' gem 'bcrypt', '3.1.7' gem 'faker', '1.4.2' gem 'carrierwave', '0.10.0' @@ -15,7 +15,6 @@ gem 'coffee-rails', '4.0.1' gem 'jquery-rails', '4.0.0.beta2' gem 'turbolinks', '2.3.0' gem 'jbuilder', '2.2.3' -gem 'arel', '6.0.0.beta2' gem 'sdoc', '0.4.0', group: :doc group :development, :test do diff --git a/Gemfile.lock b/Gemfile.lock index 0a918fd3..b3b76a56 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,43 +1,43 @@ GEM remote: https://rubygems.org/ specs: - actionmailer (4.2.0.beta4) - actionpack (= 4.2.0.beta4) - actionview (= 4.2.0.beta4) - activejob (= 4.2.0.beta4) + actionmailer (4.2.0.rc1) + actionpack (= 4.2.0.rc1) + actionview (= 4.2.0.rc1) + activejob (= 4.2.0.rc1) mail (~> 2.5, >= 2.5.4) - rails-dom-testing (~> 1.0, >= 1.0.4) - actionpack (4.2.0.beta4) - actionview (= 4.2.0.beta4) - activesupport (= 4.2.0.beta4) - rack (~> 1.6.0.beta) + rails-dom-testing (~> 1.0, >= 1.0.5) + actionpack (4.2.0.rc1) + actionview (= 4.2.0.rc1) + activesupport (= 4.2.0.rc1) + rack (~> 1.6.0.beta2) rack-test (~> 0.6.2) - rails-dom-testing (~> 1.0, >= 1.0.4) + rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.1) - actionview (4.2.0.beta4) - activesupport (= 4.2.0.beta4) + actionview (4.2.0.rc1) + activesupport (= 4.2.0.rc1) builder (~> 3.1) erubis (~> 2.7.0) - rails-dom-testing (~> 1.0, >= 1.0.4) + rails-dom-testing (~> 1.0, >= 1.0.5) rails-html-sanitizer (~> 1.0, >= 1.0.1) - activejob (4.2.0.beta4) - activesupport (= 4.2.0.beta4) + activejob (4.2.0.rc1) + activesupport (= 4.2.0.rc1) globalid (>= 0.3.0) - activemodel (4.2.0.beta4) - activesupport (= 4.2.0.beta4) + activemodel (4.2.0.rc1) + activesupport (= 4.2.0.rc1) builder (~> 3.1) - activerecord (4.2.0.beta4) - activemodel (= 4.2.0.beta4) - activesupport (= 4.2.0.beta4) - arel (>= 6.0.0.beta2, < 6.1) - activesupport (4.2.0.beta4) + activerecord (4.2.0.rc1) + activemodel (= 4.2.0.rc1) + activesupport (= 4.2.0.rc1) + arel (~> 6.0) + activesupport (4.2.0.rc1) i18n (>= 0.7.0.beta1, < 0.8) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.1) tzinfo (~> 1.1) ansi (1.4.3) - arel (6.0.0.beta2) + arel (6.0.0) bcrypt (3.1.7) binding_of_caller (0.7.3.pre1) debug_inspector (>= 0.0.1) @@ -81,11 +81,11 @@ GEM fog-softlayer ipaddress (~> 0.5) nokogiri (~> 1.5, >= 1.5.11) - fog-brightbox (0.6.1) + fog-brightbox (0.7.0) fog-core (~> 1.22) fog-json - inflecto - fog-core (1.24.0) + inflecto (~> 0.0.2) + fog-core (1.25.0) builder excon (~> 0.38) formatador (~> 0.2) @@ -100,7 +100,7 @@ GEM formatador (0.2.5) globalid (0.3.0) activesupport (>= 4.1.0) - guard (2.8.2) + guard (2.9.2) formatador (>= 0.2.4) listen (~> 2.7) lumberjack (~> 1.0) @@ -123,7 +123,7 @@ GEM thor (>= 0.14, < 2.0) json (1.8.1) kgio (2.9.2) - listen (2.7.12) + listen (2.8.3) celluloid (>= 0.15.2) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9) @@ -150,30 +150,30 @@ GEM net-scp (1.2.1) net-ssh (>= 2.6.5) net-ssh (2.9.1) - nokogiri (1.6.4.1) + nokogiri (1.6.5) mini_portile (~> 0.6.0) pg (0.17.1) pry (0.10.1) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) - rack (1.6.0.beta) + rack (1.6.0.beta2) rack-test (0.6.2) rack (>= 1.0) - rails (4.2.0.beta4) - actionmailer (= 4.2.0.beta4) - actionpack (= 4.2.0.beta4) - actionview (= 4.2.0.beta4) - activejob (= 4.2.0.beta4) - activemodel (= 4.2.0.beta4) - activerecord (= 4.2.0.beta4) - activesupport (= 4.2.0.beta4) + rails (4.2.0.rc1) + actionmailer (= 4.2.0.rc1) + actionpack (= 4.2.0.rc1) + actionview (= 4.2.0.rc1) + activejob (= 4.2.0.rc1) + activemodel (= 4.2.0.rc1) + activerecord (= 4.2.0.rc1) + activesupport (= 4.2.0.rc1) bundler (>= 1.3.0, < 2.0) - railties (= 4.2.0.beta4) - sprockets-rails (~> 3.0.0.beta1) + railties (= 4.2.0.rc1) + sprockets-rails rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.4) + rails-dom-testing (1.0.5) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) @@ -184,20 +184,20 @@ GEM rails_stdout_logging rails_serve_static_assets (0.0.2) rails_stdout_logging (0.0.3) - railties (4.2.0.beta4) - actionpack (= 4.2.0.beta4) - activesupport (= 4.2.0.beta4) + railties (4.2.0.rc1) + actionpack (= 4.2.0.rc1) + activesupport (= 4.2.0.rc1) rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) raindrops (0.13.0) - rake (10.3.2) + rake (10.4.0) rb-fsevent (0.9.4) rb-inotify (0.9.5) ffi (>= 0.5.0) rdoc (4.1.2) json (~> 1.4) ruby-progressbar (1.7.0) - sass (3.4.7) + sass (3.4.9) sass-rails (5.0.0.beta1) railties (>= 4.0.0, < 5.0) sass (~> 3.2) @@ -213,10 +213,10 @@ GEM multi_json (~> 1.0) rack (~> 1.0) tilt (~> 1.1, != 1.3.0) - sprockets-rails (3.0.0.beta1) - actionpack (>= 4.0) - activesupport (>= 4.0) - sprockets (~> 2.8) + sprockets-rails (2.2.1) + actionpack (>= 3.0) + activesupport (>= 3.0) + sprockets (>= 2.8, < 4.0) sqlite3 (1.3.9) subexec (0.2.3) thor (0.19.1) @@ -261,7 +261,7 @@ DEPENDENCIES mini_magick (= 3.8.0) minitest-reporters (= 1.0.5) pg (= 0.17.1) - rails (= 4.2.0.beta4) + rails (= 4.2.0.rc1) rails_12factor (= 0.0.2) sass-rails (= 5.0.0.beta1) sdoc (= 0.4.0) From ba8d745056a9b1b599db8fdc1945b758aea4f4a3 Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 28 Nov 2014 23:27:23 -0800 Subject: [PATCH 06/24] Update coffee-rails --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f6eb00dd..2ccd5dc7 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem 'bootstrap-will_paginate', '0.0.10' gem 'bootstrap-sass', '3.2.0.0' gem 'sass-rails', '5.0.0.beta1' gem 'uglifier', '2.5.3' -gem 'coffee-rails', '4.0.1' +gem 'coffee-rails', '4.1.0' gem 'jquery-rails', '4.0.0.beta2' gem 'turbolinks', '2.3.0' gem 'jbuilder', '2.2.3' From f63543cf020e39fc627f7e7259527bf7d00ac1fa Mon Sep 17 00:00:00 2001 From: Michael Hartl Date: Fri, 12 Dec 2014 19:47:06 -0800 Subject: [PATCH 07/24] Change navbar css --- app/views/layouts/_header.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index b404175e..1e535b96 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -2,7 +2,7 @@
<%= link_to "sample app", root_path, id: "logo" %>