Sha256: 0df06091cd1960468dea319cfdb1a023f8b5d89985b013999d8b1b9af658b3aa

Contents?: true

Size: 326 Bytes

Versions: 14

Compression:

Stored size: 326 Bytes

Contents

module Sinatra
  module Contrib
    def self.version
      VERSION
    end

    SIGNATURE = [1, 4, 1]
    VERSION   = SIGNATURE.join('.')

    VERSION.extend Comparable
    def VERSION.<=>(other)
      other = other.split('.').map { |i| i.to_i } if other.respond_to? :split
      SIGNATURE <=> Array(other)
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
scout_realtime-1.0.5 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.4 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.3 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.3.pre lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.2 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.1 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-1.0.0 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.5 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.5.pre lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.4 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.3 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.2 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
scout_realtime-0.5.1 lib/vendor/sinatra-contrib-1.4.1/lib/sinatra/contrib/version.rb
sinatra-contrib-1.4.1 lib/sinatra/contrib/version.rb