Skip to content

Commit

Permalink
Add missing requires
Browse files Browse the repository at this point in the history
  • Loading branch information
spastorino committed Oct 18, 2013
1 parent a820e97 commit e6993c6
Show file tree
Hide file tree
Showing 15 changed files with 7 additions and 12 deletions.
2 changes: 2 additions & 0 deletions lib/active_model/array_serializer.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'active_model/serializer'

module ActiveModel
class ArraySerializer
class << self
Expand Down
1 change: 1 addition & 0 deletions lib/active_model/serializer.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'active_model/array_serializer'
require 'active_model/serializer/associations'

module ActiveModel
Expand Down
2 changes: 2 additions & 0 deletions lib/active_model/serializer/associations.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'active_model/serializer'

module ActiveModel
class Serializer
class Association
Expand Down
2 changes: 1 addition & 1 deletion lib/active_model_serializers.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'active_model'
require 'active_model/serializer'
require 'active_model/array_serializer'
require 'active_model/serializer/version'

begin
require 'action_controller'
Expand Down
1 change: 0 additions & 1 deletion test/integration/action_controller/serialization_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model_serializers'

module ActionController
module Serialization
Expand Down
1 change: 0 additions & 1 deletion test/integration/active_record/active_record_test.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require 'test_helper'
require 'fixtures/active_record'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'bundler/setup'
require 'active_model_serializers'
require 'test/unit'
require 'active_model_serializers'
require 'fixtures/poro'

module TestHelper
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/array_serializer/root_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class ArraySerializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/array_serializer/serialize_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class ArraySerializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/attributes_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/has_many_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/has_one_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/meta_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/root_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down
1 change: 0 additions & 1 deletion test/unit/active_model/serializer/scope_test.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'test_helper'
require 'active_model/serializer'

module ActiveModel
class Serializer
Expand Down

0 comments on commit e6993c6

Please sign in to comment.