Sha256: ebe59c04aee85305e4a5c9f0e1926f9a638748b28878327683850c666e383057

Contents?: true

Size: 325 Bytes

Versions: 7

Compression:

Stored size: 325 Bytes

Contents

module Rack
  module Protection
    def self.version
      VERSION
    end

    SIGNATURE = [1, 4, 0]
    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

7 entries across 5 versions & 2 rubygems

Version Path
torquebox-console-0.3.0 vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
torquebox-console-0.2.5 vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
torquebox-console-0.2.5 vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
torquebox-console-0.2.4 vendor/bundle/ruby/1.8/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
torquebox-console-0.2.4 vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
torquebox-console-0.2.3 vendor/bundle/jruby/1.9/gems/rack-protection-1.4.0/lib/rack/protection/version.rb
rack-protection-1.4.0 lib/rack/protection/version.rb