Sha256: 9b2d756f6d9002728a6b84a529206dba681089dbf325c9dc81333c3506d43571

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

module Doorkeeper
  module Models
    module Mongoid
      module Version
        def mongoid3?
          ::Mongoid::VERSION.starts_with?('3')
        end

        def mongoid4?
          ::Mongoid::VERSION.starts_with?('4')
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
doorkeeper-1.4.2 lib/doorkeeper/models/mongoid/version.rb
doorkeeper-1.4.1 lib/doorkeeper/models/mongoid/version.rb
doorkeeper-1.4.0 lib/doorkeeper/models/mongoid/version.rb
doorkeeper-1.3.1 lib/doorkeeper/models/mongoid/version.rb
doorkeeper-1.3.0 lib/doorkeeper/models/mongoid/version.rb
doorkeeper-1.2.0 lib/doorkeeper/models/mongoid/version.rb