Skip to content

Commit b1f5291

Browse files
authored
Merge pull request #306 from vlad-pisanov/vp_version
Always load version.rb, suppress legacy deprecation warning
2 parents 8be37e8 + 79d3f78 commit b1f5291

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

contracts.gemspec

-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,4 @@ 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-
"
2016
end

lib/contracts.rb

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# frozen_string_literal: true
22

3+
require "contracts/version"
34
require "contracts/attrs"
45
require "contracts/builtin_contracts"
56
require "contracts/decorators"

0 commit comments

Comments
 (0)