Commit ba697508 by Jon Yurek

Removed inexplicable dependencies on action_controller and action_pack

parent b5aea8b1
require 'paperclip/matchers'
require 'action_controller'
module Paperclip
# =Paperclip Shoulda Macros
......
......@@ -9,21 +9,17 @@ case ENV['RAILS_VERSION']
when '2.1' then
gem 'activerecord', '~>2.1.0'
gem 'activesupport', '~>2.1.0'
gem 'actionpack', '~>2.1.0'
when '3.0' then
gem 'activerecord', '~>3.0.0'
gem 'activesupport', '~>3.0.0'
gem 'actionpack', '~>3.0.0'
else
gem 'activerecord', '~>2.3.0'
gem 'activesupport', '~>2.3.0'
gem 'actionpack', '~>2.3.0'
end
require 'active_record'
require 'active_record/version'
require 'active_support'
require 'action_pack'
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment