mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Ruby gem updates Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add mini_portile2 gem. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Adjust mini_portile2 package. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Build jaro_winkler for ruby 4 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add nokogiri build. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * ruby_updates: Package File Update Run on linux/386 container. * Add mini_portile2 filelist. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add other mini_portile2 filelists. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * ruby_updates: Package File Update Run on linux/amd64 container. * ruby_updates: Package File Update Run on linux/arm/v7 container. * Only bump ruby version in lib/const.rb. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Update ruby_thor Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Minimize sudo usage in workflow. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add more files in push-check. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * ruby_updates: Package File Update Run on linux/386 container. * ruby_updates: Package File Update Run on linux/amd64 container. * ruby_updates: Package File Update Run on linux/arm/v7 container. --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
33 lines
920 B
Ruby
33 lines
920 B
Ruby
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.16.0-#{CREW_RUBY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
|
|
conflicts_ok
|
|
no_compile_needed
|
|
|
|
ruby_install_extras do
|
|
File.write File.join(HOME, '.pryrc'), <<~PRY_DEBUG_EOF
|
|
if defined?(PryByebug)
|
|
Pry.commands.alias_command 'c', 'continue'
|
|
Pry.commands.alias_command 's', 'step'
|
|
Pry.commands.alias_command 'n', 'next'
|
|
Pry.commands.alias_command 'f', 'finish'
|
|
end
|
|
# Hit Enter to repeat last command
|
|
Pry::Commands.command /^$/, "repeat last command" do
|
|
pry_instance.run_command Pry.history.to_a.last
|
|
end
|
|
PRY_DEBUG_EOF
|
|
end
|
|
|
|
def self.postremove
|
|
Package.agree_to_remove("#{HOME}/.pryrc")
|
|
end
|
|
end
|