Commit ba697508 by Jon Yurek

Removed inexplicable dependencies on action_controller and action_pack

parent b5aea8b1
require 'paperclip/matchers' require 'paperclip/matchers'
require 'action_controller'
module Paperclip module Paperclip
# =Paperclip Shoulda Macros # =Paperclip Shoulda Macros
......
...@@ -9,21 +9,17 @@ case ENV['RAILS_VERSION'] ...@@ -9,21 +9,17 @@ case ENV['RAILS_VERSION']
when '2.1' then when '2.1' then
gem 'activerecord', '~>2.1.0' gem 'activerecord', '~>2.1.0'
gem 'activesupport', '~>2.1.0' gem 'activesupport', '~>2.1.0'
gem 'actionpack', '~>2.1.0'
when '3.0' then when '3.0' then
gem 'activerecord', '~>3.0.0' gem 'activerecord', '~>3.0.0'
gem 'activesupport', '~>3.0.0' gem 'activesupport', '~>3.0.0'
gem 'actionpack', '~>3.0.0'
else else
gem 'activerecord', '~>2.3.0' gem 'activerecord', '~>2.3.0'
gem 'activesupport', '~>2.3.0' gem 'activesupport', '~>2.3.0'
gem 'actionpack', '~>2.3.0'
end end
require 'active_record' require 'active_record'
require 'active_record/version' require 'active_record/version'
require 'active_support' require 'active_support'
require 'action_pack'
puts "Testing against version #{ActiveRecord::VERSION::STRING}" 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