Skip to content

Commit

Permalink
Add explicit requires for things in ActiveSupport that Summer needs, …
Browse files Browse the repository at this point in the history
…rather than "all" of ActiveSupport.

With AS 3.0, the previous line here  loads the 'barebones' AS, thereby not loading the HWIA class or the try method.
By specifically loading these two files, we should be only loading the ones which are required.
  • Loading branch information
radar committed Nov 21, 2010
1 parent 7a24975 commit ac53472
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/summer.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require 'socket'
require 'yaml'
require 'active_support'
require 'active_support/hash_with_indifferent_access'
require 'active_support/core_ext/object/try'

Dir[File.dirname(__FILE__) + '/ext/*.rb'].each { |f| require f }

Expand Down

0 comments on commit ac53472

Please sign in to comment.