Skip to content

Commit

Permalink
Merge pull request #306 from vlad-pisanov/vp_version
Browse files Browse the repository at this point in the history
Always load version.rb, suppress legacy deprecation warning
  • Loading branch information
PikachuEXE authored Sep 23, 2024
2 parents 8be37e8 + 79d3f78 commit b1f5291
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 0 additions & 4 deletions contracts.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,4 @@ Gem::Specification.new do |s|
s.homepage = "https://github.com/egonSchiele/contracts.ruby"
s.license = "BSD-2-Clause"
s.required_ruby_version = [">= 3.0", "< 4"]
s.post_install_message = "
0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released)
For Ruby 3.x use 0.17.x or later
"
end
1 change: 1 addition & 0 deletions lib/contracts.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "contracts/version"
require "contracts/attrs"
require "contracts/builtin_contracts"
require "contracts/decorators"
Expand Down

0 comments on commit b1f5291

Please sign in to comment.