diff --git a/Gemfile b/Gemfile index b7c8621..7b026f6 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,7 @@ ruby '2.1.5' source 'https://rubygems.org' -gem 'bootstrap-sass', '~> 3.3.3' +gem 'bootstrap-sass' gem 'jquery-rails' gem 'pg' gem 'rails', '4.2.0' diff --git a/Gemfile.lock b/Gemfile.lock index b1992eb..67bdf16 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -37,17 +37,13 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.3.7) - arel (6.0.0) - autoprefixer-rails (5.1.7) - execjs - json + addressable (2.3.8) + arel (6.0.3) bcrypt (3.1.10) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) - bootstrap-sass (3.3.3) - autoprefixer-rails (>= 5.0.0.1) - sass (>= 3.2.19) + bootstrap-sass (3.3.1.0) + sass (~> 3.2) builder (3.2.2) byebug (3.5.1) columnize (~> 0.8) @@ -58,9 +54,9 @@ GEM debug_inspector (0.0.2) debugger-linecache (1.2.0) diff-lcs (1.2.5) - dotenv (1.0.2) - dotenv-rails (1.0.2) - dotenv (= 1.0.2) + dotenv (2.0.1) + dotenv-rails (2.0.1) + dotenv (= 2.0.1) erubis (2.7.0) execjs (2.3.0) factory_girl (4.5.0) @@ -68,29 +64,28 @@ GEM factory_girl_rails (4.5.0) factory_girl (~> 4.5.0) railties (>= 3.0.0) - faker (1.0.1) - i18n (~> 0.4) + faker (1.4.3) + i18n (~> 0.5) faraday (0.9.1) multipart-post (>= 1.2, < 3) - globalid (0.3.3) + globalid (0.3.6) activesupport (>= 4.1.0) - hike (1.2.3) i18n (0.7.0) jquery-rails (4.0.3) rails-dom-testing (~> 1.0) railties (>= 4.2.0) thor (>= 0.14, < 2.0) - json (1.8.2) - jwt (1.2.1) - loofah (2.0.1) + json (1.8.3) + jwt (1.5.1) + loofah (2.0.3) nokogiri (>= 1.5.9) mail (2.6.3) mime-types (>= 1.16, < 3) method_source (0.8.2) - mime-types (2.4.3) + mime-types (2.6.1) mini_portile (0.6.2) - minitest (5.5.1) - multi_json (1.10.1) + minitest (5.8.0) + multi_json (1.11.2) multi_xml (0.5.5) multipart-post (2.0.0) mustache (0.99.8) @@ -108,7 +103,7 @@ GEM coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) - rack (1.6.0) + rack (1.6.4) rack-test (0.6.3) rack (>= 1.0) rails (4.2.0) @@ -122,16 +117,16 @@ GEM bundler (>= 1.3.0, < 2.0) railties (= 4.2.0) sprockets-rails - rails-assets-bootstrap-material-design (0.2.2) + rails-assets-bootstrap-material-design (0.3.0) rails-assets-jquery (~> 2.1.1) - rails-assets-jquery (2.1.3) + rails-assets-jquery (2.1.4) rails-deprecated_sanitizer (1.0.3) activesupport (>= 4.2.0.alpha) - rails-dom-testing (1.0.5) + rails-dom-testing (1.0.7) activesupport (>= 4.2.0.beta, < 5.0) nokogiri (~> 1.6.0) rails-deprecated_sanitizer (>= 1.0.1) - rails-html-sanitizer (1.0.1) + rails-html-sanitizer (1.0.2) loofah (~> 2.0) rails_12factor (0.0.3) rails_serve_static_assets @@ -144,27 +139,28 @@ GEM rake (>= 0.8.7) thor (>= 0.18.1, < 2.0) rake (10.4.2) - rspec (3.1.0) - rspec-core (~> 3.1.0) - rspec-expectations (~> 3.1.0) - rspec-mocks (~> 3.1.0) - rspec-core (3.1.7) - rspec-support (~> 3.1.0) - rspec-expectations (3.1.2) + rspec (3.3.0) + rspec-core (~> 3.3.0) + rspec-expectations (~> 3.3.0) + rspec-mocks (~> 3.3.0) + rspec-core (3.3.2) + rspec-support (~> 3.3.0) + rspec-expectations (3.3.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.1.0) - rspec-mocks (3.1.3) - rspec-support (~> 3.1.0) - rspec-rails (3.1.0) - actionpack (>= 3.0) - activesupport (>= 3.0) - railties (>= 3.0) - rspec-core (~> 3.1.0) - rspec-expectations (~> 3.1.0) - rspec-mocks (~> 3.1.0) - rspec-support (~> 3.1.0) - rspec-support (3.1.2) - rspec_api_documentation (4.3.0) + rspec-support (~> 3.3.0) + rspec-mocks (3.3.2) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.3.0) + rspec-rails (3.3.3) + actionpack (>= 3.0, < 4.3) + activesupport (>= 3.0, < 4.3) + railties (>= 3.0, < 4.3) + rspec-core (~> 3.3.0) + rspec-expectations (~> 3.3.0) + rspec-mocks (~> 3.3.0) + rspec-support (~> 3.3.0) + rspec-support (3.3.0) + rspec_api_documentation (4.4.0) activesupport (>= 3.0.0) json (~> 1.4, >= 1.4.6) mustache (~> 0.99, >= 0.99.4) @@ -176,7 +172,7 @@ GEM sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (~> 1.1) - shoulda-matchers (2.8.0) + shoulda-matchers (2.7.0) activesupport (>= 3.0.0) simple_form (3.1.0) actionpack (~> 4.0) @@ -186,25 +182,22 @@ GEM bcrypt (~> 3.1) oauth (~> 0.4, >= 0.4.4) oauth2 (>= 0.8.0) - spring (1.3.3) - sprockets (2.12.3) - hike (~> 1.2) - multi_json (~> 1.0) + spring (1.3.2) + sprockets (3.3.3) rack (~> 1.0) - tilt (~> 1.1, != 1.3.0) - sprockets-rails (2.2.4) + sprockets-rails (2.3.2) actionpack (>= 3.0) activesupport (>= 3.0) sprockets (>= 2.8, < 4.0) thor (0.19.1) - thread_safe (0.3.4) + thread_safe (0.3.5) tilt (1.4.1) tzinfo (1.2.2) thread_safe (~> 0.1) uglifier (2.7.0) execjs (>= 0.3.0) json (>= 1.8.0) - validate_url (1.0.0) + validate_url (1.0.2) activemodel (>= 3.0.0) addressable web-console (2.0.0) @@ -217,7 +210,7 @@ PLATFORMS ruby DEPENDENCIES - bootstrap-sass (~> 3.3.3) + bootstrap-sass byebug dotenv-rails factory_girl_rails diff --git a/README.md b/README.md index bef6fef..30d556a 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,12 @@ My main goal for this is to give new programmers some code to look at and talk a ```bash -$ git clone git@github.com:blairanderson/rails-hackernews-reddit-producthunt-clone.git link-site -$ cd link-site +$ git clone git@github.com:blairanderson/rails-hackernews-reddit-producthunt-clone.git +$ cd rails-hackernews-reddit-producthunt-clone +$ bundle +$ bundle exec rake db:create +$ bundle exec rake db:migrate +$ bundle exec rake db:seed ```