Skip to content

Commit

Permalink
Dropping Rails 2.x support, I think its about time to push people to …
Browse files Browse the repository at this point in the history
…Rails 3
  • Loading branch information
jsmestad committed Dec 16, 2010
1 parent 51b59db commit 778d0cc
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions lib/mongomatic.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
gem "bson", "~> 1.1"
gem "mongo", "~> 1.1"
gem "activesupport", ">= 2.3.5"
gem 'bson', '~> 1.1'
gem 'mongo', '~> 1.1'
gem 'active_support', '>= 3.0'
gem 'i18n', '>= 0.4.1'

require "bson"
require "mongo"
require 'bson'
require 'mongo'

require 'active_support/version'

if ActiveSupport::VERSION::MAJOR == 3
gem 'i18n', '>= 0.4.1'
require 'active_support/core_ext/object/blank' # newer versions of active_support (>= 3.0)
require 'active_support/core_ext/hash' # newer versions of active_support (>= 3.0)
else
require 'active_support'
end
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/hash'

module Mongomatic
class << self
Expand Down

0 comments on commit 778d0cc

Please sign in to comment.