Ruby => 3.4.1 (#11066)

* Ruby => 3.4.0, and remove old kernel workarounds.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to ruby

* Add built packages for linux/amd64 to ruby

* Add built packages for linux/arm/v7 to ruby

* dep adjustment for Ruby 3.4

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add gem adjustment for ruby 3.4.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update ruby gems deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust ruby_resolv_replace requirements.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update rubygems package name.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add repl_type_completor package.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update ruby => 3.4.1

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust build to prevent breakage.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust build workflow script.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add workaround for broken rubocop from ruby upgrade.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle case of gem compiler not being installed.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to ruby

* Add built packages for linux/amd64 to ruby

* Add built packages for linux/arm/v7 to ruby

* Update lib/downloader.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update packages/ruby_repl_type_completor.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update tools/build_updated_packages.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update packages/ruby_repl_type_completor.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update tools/build_updated_packages.rb

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Add broken rake invocation workaround.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update Rubygems.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gems and fix gem updater to account for rubygems.org/versions appending updates during the month to the bottom of the file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Sync up logic in buildsystems/ruby.rb and tools/update_ruby_gem_packages.rb

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2024-12-31 13:00:07 -06:00
committed by GitHub
parent 8d044a2c73
commit dce18d8dd9
65 changed files with 54395 additions and 53453 deletions

View File

@@ -1428,7 +1428,12 @@ def archive_package(crew_archive_dest)
if @pkg.superclass.to_s == 'RUBY'
gem_file = "#{@pkg.gem_name}-#{@pkg.gem_version}-#{GEM_ARCH}.gem"
pkg_name = "#{@pkg.name}-#{@pkg.version}-chromeos-#{@device[:architecture]}.gem"
FileUtils.mv File.join(CREW_DEST_DIR, gem_file), File.join(crew_archive_dest, pkg_name)
begin
FileUtils.mv File.join(CREW_DEST_DIR, gem_file), File.join(crew_archive_dest, pkg_name)
rescue Errno::EXDEV
# handle Invalid cross-device link error in containers.
FileUtils.cp File.join(CREW_DEST_DIR, gem_file), File.join(crew_archive_dest, pkg_name)
end
# Only use zstd if it is available.
elsif @pkg.no_zstd? || !File.which('zstd')
puts 'Using xz to compress package. This may take some time.'.lightblue
@@ -1637,6 +1642,7 @@ def copy_package(pkg_name, prompt_msg = '')
# Use rubocop to sanitize package file, and let errors get flagged.
if PackageUtils.installed?('ruby_rubocop')
puts "Using rubocop to sanitize #{pkg_file} .".orange
system 'gem install rubocop' unless Kernel.system('rubocop --help 2>/dev/null', %i[out err] => File::NULL)
system "rubocop -c #{File.join(CREW_LOCAL_REPO_ROOT, '.rubocop.yml')} -A #{pkg_file}", exception: true
else
puts 'Package '.lightred + 'ruby_rubocop'.orange + " is not installed. Rubocop will not be used to sanitize #{pkg_file} . 😔 You may try this: ".lightred + 'crew install ruby_rubocop'.lightblue

View File

@@ -62,7 +62,7 @@ def set_vars(passed_name = nil, passed_version = nil)
$gems ||= BasicCompactIndexClient.new.gems
puts 'Done populating gem information.'.lightgreen
end
gem_test = $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '')}\\s.*$"}/).first.blank? ? $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '').gsub('_', '-')}\\s.*$"}/).first : $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '')}\\s.*$"}/).first
gem_test = $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '')}\\s.*$"}/).last.blank? ? $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '').gsub('_', '-')}\\s.*$"}/).last : $gems.grep(/#{"^#{passed_name.gsub(/^ruby_/, '')}\\s.*$"}/).last
gem_test_name = gem_test.split.first
gem_test_versions = gem_test.split[1].split(',')
# Any version with a letter is considered a prerelease as per
@@ -122,6 +122,7 @@ class RUBY < Package
Kernel.system "gem fetch #{@gem_name} --platform=ruby --version=#{@gem_version}"
Kernel.system "gem unpack #{@gem_name}-#{@gem_version}.gem"
system 'gem install gem-compiler' unless Kernel.system('gem compile --help 2>/dev/null', %i[out err] => File::NULL)
Kernel.system "gem compile --strip --prune #{@gem_name}-#{@gem_version}.gem -O #{CREW_DEST_DIR}/"
@just_built_gem = true
end

View File

@@ -3,7 +3,7 @@
require 'etc'
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
CREW_VERSION ||= '1.56.4' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
CREW_VERSION ||= '1.56.5' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
# Kernel architecture.
KERN_ARCH ||= Etc.uname[:machine]

View File

@@ -29,7 +29,8 @@ require_gem('ptools')
begin
require 'securerandom'
require 'resolv-replace'
# resolv-replace is no longer needed with ruby 3.4
require 'resolv-replace' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.4.0')
require 'net/http'
rescue RuntimeError => e
# hide the error message and fallback to curl if securerandom raise an error

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -4,29 +4,42 @@ require 'package'
class Bundled_gems < Package
description 'Ruby Bundled Gem Packages.'
homepage 'https://stdgems.org/'
version "2024092800-#{CREW_RUBY_VER}"
version "2024123018-#{CREW_RUBY_VER}"
license 'GPL-3+'
compatibility 'all'
source_url 'SKIP'
is_fake
depends_on 'ruby_abbrev'
depends_on 'ruby_base64'
depends_on 'ruby_bigdecimal'
depends_on 'ruby_csv'
depends_on 'ruby_debug'
depends_on 'ruby_did_you_mean'
depends_on 'ruby_drb'
depends_on 'ruby_getoptlong'
depends_on 'ruby_matrix'
depends_on 'ruby_minitest'
depends_on 'ruby_mutex_m'
depends_on 'ruby_net_ftp'
depends_on 'ruby_net_imap'
depends_on 'ruby_net_pop'
depends_on 'ruby_net_smtp'
depends_on 'ruby_net_telnet'
depends_on 'ruby_nkf'
depends_on 'ruby_observer'
depends_on 'ruby_power_assert'
depends_on 'ruby_prime'
depends_on 'ruby_racc'
depends_on 'ruby_rake'
depends_on 'ruby_rbs'
depends_on 'ruby_repl_type_completor'
# depends_on 'ruby_resolv_replace'
depends_on 'ruby_rexml'
depends_on 'ruby_rinda'
depends_on 'ruby_rss'
depends_on 'ruby_syslog'
depends_on 'ruby_test_unit'
depends_on 'ruby_typeprof'
depends_on 'ruby_xmlrpc'

View File

@@ -4,7 +4,7 @@ require 'package'
class Default_gems < Package
description 'Ruby Default Gem Packages.'
homepage 'https://stdgems.org/'
version "2024092800-#{CREW_RUBY_VER}"
version "2024123018-#{CREW_RUBY_VER}"
license 'GPL-3+'
compatibility 'all'
source_url 'SKIP'
@@ -73,11 +73,12 @@ class Default_gems < Package
depends_on 'ruby_readline_ext'
depends_on 'ruby_reline'
depends_on 'ruby_resolv'
depends_on 'ruby_resolv_replace'
# depends_on 'ruby_resolv_replace'
depends_on 'ruby_rexml'
depends_on 'ruby_rinda'
depends_on 'ruby_rss'
depends_on 'ruby_ruby2_keywords'
depends_on 'ruby_rubygems_update'
depends_on 'ruby_scanf'
depends_on 'ruby_sdbm'
depends_on 'ruby_securerandom'

View File

@@ -3,7 +3,7 @@ require 'package'
class Ruby < Package
description 'Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.'
homepage 'https://www.ruby-lang.org/en/'
version '3.3.6' # Do not use @_ver here, it will break the installer.
version '3.4.1' # Do not use @_ver here, it will break the installer.
license 'Ruby-BSD and BSD-2'
compatibility 'all'
source_url 'https://github.com/ruby/ruby.git'
@@ -11,10 +11,10 @@ class Ruby < Package
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'b9513fdcba659ef938a74ab3b0a7615bba7600cb70f75e839ea311cb6a77dc47',
armv7l: 'b9513fdcba659ef938a74ab3b0a7615bba7600cb70f75e839ea311cb6a77dc47',
i686: 'ba0cf252f0ecdbdf3895464b3304c799390ec256981c67f868c1298186877e85',
x86_64: 'ed10371a0e72451fe98dcb37fa51760c34928e9cf8e677e0e5e62e94e09cbf9e'
aarch64: 'f4a7b29463268c3f3b3a06265c6bf17122b6487bd878bbf55438999daa7e1884',
armv7l: 'f4a7b29463268c3f3b3a06265c6bf17122b6487bd878bbf55438999daa7e1884',
i686: '01b9d4094733fb34c48ad611377de6f97b1137073af7ee7617d23abe6d8fdb39',
x86_64: '417c248d4921fd5cf07569f358957528e42c293e6f7f759786fcc874f3738c7e'
})
depends_on 'ca_certificates' # L
@@ -32,11 +32,6 @@ class Ruby < Package
# at run-time, system's gmp, openssl, and zlib can be used
def self.prebuild
# See https://github.com/chromebrew/chromebrew/issues/10724#issuecomment-2466486461
abort 'Please build with CREW_KERNEL_VERSION=3.10'.orange if %w[armv7l aarch64].include?(ARCH) && Gem::Version.new(CREW_KERNEL_VERSION) > Gem::Version.new('3.10')
end
def self.build
system '[ -x configure ] || autoreconf -fiv'
system "RUBY_TRY_CFLAGS='stack_protector=no' \
@@ -71,6 +66,9 @@ class Ruby < Package
def self.postinstall
puts 'Updating ruby gems. This may take a while...'
silent = @opt_verbose ? '' : '--silent'
# install for Ruby 3.4
system 'gem uninstall resolv-replace', exception: false
system 'gem install highline ptools'
system "gem update #{silent} -N --system", exception: false
end
end

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_activesupport < RUBY
description 'A toolkit of support libraries and Ruby core extensions extracted from the Rails framework.'
homepage 'https://rubyonrails.org/'
version "8.0.0-#{CREW_RUBY_VER}"
version "8.0.1-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_bigdecimal < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '4aebe17d79164bff3f7473ac196af5d0ce0938c31edecf0f67d4b3b99f6302cc',
armv7l: '4aebe17d79164bff3f7473ac196af5d0ce0938c31edecf0f67d4b3b99f6302cc',
i686: 'de1403e68c6841d016daad673eccdde00bed474698224699489cef35c67de518',
x86_64: '4cb719cc3819e013271a6995f91953f08faa173f628daf0bb56339032207b497'
aarch64: '6f83b65983097fe238cc21e29cc7994182828f2a10f9e193d4683c35a8fd5c5a',
armv7l: '6f83b65983097fe238cc21e29cc7994182828f2a10f9e193d4683c35a8fd5c5a',
i686: 'f3e1120d5707bee46d5d0d8c7dda45ca8c3da1fb62224803742528cdbc25f0f2',
x86_64: 'd7627122a608700c9b1322b71e553ec19554b02359acdc700aa29c37290297fc'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_bundler < RUBY
description "Bundler manages an application's dependencies through its entire life, across many machines, systematically and repeatably."
homepage 'https://bundler.io'
version "2.5.21-#{CREW_RUBY_VER}"
version "2.6.2-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_csv < RUBY
description 'The csv library provides a complete interface to csv files and data.'
homepage 'https://github.com/ruby/csv'
version "3.3.0-#{CREW_RUBY_VER}"
version "3.3.2-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_dbm < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '25d29549098fda31a380451bdf1e2a94d251702be49d37145dc1bfa8024ebef4',
armv7l: '25d29549098fda31a380451bdf1e2a94d251702be49d37145dc1bfa8024ebef4',
i686: 'be5aad368aa33ea7e5dbbf64c5a0ea92442e34b0bbae99caeda5bc469dd6fe40',
x86_64: 'f8762a798f3421e4a1d6af87077d45bdbc6d8dda50a611d8cffb79feb12bdbc9'
aarch64: 'fd9835fe70bd21049a79b6c72f1b1aecd0bdb9e9f287317d7ac1e5d84e6445fb',
armv7l: 'fd9835fe70bd21049a79b6c72f1b1aecd0bdb9e9f287317d7ac1e5d84e6445fb',
i686: 'eb9258697d79caa82143f9e61ea51d522c1c2341e524fdcda99674cedeed9be0',
x86_64: 'b21fb3132169637c38e1bae6c011e99b318f69a66e7d2826cb9a5da992933de3'
})
conflicts_ok

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_debug < RUBY
description 'The debug library provides debugging functionality to Ruby (MRI) 2.7 and later.'
homepage 'https://github.com/ruby/debug'
version "1.9.2-#{CREW_RUBY_VER}"
version "1.10.0-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: '7bbdab6908ec124f2cfaaf6d93c23a522018993ff4426cf5274160bc2eb7836e',
armv7l: '7bbdab6908ec124f2cfaaf6d93c23a522018993ff4426cf5274160bc2eb7836e',
i686: '9403b227db36447ab2cf41eed7cb63b3ac9703dd2deddd1d7297eda38a8eab12',
x86_64: '2b701d2dd3b61b89da53aa557d5d88ce031fe3ac959f4ff0d966ca62bc504dc1'
aarch64: 'a2e20733b547ec3c4213bd402ef4a33eedbfed7da7c0f0e423bb31b76963e8ff',
armv7l: 'a2e20733b547ec3c4213bd402ef4a33eedbfed7da7c0f0e423bb31b76963e8ff',
i686: 'c8053721a5c8875f4a36ed66f7aa067f175de923e60ad43ed120cee991c74039',
x86_64: 'c0a9aa18722f3afd924eb9ddcc6595e2efd22752c76f19a462334b2ee1988057'
})
depends_on 'ruby_reline' # R

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_did_you_mean < RUBY
description 'The gem that has been saving people from typos since 2014.'
homepage 'https://github.com/ruby/did_you_mean'
version "1.6.3-#{CREW_RUBY_VER}"
version "2.0.0-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_erb < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '0986a9e0089953cdf765538644a1cbb300b97ce84e365205e20b8292bf4096d8',
armv7l: '0986a9e0089953cdf765538644a1cbb300b97ce84e365205e20b8292bf4096d8',
i686: '477705a3f016d0163fe1b10ddecf52f4e8556d0ebc890edfe215de5bbddd3a0f',
x86_64: '129394d92d6b217e01353d476c3bb1a64dd95414e6ef623ce674c83a3eada1ab'
aarch64: '20386ddf0f42eace56dda587c2f24cc2b0ac561ebf798f940e0b540e9b6f5e08',
armv7l: '20386ddf0f42eace56dda587c2f24cc2b0ac561ebf798f940e0b540e9b6f5e08',
i686: '9634bed863357b5de28b541020b2f2db16505dda744ab8f83caf7babbd0c12c9',
x86_64: 'e2c3d4bd5c15bc13e610f7ea52bbe70876eede8674bc2a27f281c169ab1b95dd'
})
depends_on 'ruby_cgi' # R

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_error_highlight < RUBY
description 'The gem enhances exception#message by adding a short explanation where the exception is raised.'
homepage 'https://github.com/ruby/error_highlight'
version "0.6.0-#{CREW_RUBY_VER}"
version "0.7.0-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_etc < RUBY
description 'Provides access to information typically stored in unix /etc directory.'
homepage 'https://github.com/ruby/etc'
version "1.4.4-#{CREW_RUBY_VER}"
version "1.4.5-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: '896c7745514e3b45b4ff9c6a20f0f14197d6ca4efc48fc8ba80bc81bc754f5b6',
armv7l: '896c7745514e3b45b4ff9c6a20f0f14197d6ca4efc48fc8ba80bc81bc754f5b6',
i686: '32ecbd4e6c5f6096b9116a4937eeef64df17f64abbc4a815eb54dadbc1658a9a',
x86_64: '69e46a65066e7e277687a99439c2b5664280b5c56518105757ac9919b2b6d016'
aarch64: '024c05673730fc7daf911de1d6e55c6f356f5b117624bbc7c1518e5e94dbb43c',
armv7l: '024c05673730fc7daf911de1d6e55c6f356f5b117624bbc7c1518e5e94dbb43c',
i686: '4d3ad83bec00f97af032b3fed1bf48f3bd6ba42db564a2fa7bf0f33267c441c5',
x86_64: 'd26b0e71c5acff7122cf438fe0031b510c40e834195a4d88cd72817653ed4100'
})
conflicts_ok

View File

@@ -10,10 +10,10 @@ class Ruby_fcntl < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '5c70a361da3cedbac596ce40bfe1807a0a5a263cedeb290aa7db99abe65793f8',
armv7l: '5c70a361da3cedbac596ce40bfe1807a0a5a263cedeb290aa7db99abe65793f8',
i686: '1af766faa607737239f2e96a9991e56610ae9e666e9f848627061922276a1b84',
x86_64: '5d7e8d0d5620baf40e0c091099b8aa5e1c9e37058efcfdeabb43876b545d2c05'
aarch64: 'd12c37dd64e2036ace6a1d821945cbe1f37e286f95d6c76acddd48c50910f06c',
armv7l: 'd12c37dd64e2036ace6a1d821945cbe1f37e286f95d6c76acddd48c50910f06c',
i686: '4c750bb1529ee671825c9ac0c005293736cf4b773b953281066a86bc156873a4',
x86_64: '6d1b4297d4637b6c7a0f6ca7d5f078a6fd4475e184f71417f0f71d84ea7b8559'
})
conflicts_ok

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_fiddle < RUBY
description 'A libffi wrapper for ruby.'
homepage 'https://github.com/ruby/fiddle'
version "1.1.5-#{CREW_RUBY_VER}"
version "1.1.6-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'ae51eed09acce2e7226f885ced440678e4504e967ddbeaa3818e94735649da6b',
armv7l: 'ae51eed09acce2e7226f885ced440678e4504e967ddbeaa3818e94735649da6b',
i686: 'f0d72080c63dd659e383f3d6424e3bd8698627603fc66b898d7961f7fa4e8bc4',
x86_64: '691e45fedbfbc0d59c5fe0a0e2d7eae4f38ccdfc0a4cc1c0feeff25f359d500e'
aarch64: 'adabccd39e60519d5e841bb944f9b1901706d6f6a0ff96d652c9b45e88bc3db0',
armv7l: 'adabccd39e60519d5e841bb944f9b1901706d6f6a0ff96d652c9b45e88bc3db0',
i686: 'f9fcc22e3efc5f42a821b46f12ec5a6824ec0871e63c76da65f28808cf7df4bc',
x86_64: '53945142f943d053fb5bb16b26fb2475609ba946c008d0bf7e79b07ee65c1bf8'
})
conflicts_ok

View File

@@ -10,10 +10,10 @@ class Ruby_gdbm < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '189ed64b1386a53ca1947d42d768cffc1967ac4ec0f9c7a1969c00808bd5be80',
armv7l: '189ed64b1386a53ca1947d42d768cffc1967ac4ec0f9c7a1969c00808bd5be80',
i686: 'e67e801843fe384f64494901707580e31dd18d3ff1fd6fecd4bc72c1d57ea42a',
x86_64: 'c1697765011754fc803a457b9a3dc284dffbb7e743e79ab793dd1c0b8ea36714'
aarch64: '3514768aca721d902ca8272e90c3d7d51da3c9ab2d79eecc134c73eafb0b89c0',
armv7l: '3514768aca721d902ca8272e90c3d7d51da3c9ab2d79eecc134c73eafb0b89c0',
i686: '761a94f6c28950a901e4b32ed0a48be3d0c3e99c1d97e26ce2ff997af0bca173',
x86_64: 'efcbc3eacf91acc1569673e9bf3d7ce2ddcd7f933abd64a0f2471f25b7fe3ec9'
})
conflicts_ok

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_io_console < RUBY
description 'add console capabilities to IO instances.'
homepage 'https://github.com/ruby/io-console'
version "0.7.2-#{CREW_RUBY_VER}"
version "0.8.0-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: '06f4f3a330dc32702312c8e780befe38a806952fa5b9696d5312f4ff90a25ab5',
armv7l: '06f4f3a330dc32702312c8e780befe38a806952fa5b9696d5312f4ff90a25ab5',
i686: '6f40b9e68df8b61181ef3d5ca2cf98e93686dc29f3d3f276b75946f11f8e3644',
x86_64: 'a83756be0c64cd9c86b679e71e9f29e7d4f82bd0f330c663d1b44ae0c1ce76ce'
aarch64: '6dd328b99a72d54a5bc932f71844881541a3a13f52c64e37c18547901ca24c3d',
armv7l: '6dd328b99a72d54a5bc932f71844881541a3a13f52c64e37c18547901ca24c3d',
i686: 'c117feb1dccfc6f5ecefea5a93ffed89f50351bff70a0953aee0b88e73f610eb',
x86_64: 'a6d663b33e4e55483dd0cad9ab16798a66a734b6d580c9a9ea2ede3ad6cc71e7'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_io_nonblock < RUBY
description 'Enables non-blocking mode with io class.'
homepage 'https://github.com/ruby/io-nonblock'
version "0.3.0-#{CREW_RUBY_VER}"
version "0.3.1-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_irb < RUBY
description 'Interactive Ruby command-line tool for REPL (Read Eval Print Loop).'
homepage 'https://github.com/ruby/irb'
version "1.14.1-#{CREW_RUBY_VER}"
version "1.14.3-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_json < RUBY
description 'This is a JSON implementation as a Ruby extension in C.'
homepage 'https://flori.github.io/json'
version "2.8.2-#{CREW_RUBY_VER}"
version "2.9.1-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'f51468aaea4dc1471c397d7b05e62422610895defb5f8805515d76c46b7cfa29',
armv7l: 'f51468aaea4dc1471c397d7b05e62422610895defb5f8805515d76c46b7cfa29',
i686: 'e232a0d7c4142535c9e36c09fdf6985f8b673f3fab874c7a751d31c519b117be',
x86_64: 'c90e36d7800d7c9216f9d60d788a798e42f4fb9eaf4dc2e40c696054d0635b35'
aarch64: 'a4c3d6ad62657a4edc82911981dd617b8f270e76b160f59d6f590aee86b26d5c',
armv7l: 'a4c3d6ad62657a4edc82911981dd617b8f270e76b160f59d6f590aee86b26d5c',
i686: '77891fdaaf2316852adeaa293e5a072eecd5eaa4c8281e1a56053746e5ad3689',
x86_64: '2a67638b26f450166d3d26dc01a57b7bff3fe1010fbc0af714e56192f77a3cfa'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_logger < RUBY
description 'Provides a simple logging utility for outputting messages.'
homepage 'https://github.com/ruby/logger'
version "1.6.1-#{CREW_RUBY_VER}"
version "1.6.4-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_minitest < RUBY
description 'minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking.'
homepage 'https://github.com/minitest/minitest'
version "5.25.1-#{CREW_RUBY_VER}"
version "5.25.4-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_net_http < RUBY
description 'Http client api for ruby.'
homepage 'https://github.com/ruby/net-http'
version "0.5.0-#{CREW_RUBY_VER}"
version "0.6.0-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_net_imap < RUBY
description 'Ruby client api for Internet Message Access Protocol'
homepage 'https://github.com/ruby/net-imap'
version "0.5.1-#{CREW_RUBY_VER}"
version "0.5.4-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_nkf < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: 'f76034be15e74aa3dc14e7071e1a79d73a022ddfbeba5621f283ff04e15a7489',
armv7l: 'f76034be15e74aa3dc14e7071e1a79d73a022ddfbeba5621f283ff04e15a7489',
i686: '81dea3a802feefcce7346d10d1b8bc957558414b9ac69a7305e80dfed71b5621',
x86_64: '4a75a328bc63d0c4dae333acb230dae3df61809c50880cf7b3fe69078ac2f7f9'
aarch64: '6d253a775655cb03ae0a30d3d3d638844d9735df3629a166a79d3f012d488b14',
armv7l: '6d253a775655cb03ae0a30d3d3d638844d9735df3629a166a79d3f012d488b14',
i686: '30a5076b3fe7c6f5fe8094b8443d345138c4c98c09cc9e28d82127097fcb97fb',
x86_64: '37184992d5efe2dc2e5c3f1cf08a16219655f3dcec0a996103004f82cc4496c8'
})
conflicts_ok

View File

@@ -10,10 +10,10 @@ class Ruby_pathname < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: 'be0b6a326ee13db3a877dd9ebd230ba55a6bd6a5b13d2905435ec25494bea643',
armv7l: 'be0b6a326ee13db3a877dd9ebd230ba55a6bd6a5b13d2905435ec25494bea643',
i686: '914c1d0cca87b8d87d8cd1e50a43eff9ee63a4b71277db918aac3320fd0dac18',
x86_64: 'a16e9673646b917273395c96ca05238a2a44f448d497d8a1033c742415dc19aa'
aarch64: 'dbfe41b7683b7c3efc0710be58460e3ac2de0a66a03ffa225c39ec1283b132eb',
armv7l: 'dbfe41b7683b7c3efc0710be58460e3ac2de0a66a03ffa225c39ec1283b132eb',
i686: '80df189ff31aa90245c1dcca3334c508ca9f5d3927dfd5c75a42986fb6a30510',
x86_64: 'ee8391154644f784ad6973affb92af5bf70a5cba0317f9383784c38b71fa275c'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_power_assert < RUBY
description 'Power assert shows each value of variables and method calls in the expression.'
homepage 'https://github.com/ruby/power_assert'
version "2.0.4-#{CREW_RUBY_VER}"
version "2.0.5-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_pp < RUBY
description 'Provides a prettyprinter for ruby objects.'
homepage 'https://github.com/ruby/pp'
version "0.6.1-#{CREW_RUBY_VER}"
version "0.6.2-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_prism < RUBY
description 'Prism is a parser for the Ruby programming language.'
homepage 'https://github.com/ruby/prism'
version "1.2.0-#{CREW_RUBY_VER}"
version "1.3.0-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'bffa8b1d4eee87a87c4573a8be2e4d2a5f779192bbb7e2fcf67a61decda7e64c',
armv7l: 'bffa8b1d4eee87a87c4573a8be2e4d2a5f779192bbb7e2fcf67a61decda7e64c',
i686: 'c3193648ed769005feb82416aa8051b20851dcc5451e0cf7e383c77502997faf',
x86_64: 'e96a488132112a2137ee49647fca18d571a231018ffa8215c4e03657a5295cb2'
aarch64: 'f2c39f15d96f653b034fe37f11d8ab03f87a4885b15a0bd948431634f366b77f',
armv7l: 'f2c39f15d96f653b034fe37f11d8ab03f87a4885b15a0bd948431634f366b77f',
i686: '08982eda391aa25421937df5a4c7b98b7a910ec11ef0ecd5733a27dbba6d7fd5',
x86_64: '73c7ec0d75c63e08250a6231ee5af12395cf6181c497a17fea943747467bc3fb'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_pry < RUBY
description 'Pry is a runtime developer console and IRB alternative with powerful introspection capabilities.'
homepage 'https://github.com/pry/pry'
version "0.14.2-#{CREW_RUBY_VER}"
version "0.15.2-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_pstore < RUBY
description 'Transactional file storage for ruby objects.'
homepage 'https://github.com/ruby/pstore'
version "0.1.3-#{CREW_RUBY_VER}"
version "0.1.4-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_racc < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '58f574de45e03714cb7a8d106f75eb748ed4e058eb32918ab8af6e4bb73d6978',
armv7l: '58f574de45e03714cb7a8d106f75eb748ed4e058eb32918ab8af6e4bb73d6978',
i686: 'e3a436a103ff7f3654829f44485c335f8662d4f28ff1595e11d68367f4152a4c',
x86_64: '4aeda24a163aad7f64c91a3adfeaf38f9f0c5e5570216dcc3e8c6943a3eb727a'
aarch64: 'd463a733734336c4087fc9f578e1161a9f32e754f5931de3f562543839555bcc',
armv7l: 'd463a733734336c4087fc9f578e1161a9f32e754f5931de3f562543839555bcc',
i686: 'aa6668bf2079ec35e8888b12889dab02a169f982d3a1fcc0b6b356c1643e8afe',
x86_64: '923654c7e27ba05b10a28bd4f008e789b1455a053ad379de6b7c7b4208586756'
})
conflicts_ok

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_rbs < RUBY
description 'RBS is the language for type signatures for Ruby and standard library definitions.'
homepage 'https://github.com/ruby/rbs'
version "3.7.0.dev.1-#{CREW_RUBY_VER}"
version "3.8.1-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: '9aac42ca5933c04dbe66a9b89dc25eb24539e0554b0f644031447c0ba11b976b',
armv7l: '9aac42ca5933c04dbe66a9b89dc25eb24539e0554b0f644031447c0ba11b976b',
i686: 'b254575b4b018b5a4d35b2b8a24a510fa853d00468fb2200d1251c1fc7db3b39',
x86_64: 'b2d3febffd8deae2d7da7e82b107b5f4b6fbc6f101b89c2f4760826f4415dd73'
aarch64: 'fb08c7a4ae60e63a3f89b79812e7ac1b40b1ea3d0443501b263219884b8360bf',
armv7l: 'fb08c7a4ae60e63a3f89b79812e7ac1b40b1ea3d0443501b263219884b8360bf',
i686: '0f27358ab1643c378be019237d2f086cac2e59ce5eae785ed8552ecac133f432',
x86_64: 'd2d3178becf860898c8f4ebdadcbefef31f0a75e1cc484829ff14313f613c7b7'
})
depends_on 'ruby_abbrev' # R

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_rdoc < RUBY
description 'RDoc produces HTML and command-line documentation for Ruby projects.'
homepage 'https://ruby.github.io/rdoc'
version "6.8.1-#{CREW_RUBY_VER}"
version "6.10.0-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_readline_ext < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '660035a29391abafd83eff684f0e43b4a4575ec3f437e4654d3b07c53f077bc9',
armv7l: '660035a29391abafd83eff684f0e43b4a4575ec3f437e4654d3b07c53f077bc9',
i686: '866be315140a24aa0b2d9a762d7cd7b355d54ee5310b301a576cd89c3cbc245c',
x86_64: '5214e295cc09f6e74c0e58a65b7d213ef0d4f07511bb64c83987e6ad3868f738'
aarch64: '2d279fe49a1e4288894174f550f1af00e25016faca6bb36ec37baabd566ee1b7',
armv7l: '2d279fe49a1e4288894174f550f1af00e25016faca6bb36ec37baabd566ee1b7',
i686: '40344f5aa782feb32a556ac4bb5b9d8f84605f9065d0f7ffd65307a9006b0c7a',
x86_64: '0e121aa723be9b294b25717b2da9815a92675f540afff310b2f92885ea26f2cc'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_reline < RUBY
description 'Alternative GNU Readline or Editline implementation by pure Ruby.'
homepage 'https://github.com/ruby/reline'
version "0.5.10-#{CREW_RUBY_VER}"
version "0.6.0-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -0,0 +1,16 @@
require 'buildsystems/ruby'
class Ruby_repl_type_completor < RUBY
description 'Type based completion for REPL.'
homepage 'https://github.com/ruby/repl_type_completor'
version "0.1.9-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
depends_on 'ruby_prism' # R
depends_on 'ruby_rbs' # R
conflicts_ok
no_compile_needed
end

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_resolv < RUBY
description 'Thread-aware dns resolver library in ruby.'
homepage 'https://github.com/ruby/resolv'
version "0.5.0-#{CREW_RUBY_VER}"
version "0.6.0-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'c28efd69d8d6e2a04ede2b3d61f68427a8350678f01dcc3b27f2af267016c56c',
armv7l: 'c28efd69d8d6e2a04ede2b3d61f68427a8350678f01dcc3b27f2af267016c56c',
i686: 'aa700af01d3abca7808f2d9f77273bcbf552d92771982206ce6b57e38682adde',
x86_64: '3ac05f4dcd9478ceb1ed1268f00dda03b990423334867be9a4295814c4896fe7'
aarch64: 'ce2ddf54e80e8f1a5e6a5622597a6a431640536b6dda39880cfe641d5cd4465d',
armv7l: 'ce2ddf54e80e8f1a5e6a5622597a6a431640536b6dda39880cfe641d5cd4465d',
i686: '1ea007a73c93e6166898dd4b790723ed448c0497f8d3bf306d98039f95aa4214',
x86_64: '1925a07fc0a51f19dbf696da1e8e8e1dd360a8dbdf6a2771b5c4c3551dce1fd1'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_rexml < RUBY
description 'An XML toolkit for Ruby'
homepage 'https://github.com/ruby/rexml'
version "3.3.9-#{CREW_RUBY_VER}"
version "3.4.0-#{CREW_RUBY_VER}"
license 'BSD-2-Clause'
compatibility 'all'
source_url 'SKIP'

View File

@@ -6,7 +6,7 @@ require 'buildsystems/ruby'
class Ruby_rubocop < RUBY
description 'A Ruby static code analyzer and formatter'
homepage 'https://rubocop.org'
version "1.66.1-#{CREW_RUBY_VER}"
version "1.69.2-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_ruby_libversion < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: 'b82794a10b04fa6041bdf836a300527704b87db1cbf167a545f38456899e1dcf',
armv7l: 'b82794a10b04fa6041bdf836a300527704b87db1cbf167a545f38456899e1dcf',
i686: '2b2dadb3a8d2a0289bd40558fd5d3ef8b25e31157eb9a02558369c9e47b1783b',
x86_64: 'ab7b4acda26268bca9fd13a88db52113ac7b99a4e906f26f41fda5f72b2beb58'
aarch64: 'ec87b38fb09bdff6bf2f5b89c4f4eb275078407234fe7e4bdcad0eef676edab6',
armv7l: 'ec87b38fb09bdff6bf2f5b89c4f4eb275078407234fe7e4bdcad0eef676edab6',
i686: 'd1ff6e76b3ab134b5a1cc3fc0fdb314930f7aa3b87eb4e0eb1e846d75cd19069',
x86_64: '513694e8aaa844a72bcf2c9dcbd75ea3f0b23d743d583c5b2028a6809b811362'
})
depends_on 'libversion' # R

View File

@@ -3,11 +3,15 @@ require 'buildsystems/ruby'
class Ruby_rubygems_update < RUBY
description 'RubyGems is a package management framework for Ruby.'
homepage 'https://github.com/rubygems/rubygems'
version "3.5.21-#{CREW_RUBY_VER}"
version "3.6.2-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
conflicts_ok
no_compile_needed
def postinstall
system 'gem update -N --system'
end
end

View File

@@ -10,10 +10,10 @@ class Ruby_sdbm < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '8cf08be1c22c953862291b9adedb0ad4cfe9fcb1871cd08bbb7cc9fe678ec48f',
armv7l: '8cf08be1c22c953862291b9adedb0ad4cfe9fcb1871cd08bbb7cc9fe678ec48f',
i686: '0fcec40c41dce5523928803999f9bbb38736dc079086a906911902b038cb9bca',
x86_64: 'bc762fd9fad242df80416ab00fe1ba4cff8a778dc9888963d7ee917630e9d830'
aarch64: 'ec6e32d972b86e80dec1fa13b45f98c3b5fe7bfbf05bca6a616b58d54bb0aff8',
armv7l: 'ec6e32d972b86e80dec1fa13b45f98c3b5fe7bfbf05bca6a616b58d54bb0aff8',
i686: 'b53d96f851a19e8ae95b7eeb009dff8192655479408a1b88b85e3bfd230e68b3',
x86_64: '7ec5550b8f9d7851a42b193f8beb36f7c9f8830e97c03e4407d31cbe52fd0e3f'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_securerandom < RUBY
description 'Interface for secure random number generator.'
homepage 'https://github.com/ruby/securerandom'
version "0.3.2-#{CREW_RUBY_VER}"
version "0.4.1-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_shellwords < RUBY
description 'Manipulates strings with word parsing rules of unix bourne shell.'
homepage 'https://github.com/ruby/shellwords'
version "0.2.1-#{CREW_RUBY_VER}"
version "0.2.2-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -10,10 +10,10 @@ class Ruby_stringio < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '1ba3f6cd5a6ce7da06ba2764fa543c43c366b9c8110f73966ee98b143ff1b5b3',
armv7l: '1ba3f6cd5a6ce7da06ba2764fa543c43c366b9c8110f73966ee98b143ff1b5b3',
i686: '91d5249bd0f1c55f6bb8dbb448e3e5aed00a7332d901b1336912a8e51730297f',
x86_64: '3f0acdab152899c3b4bd9067513eaaac7b688606a4f08524b8b52b3c360d46f9'
aarch64: '18e05f38a4e6c1c48225d56f88bcf458bc2efa8931b12cbaae01fd709819be74',
armv7l: '18e05f38a4e6c1c48225d56f88bcf458bc2efa8931b12cbaae01fd709819be74',
i686: '9c43d6d403bc481fbfce2acb640f8ff96d1fabc77980fd52df76fff7aff2856c',
x86_64: 'e54382155a8cf7922dfcfc2b3abe921b998bd9f34ceb0f586a698319e652adf8'
})
conflicts_ok

View File

@@ -10,10 +10,10 @@ class Ruby_strscan < RUBY
binary_compression 'gem'
binary_sha256({
aarch64: '51c1cbbac26cd4625d999e2c074807e057e9a504a8f2e274178db047cef2b15c',
armv7l: '51c1cbbac26cd4625d999e2c074807e057e9a504a8f2e274178db047cef2b15c',
i686: 'a79e1f744507fbb733381a41afe31a43a6faed87286548cb778b499a464dca20',
x86_64: '1153ee8ee70684e1b78ca6fe1fef313ef256079fe468a3a5a556de2f2659ef52'
aarch64: 'c972769c684978ee9ef03ca6dc04da9c12dc80d9389a8949d2e018d67f6fb064',
armv7l: 'c972769c684978ee9ef03ca6dc04da9c12dc80d9389a8949d2e018d67f6fb064',
i686: '013d5e27649cae733eb07456ad4e28a4d474b711d2569e89b82af685c1b1d789',
x86_64: '74f89fc9209cb824c54f160abe5436a5a5cac0dabe43c19ff7142896172d9ba0'
})
conflicts_ok

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_syslog < RUBY
description 'Ruby interface for the posix system logging facility.'
homepage 'https://github.com/ruby/syslog'
version "0.1.2-#{CREW_RUBY_VER}"
version "0.2.0-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'fc77ea7296e23557fbcf60c4d6330505130c64b8abf73df9d1aee97b9de0dd8d',
armv7l: 'fc77ea7296e23557fbcf60c4d6330505130c64b8abf73df9d1aee97b9de0dd8d',
i686: '6ef29336b29f7af269568514ac0b37b4030fc81e6df8c76f40da485f9d8f372b',
x86_64: 'ef27e07ef618b81865de5c5146330eb9c9e95a44245b0838a8c93769a498a611'
aarch64: '81b13fdc61b3542a2f7360c1c21cb20b3a110980cf99578298fc7167efeab08f',
armv7l: '81b13fdc61b3542a2f7360c1c21cb20b3a110980cf99578298fc7167efeab08f',
i686: 'aa3c9772c62f13a2172727401af48b69ed4e36ab0dc40e64d2fc34b85c8db660',
x86_64: '77047584b502ea58802df28cf5941e7ee7dbb454a4dc2de96df405cf052b8efb'
})
conflicts_ok

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_test_unit < RUBY
description '|- test-unit (test::unit) is unit testing framework for ruby, based on xunit principles.'
homepage 'https://test-unit.github.io/'
version "3.6.4-#{CREW_RUBY_VER}"
version "3.6.7-#{CREW_RUBY_VER}"
license 'PSFL'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_timeout < RUBY
description 'Auto-terminate potentially long-running operations in ruby.'
homepage 'https://github.com/ruby/timeout'
version "0.4.2-#{CREW_RUBY_VER}"
version "0.4.3-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_tmpdir < RUBY
description 'Extends the dir class to manage the os temporary file path.'
homepage 'https://github.com/ruby/tmpdir'
version "0.3.0-#{CREW_RUBY_VER}"
version "0.3.1-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_typeprof < RUBY
description 'TypeProf performs a type analysis of non-annotated Ruby code.'
homepage 'https://github.com/ruby/typeprof'
version "0.21.11-#{CREW_RUBY_VER}"
version "0.30.1-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,7 +3,7 @@ require 'buildsystems/ruby'
class Ruby_webrick < RUBY
description 'WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server.'
homepage 'https://github.com/ruby/webrick/'
version "1.9.0-#{CREW_RUBY_VER}"
version "1.9.1-#{CREW_RUBY_VER}"
license 'BSD-2'
compatibility 'all'
source_url 'SKIP'

View File

@@ -3,17 +3,17 @@ require 'buildsystems/ruby'
class Ruby_zlib < RUBY
description 'Ruby interface for the zlib compression/decompression library.'
homepage 'https://github.com/ruby/zlib'
version "3.2.0-#{CREW_RUBY_VER}"
version "3.2.1-#{CREW_RUBY_VER}"
license 'Ruby'
compatibility 'all'
source_url 'SKIP'
binary_compression 'gem'
binary_sha256({
aarch64: 'a58fa0c668b89f0c0135272802be6b4997d0d76181d856d7ea371b93ee9a8f1f',
armv7l: 'a58fa0c668b89f0c0135272802be6b4997d0d76181d856d7ea371b93ee9a8f1f',
i686: '90944dbc771b1dc1ee67824262233b4b0aa07e568f5d0ae7788719e2385a2b9b',
x86_64: 'a40187395922eeada9adbb2bc800e9e43fd65cc39af6c8bb30871454f29b3a95'
aarch64: 'eace3994d49283f656b4aacca6637d6210cc67d25ac5cc010b3185c503ccd7fe',
armv7l: 'eace3994d49283f656b4aacca6637d6210cc67d25ac5cc010b3185c503ccd7fe',
i686: 'd99c12eaaa2e7e9dbc0e55446b5fe4d046680c5b1fa65ef2710d7b71593df3f6',
x86_64: 'fb822ab8a5526bc2f5f5b7869598f2f2e1ec1b2b82522ba6f42b24a6058eef6a'
})
conflicts_ok

View File

@@ -8,6 +8,8 @@ git clone --depth=1 --branch="$CREW_BRANCH" "$CREW_REPO" ~/build_test
(cd ~/build_test && yes | CREW_CACHE_ENABLED=1 crew build -vf ~/build_test/packages/hello_world_chromebrew.rb)
yes | crew install vim
yes | crew remove vim
# Check if rake is installed and working, and if not install it.
rake --help &>/dev/null || gem install rake
rake -C..
if [[ -n ${CHANGED_PACKAGES-} ]]; then
all_compatible_packages=$(crew list -d compatible)

View File

@@ -134,6 +134,11 @@ updated_packages.each do |pkg|
if builds_needed.include?(ARCH) && !File.file?("release/#{ARCH}/#{name}-#{@pkg_obj.version}-chromeos-#{ARCH}.#{@pkg_obj.binary_compression}") && agree_default_yes("\nWould you like to build #{name} #{@pkg_obj.version}")
system({ 'CREW_CACHE_ENABLED' => '1' }, "yes | crew build -f #{pkg}")
abort "#{pkg} build failed!".lightred unless $CHILD_STATUS.success?
# Reinvoke this script to take just built packages that have been built and
# installed into account, attempting uploads of just built packages immediately.
cmdline = "cd #{`pwd`.chomp} && crew upload #{name} ; #{$PROGRAM_NAME} #{ARGV.join(' ')}"
puts "cmdline is #{cmdline}"
exec cmdline
end
upload_pkg = nil
builds_needed.each do |build|

View File

@@ -7985,6 +7985,11 @@ url: https://github.com/deivid-rodriguez/pry-byebug/releases
activity: low
---
kind: url
name: ruby_repl_type_completor
url: https://github.com/ruby/repl_type_completor/tags
activity: high
---
kind: url
name: ruby_rubocop
url: https://github.com/rubocop/rubocop/releases
activity: medium

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
# update_ruby_gem_packages version 1.8 (for Chromebrew)
# update_ruby_gem_packages version 1.9 (for Chromebrew)
# Author: Satadru Pramanik (satmandu) satadru at gmail dot com
# Usage in root of cloned chromebrew repo:
# tools/update_ruby_gem_packages.rb
@@ -48,14 +48,13 @@ numlength = total_files_to_check.to_s.length
relevant_gem_packages.each_with_index do |package, index|
pool.post do
untested_package_name = package.gsub(%r{^packages/ruby_}, '').gsub(/.rb$/, '')
gem_test = gems.grep(/#{"^#{untested_package_name}\\s.*$"}/).first.blank? ? gems.grep(/#{"^#{untested_package_name.gsub('_', '-')}\\s.*$"}/).first : gems.grep(/#{"^#{untested_package_name}\\s.*$"}/).first
gem_test = gems.grep(/#{"^#{untested_package_name}\\s.*$"}/).last.blank? ? gems.grep(/#{"^#{untested_package_name.gsub('_', '-')}\\s.*$"}/).last : gems.grep(/#{"^#{untested_package_name}\\s.*$"}/).last
gem_test_name = gem_test.split.first
puts "#{untested_package_name} versions for #{gem_test_name} are #{gem_test.split[1].split(',')}" if CREW_VERBOSE
gem_test_versions = gem_test.split[1].split(',')
gem_test_versions.delete_if { |i| i.include?('beta') }
gem_test_versions.delete_if { |i| i.include?('java') }
gem_test_versions.delete_if { |i| i.include?('pre') }
gem_test_versions.delete_if { |i| i.include?('rc') }
# Any version with a letter is considered a prerelease as per
# https://github.com/rubygems/rubygems/blob/b5798efd348935634d4e0e2b846d4f455582db48/lib/rubygems/version.rb#L305
gem_test_versions.delete_if { |i| i.match?(/[a-zA-Z]/) }
gem_test_version = gem_test_versions.max
puts "#{untested_package_name} is #{gem_test_name} version #{gem_test_version}".lightpurple if CREW_VERBOSE
gem_name = gem_test_name.blank? ? Gem::SpecFetcher.fetcher.suggest_gems_from_name(untested_package_name).first : gem_test_name