File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,8 +13,11 @@ Gem::Specification.new do |s|
1313 s . homepage = "https://github.com/egonSchiele/contracts.ruby"
1414 s . license = "BSD-2-Clause"
1515 s . required_ruby_version = [ ">= 3.0" , "< 4" ]
16- s . post_install_message = "
17- 0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released)
18- For Ruby 3.x use 0.17.x or later
19- "
16+
17+ if Contracts ::VERSION < "0.17"
18+ s . post_install_message = "
19+ 0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released)
20+ For Ruby 3.x use 0.17.x or later
21+ "
22+ end
2023end
Original file line number Diff line number Diff line change 11# frozen_string_literal: true
22
3+ require "contracts/version"
34require "contracts/attrs"
45require "contracts/builtin_contracts"
56require "contracts/decorators"
You can’t perform that action at this time.
0 commit comments