Sha256: 5f75ab752740a28d368b37a4da9e4c4be6abb98f448ffa2d08d9c719928a386f

Contents?: true

Size: 325 Bytes

Versions: 1

Compression:

Stored size: 325 Bytes

Contents

module Rack
  module Protection
    def self.version
      VERSION
    end

    SIGNATURE = [1, 5, 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

1 entries across 1 versions & 1 rubygems

Version Path
rack-protection-1.5.0 lib/rack/protection/version.rb