Skip to content

Commit

Permalink
fix double-loading files
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmacaulay committed Oct 10, 2012
1 parent 4476c0e commit ad93214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shopify_api.rb
Expand Up @@ -21,7 +21,7 @@ def count(options = {})
require 'shopify_api/version'
require 'shopify_api/base'

ignore_files = ['cli.rb']
ignore_files = ['cli.rb', 'limits.rb', 'version.rb', 'base.rb']
Dir[File.join(File.dirname(__FILE__), 'shopify_api', '**/*.rb')].each do |file|
require file unless ignore_files.include?(File.basename(file))
end
Expand Down

0 comments on commit ad93214

Please sign in to comment.