Sha256: 255f7c9ce587ac51d2a0fe8e81360a982daaf68b9998454b7ce7971556c3f8c9
Contents?: true
Size: 588 Bytes
Versions: 1
Compression:
Stored size: 588 Bytes
Contents
# frozen_string_literal: true require "rubygems" 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. # # Perhaps surprisingly, we cannot return a frozen `Version`, because eg. # rubygems (currently) needs to be able to modify it. # https://github.com/binarylogic/authlogic/pull/590 # # @api public def self.gem_version ::Gem::Version.new("4.1.0") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authlogic-4.1.0 | lib/authlogic/version.rb |