From 93c498b2a827fa47dbb0493fc05afbf58ec3f50f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sat, 23 Mar 2013 17:36:55 -0300 Subject: Better styles for the CSS [ci skip] --- guides/code/getting_started/public/404.html | 26 +++++++++++++------------- guides/code/getting_started/public/422.html | 24 ++++++++++++------------ guides/code/getting_started/public/500.html | 26 +++++++++++++------------- 3 files changed, 38 insertions(+), 38 deletions(-) (limited to 'guides/code') diff --git a/guides/code/getting_started/public/404.html b/guides/code/getting_started/public/404.html index ae7b8649ae..3d287b135d 100644 --- a/guides/code/getting_started/public/404.html +++ b/guides/code/getting_started/public/404.html @@ -2,16 +2,15 @@ The page you were looking for doesn't exist (404) - diff --git a/guides/code/getting_started/public/422.html b/guides/code/getting_started/public/422.html index 0b64eb4ae9..3b946bf4a4 100644 --- a/guides/code/getting_started/public/422.html +++ b/guides/code/getting_started/public/422.html @@ -2,16 +2,15 @@ The change you wanted was rejected (422) - diff --git a/guides/code/getting_started/public/500.html b/guides/code/getting_started/public/500.html index 9641851e74..ccc4ad5656 100644 --- a/guides/code/getting_started/public/500.html +++ b/guides/code/getting_started/public/500.html @@ -2,16 +2,15 @@ We're sorry, but something went wrong (500) - -- cgit v1.2.3 From 2b660f1dcb5f94fcec3d2f52735a7eaddf5051a3 Mon Sep 17 00:00:00 2001 From: Pavel Pravosud Date: Mon, 25 Mar 2013 12:15:30 +0700 Subject: Relaxed jbuilder dependency and bumped version number Newer version contains some generator bugfixes --- guides/code/getting_started/Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/code') diff --git a/guides/code/getting_started/Gemfile b/guides/code/getting_started/Gemfile index b355c7d91a..dca00b43cd 100644 --- a/guides/code/getting_started/Gemfile +++ b/guides/code/getting_started/Gemfile @@ -23,7 +23,7 @@ gem 'jquery-rails' gem 'turbolinks' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder -gem 'jbuilder', '~> 1.0.1' +gem 'jbuilder', '~> 1.2' # To use ActiveModel has_secure_password # gem 'bcrypt-ruby', '~> 3.0.0' -- cgit v1.2.3 From bbaa8ab5db1649323e70cd7f725c820a5f7f0334 Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Thu, 28 Mar 2013 16:59:42 -0500 Subject: Update Bundler require in getting started application --- guides/code/getting_started/config/application.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'guides/code') diff --git a/guides/code/getting_started/config/application.rb b/guides/code/getting_started/config/application.rb index 526a782b5c..3d7604b659 100644 --- a/guides/code/getting_started/config/application.rb +++ b/guides/code/getting_started/config/application.rb @@ -2,8 +2,9 @@ require File.expand_path('../boot', __FILE__) require 'rails/all' -# Assets should be precompiled for production (so we don't need the gems loaded then) -Bundler.require(*Rails.groups(assets: %w(development test))) +# Require the gems listed in Gemfile, including any gems +# you've limited to :test, :development, or :production. +Bundler.require(:default, Rails.env) module Blog class Application < Rails::Application -- cgit v1.2.3 From dbb00f2e2ad77222aeb88bf4e7c62534b94c008c Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Thu, 28 Mar 2013 17:07:18 -0500 Subject: Update Gemfile since group assets doesn't exist anymore in Gemfile --- guides/code/getting_started/Gemfile | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'guides/code') diff --git a/guides/code/getting_started/Gemfile b/guides/code/getting_started/Gemfile index dca00b43cd..f5b7b11d3a 100644 --- a/guides/code/getting_started/Gemfile +++ b/guides/code/getting_started/Gemfile @@ -4,18 +4,17 @@ gem 'rails', '4.0.0' gem 'sqlite3' -# Gems used only for assets and not required -# in production environments by default. -group :assets do - gem 'sprockets-rails' - gem 'sass-rails' - gem 'coffee-rails' - - # See https://github.com/sstephenson/execjs#readme for more supported runtimes - # gem 'therubyracer', platforms: :ruby - - gem 'uglifier', '>= 1.0.3' -end +# Use SCSS for stylesheets +gem 'sass-rails' + +# Use CoffeeScript for .js.coffee assets and views +gem 'coffee-rails' + +# See https://github.com/sstephenson/execjs#readme for more supported runtimes +# gem 'therubyracer', platforms: :ruby + +# Use Uglifier as compressor for JavaScript assets +gem 'uglifier', '>= 1.0.3' gem 'jquery-rails' -- cgit v1.2.3 From 2595611dc38d5d51df45325d818074d1da23c96f Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Sat, 30 Mar 2013 00:05:30 +0100 Subject: rdoc is no longer a gem dependency, sdoc becomes a runtime dependency --- guides/code/getting_started/Gemfile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'guides/code') diff --git a/guides/code/getting_started/Gemfile b/guides/code/getting_started/Gemfile index f5b7b11d3a..5b574cfc1d 100644 --- a/guides/code/getting_started/Gemfile +++ b/guides/code/getting_started/Gemfile @@ -21,6 +21,11 @@ gem 'jquery-rails' # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks gem 'turbolinks' +group :doc do + # bundle exec rake doc:rails generates the API under doc/api. + gem 'sdoc' +end + # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 1.2' -- cgit v1.2.3