Skip to content

Commit

Permalink
Remove Unused require
Browse files Browse the repository at this point in the history
It looks like they are left from old design
  • Loading branch information
itsNikolay committed Dec 27, 2017
1 parent bb0e60f commit 773f5e5
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 17 deletions.
2 changes: 0 additions & 2 deletions lib/arel/nodes/node.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true
require 'arel/collectors/sql_string'

module Arel
module Nodes
###
Expand Down
2 changes: 0 additions & 2 deletions lib/arel/select_manager.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true
require 'arel/collectors/sql_string'

module Arel
class SelectManager < Arel::TreeManager
include Arel::Crud
Expand Down
2 changes: 0 additions & 2 deletions lib/arel/tree_manager.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# frozen_string_literal: true
require 'arel/collectors/sql_string'

module Arel
class TreeManager
include Arel::FactoryMethods
Expand Down
3 changes: 0 additions & 3 deletions lib/arel/visitors/to_sql.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# frozen_string_literal: true
require 'bigdecimal'
require 'date'

module Arel
module Visitors
class UnsupportedVisitError < StandardError
Expand Down
2 changes: 0 additions & 2 deletions test/collectors/test_bind.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# frozen_string_literal: true
require 'helper'

require 'arel/collectors/bind'

module Arel
module Collectors
class TestBind < Arel::Test
Expand Down
1 change: 0 additions & 1 deletion test/collectors/test_composite.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

require 'arel/collectors/bind'
require 'arel/collectors/composite'
require 'arel/collectors/sql_string'

module Arel
module Collectors
Expand Down
1 change: 0 additions & 1 deletion test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'rubygems'
require 'minitest/autorun'
require 'fileutils'
require 'arel'

require 'support/fake_record'
Expand Down
1 change: 0 additions & 1 deletion test/nodes/test_binary.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'helper'
require 'set'

module Arel
module Nodes
Expand Down
1 change: 0 additions & 1 deletion test/nodes/test_table_alias.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'helper'
require 'ostruct'

module Arel
module Nodes
Expand Down
1 change: 0 additions & 1 deletion test/visitors/test_depth_first.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# frozen_string_literal: true
require 'helper'
require 'set'

module Arel
module Visitors
Expand Down
2 changes: 1 addition & 1 deletion test/visitors/test_to_sql.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'helper'
require 'set'
require 'bigdecimal'

module Arel
module Visitors
Expand Down

0 comments on commit 773f5e5

Please sign in to comment.