Skip to content

Commit

Permalink
Upgrade Rails
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Dec 9, 2013
1 parent 063c3fd commit df7b777
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ source 'https://rails-assets.org'
ruby '2.0.0'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
gem 'rails', '4.0.2'

gem 'pg'
gem 'schema_plus'
Expand Down
56 changes: 28 additions & 28 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -20,33 +20,33 @@ GEM
remote: https://rubygems.org/
remote: https://rails-assets.org/
specs:
actionmailer (4.0.0)
actionpack (= 4.0.0)
mail (~> 2.5.3)
actionpack (4.0.0)
activesupport (= 4.0.0)
actionmailer (4.0.2)
actionpack (= 4.0.2)
mail (~> 2.5.4)
actionpack (4.0.2)
activesupport (= 4.0.2)
builder (~> 3.1.0)
erubis (~> 2.7.0)
rack (~> 1.5.2)
rack-test (~> 0.6.2)
activemodel (4.0.0)
activesupport (= 4.0.0)
activemodel (4.0.2)
activesupport (= 4.0.2)
builder (~> 3.1.0)
activerecord (4.0.0)
activemodel (= 4.0.0)
activerecord (4.0.2)
activemodel (= 4.0.2)
activerecord-deprecated_finders (~> 1.0.2)
activesupport (= 4.0.0)
activesupport (= 4.0.2)
arel (~> 4.0.0)
activerecord-deprecated_finders (1.0.3)
activesupport (4.0.0)
activesupport (4.0.2)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
arbre (1.0.1)
activesupport (>= 3.0.0)
arel (4.0.0)
arel (4.0.1)
atomic (1.1.14)
autoprefixer-rails (0.8.20130911)
execjs
Expand Down Expand Up @@ -103,7 +103,7 @@ GEM
hashie (2.0.5)
hike (1.2.3)
honey_badger (0.0.4)
i18n (0.6.5)
i18n (0.6.9)
inherited_resources (1.4.1)
has_scope (~> 0.6.0.rc)
responders (~> 1.0.0.rc)
Expand All @@ -120,9 +120,9 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
method_source (0.8.2)
mime-types (1.25)
mime-types (1.25.1)
minitest (4.7.5)
multi_json (1.8.0)
multi_json (1.8.2)
multipart-post (1.2.0)
orm_adapter (0.4.0)
peach (0.5.1)
Expand All @@ -143,13 +143,13 @@ GEM
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (4.0.0)
actionmailer (= 4.0.0)
actionpack (= 4.0.0)
activerecord (= 4.0.0)
activesupport (= 4.0.0)
rails (4.0.2)
actionmailer (= 4.0.2)
actionpack (= 4.0.2)
activerecord (= 4.0.2)
activesupport (= 4.0.2)
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
railties (= 4.0.2)
sprockets-rails (~> 2.0.0)
rails-assets-angular (1.0.7)
rails-assets-griddle (0.3.0)
Expand All @@ -158,9 +158,9 @@ GEM
rails_stdout_logging
rails_serve_static_assets (0.0.1)
rails_stdout_logging (0.0.1)
railties (4.0.0)
actionpack (= 4.0.0)
activesupport (= 4.0.0)
railties (4.0.2)
actionpack (= 4.0.2)
activesupport (= 4.0.2)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
Expand Down Expand Up @@ -221,12 +221,12 @@ GEM
railties (>= 3.0, < 4.1)
slim (~> 2.0)
slop (3.4.6)
sprockets (2.10.0)
sprockets (2.10.1)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)
Expand All @@ -243,7 +243,7 @@ GEM
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.37)
tzinfo (0.3.38)
uglifier (2.1.2)
execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2)
Expand Down Expand Up @@ -272,7 +272,7 @@ DEPENDENCIES
pg
pry-rails
quiet_assets
rails (= 4.0.0)
rails (= 4.0.2)
rails-assets-angular
rails-assets-griddle
rails_12factor
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/components_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class ComponentsController < ApplicationController
def index
components = Component.includes(:versions).
all.
to_a.
select { |c| c.versions.any? { |v| v.built? } }.
map { |c| component_data(c) }

Expand Down

0 comments on commit df7b777

Please sign in to comment.