Sha256: 43638bc373ef11cf6613f4ff6529430d353e3346e488ab03141aa72ea3523d54

Contents?: true

Size: 349 Bytes

Versions: 3

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

module ActionMailbox
  # Returns the currently-loaded version of Action Mailbox as a <tt>Gem::Version</tt>.
  def self.gem_version
    Gem::Version.new VERSION::STRING
  end

  module VERSION
    MAJOR = 6
    MINOR = 0
    TINY  = 0
    PRE   = nil

    STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
  end
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionmailbox-6.0.0/lib/action_mailbox/gem_version.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/actionmailbox-6.0.0/lib/action_mailbox/gem_version.rb
actionmailbox-6.0.0 lib/action_mailbox/gem_version.rb