ruby@2.2 2.2.9
This commit is contained in:
parent
d882e0dc4e
commit
603f07cbf8
1 changed files with 5 additions and 8 deletions
|
@ -1,9 +1,8 @@
|
|||
class RubyAT22 < Formula
|
||||
desc "Powerful, clean, object-oriented scripting language"
|
||||
homepage "https://www.ruby-lang.org/"
|
||||
url "https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.8.tar.xz"
|
||||
sha256 "37eafc15037396c26870f6a6c5bcd0658d14b46cd5e191a3b56d89dd22d561b0"
|
||||
revision 1
|
||||
url "https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.9.tar.xz"
|
||||
sha256 "313b44b1105589d00bb30b9cccf7da44d263fe20a2d8d269ada536d4a7ef285c"
|
||||
|
||||
bottle do
|
||||
sha256 "263499f1921a2b3d9e49982052295f3680bcf63211755c2fe02f5f5e599ca9b2" => :high_sierra
|
||||
|
@ -30,8 +29,8 @@ class RubyAT22 < 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 +107,7 @@ class RubyAT22 < 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