
- Make all `odeprecated` from 2.1.0 `odisabled` instead - Remove dead code that won't be run now - Remove (unused) `or_later` handling for bottles
24 lines
413 B
Ruby
24 lines
413 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Cask
|
|
class DSL
|
|
class Version < ::String
|
|
module Compat
|
|
def dots_to_slashes
|
|
odisabled "#dots_to_slashes"
|
|
end
|
|
|
|
def hyphens_to_slashes
|
|
odisabled "#hyphens_to_slashes"
|
|
end
|
|
|
|
def underscores_to_slashes
|
|
odisabled "#underscores_to_slashes"
|
|
end
|
|
end
|
|
|
|
prepend Compat
|
|
end
|
|
end
|
|
end
|