ruby@2.1: rubygems 2.7.3
This commit is contained in:
parent
603f07cbf8
commit
51f51fa994
1 changed files with 4 additions and 6 deletions
|
@ -3,7 +3,7 @@ class RubyAT21 < Formula
|
|||
homepage "https://www.ruby-lang.org/"
|
||||
url "https://cache.ruby-lang.org/pub/ruby/2.1/ruby-2.1.10.tar.bz2"
|
||||
sha256 "a74675578a9a801ac25eb7152bef3023432d6267f875b198eb9cd6944a5bf4f1"
|
||||
revision 1
|
||||
revision 2
|
||||
|
||||
bottle do
|
||||
sha256 "0dbeb3ff828d3c131a42187993bc5283526dd3a068be973cfcaec33552479e68" => :high_sierra
|
||||
|
@ -30,8 +30,8 @@ class RubyAT21 < Formula
|
|||
# but a revision bump should not be forced every update
|
||||
# unless there are security fixes in that Rubygems release.
|
||||
resource "rubygems" do
|
||||
url "https://rubygems.org/rubygems/rubygems-2.6.14.tgz"
|
||||
sha256 "406a45d258707f52241843e9c7902bbdcf00e7edc3e88cdb79c46659b47851ec"
|
||||
url "https://rubygems.org/rubygems/rubygems-2.7.3.tgz"
|
||||
sha256 "cf234e4f1ffeb7cad951f2f87cd426132c6106bb6e303073c4bc9eaae6b3400b"
|
||||
end
|
||||
|
||||
def program_suffix
|
||||
|
@ -108,9 +108,7 @@ class RubyAT21 < Formula
|
|||
rm_f bin/"gem#{program_suffix}"
|
||||
|
||||
# Drop in the new version.
|
||||
(rg_in/"rubygems").install Dir[buildpath/"vendor_gem/lib/rubygems/*"]
|
||||
rg_in.install buildpath/"vendor_gem/lib/rubygems.rb"
|
||||
rg_in.install buildpath/"vendor_gem/lib/ubygems.rb"
|
||||
rg_in.install Dir[buildpath/"vendor_gem/lib/*"]
|
||||
bin.install buildpath/"vendor_gem/bin/gem" => "gem#{program_suffix}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue