Sha256: 604a9b5111b3724988dbe0003a298847e761a9c033da08ac514af7d447945358

Contents?: true

Size: 571 Bytes

Versions: 1

Compression:

Stored size: 571 Bytes

Contents

# frozen_string_literal: true

require "rubygems"

# :nodoc:
module Authlogic
  # Returns a `::Gem::Version`, the version number of the authlogic gem.
  #
  # It is preferable for a library to provide a `gem_version` method, rather
  # than a `VERSION` string, because `::Gem::Version` is easier to use in a
  # comparison.
  #
  # We cannot return a frozen `Version`, because rubygems will try to modify it.
  # https://github.com/binarylogic/authlogic/pull/590
  #
  # Added in 4.0.0
  #
  # @api public
  def self.gem_version
    ::Gem::Version.new("5.0.2")
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
authlogic-5.0.2 lib/authlogic/version.rb