Sha256: c17447fb22679ff671472029bf65856b562567d3f17fe374e703e02b2102c051

Contents?: true

Size: 451 Bytes

Versions: 9

Compression:

Stored size: 451 Bytes

Contents

# version.rb contains <tt>Twitter::Version</tt> that provides helper
# methods related to versioning of the <tt>Twitter4R</tt> project.

module Twitter::Version #:nodoc:
  MAJOR = 0
  MINOR = 3
  REVISION = 1
  class << self
    # Returns X.Y.Z formatted version string
    def to_version
      "#{MAJOR}.#{MINOR}.#{REVISION}"
    end

    # Returns X-Y-Z formatted version name
    def to_name
      "#{MAJOR}_#{MINOR}_#{REVISION}"
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
cerberus-0.8.0 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.9 lib/vendor/twitter/lib/twitter/version.rb
edavis10-cerberus-0.7.8 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.8 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.7 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.6 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.2 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7.5 lib/vendor/twitter/lib/twitter/version.rb
cerberus-0.7 lib/vendor/twitter/lib/twitter/version.rb