Sha256: cfd8f13c7969331c2b2ee87f4d5caa1983b6fe3680d971d9ab103dfba83bfe92
Contents?: true
Size: 456 Bytes
Versions: 50
Compression:
Stored size: 456 Bytes
Contents
# frozen_string_literal: true # PHP pre-release versions use 1.0.1-rc1 syntax, which Gem::Version # converts into 1.0.1.pre.rc1. We override the `to_s` method to stop that # alteration. module Dependabot module Utils module Php class Version < Gem::Version def initialize(version) @version_string = version.to_s super end def to_s @version_string end end end end end
Version data entries
50 entries across 50 versions & 1 rubygems