Sha256: 6085e09ce4830a2fd3da24e50362c883d866a381db1d1d06114e92e3b1fbdb84

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, 2]
    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.2 lib/rack/protection/version.rb