Sha256: f5f6a9092d4c7743fed920eca35011c6cf307a40371284e86d3e94139ca7ac44

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

module Kuby
  module Utils
    module SemVer
      autoload :Constraint,    'kuby/utils/sem_ver/constraint'
      autoload :ConstraintSet, 'kuby/utils/sem_ver/constraint_set'
      autoload :Version,       'kuby/utils/sem_ver/version'

      def self.parse_version(str)
        Version.parse(str)
      end

      def self.parse_constraints(*strs)
        ConstraintSet.parse(*strs)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kuby-core-0.20.2 lib/kuby/utils/sem_ver.rb
kuby-core-0.20.1 lib/kuby/utils/sem_ver.rb
kuby-core-0.20.0 lib/kuby/utils/sem_ver.rb
kuby-core-0.19.0 lib/kuby/utils/sem_ver.rb
kuby-core-0.18.0 lib/kuby/utils/sem_ver.rb