Skip to content

Instantly share code, notes, and snippets.

View hsbt's full-sized avatar
🏠
Working from home

Hiroshi SHIBATA hsbt

🏠
Working from home
View GitHub Profile
require 'find'
require 'open3'
Dir.glob("latest-gem/*") do |dir|
Find.find(dir) do |fn|
next unless File.file? fn
_, _, _, wait_thr = *Open3.popen3("ruby -c #{fn}")
if wait_thr.value.exitstatus != 0
puts fn
File.unlink fn
require 'find'
require 'open3'
Dir.glob("latest-gem/*") do |dir|
Find.find(dir) do |fn|
next unless File.file? fn
_, stdout, _ = *Open3.popen3("ruby -c #{fn}")
if stdout.read.chomp != "Syntax OK"
puts fn
end
D tool/asm_parse.rb
D tool/bisect.sh
D tool/build-transcode
D tool/change_maker.rb
D tool/checksum.rb
D tool/darwin-cc
D tool/enc-emoji-citrus-gen.rb
D tool/enc-emoji4unicode.rb
D tool/enc-unicode.rb
D tool/eval.rb

s.files = ["bundler.rb".freeze, "bundler/build_metadata.rb".freeze, "bundler/capistrano.rb".freeze, "bundler/cli.rb".freeze, "bundler/cli/add.rb".freeze, "bundler/cli/binstubs.rb".freeze, "bundler/cli/cache.rb".freeze, "bundler/cli/check.rb".freeze, "bundler/cli/clean.rb".freeze, "bundler/cli/common.rb".freeze, "bundler/cli/config.rb".freeze, "bundler/cli/console.rb".freeze, "bundler/cli/doctor.rb".freeze, "bundler/cli/exec.rb".freeze, "bundler/cli/gem.rb".freeze, "bundler/cli/info.rb".freeze, "bundler/cli/init.rb".freeze, "bundler/cli/inject.rb".freeze, "bundler/cli/install.rb".freeze, "bundler/cli/issue.rb".freeze, "bundler/cli/list.rb".freeze, "bundler/cli/lock.rb".freeze, "bundler/cli/open.rb".freeze, "bundler/cli/outdated.rb".freeze, "bundler/cli/package.rb".freeze, "bundler/cli/platform.rb".freeze, "bundler/cli/plugin.rb".freeze, "bundler/cli/pristine.rb".freeze, "bundler/cli/remove.rb".freeze, "bundler/cli/show.rb".freeze, "bundler/cli/update.rb".freeze, "bundler/cli/viz.rb".freeze, "bundler/compact_

=== 3.0.0 / 2018-12-xx
Major enhancements:
* S3 source. Pull request #1690 by Aditya Prakash.
* Download gems with threads. Pull request #1898 by André Arko.
* Update to SPDX license list 3.0. Pull request #2152 by Mike Linksvayer.
* [GSoC] Multi-factor feature for RubyGems. Pull request #2369 by Qiu
Chaofan.
* Use bundler 1.17.2. Pull request #2521 by SHIBATA Hiroshi.
~/D/g/h/heroku-buildpack-ruby (master) > g d
diff --git lib/language_pack/ruby.rb lib/language_pack/ruby.rb
index 88e42fa..2f9009b 100644
--- lib/language_pack/ruby.rb
+++ lib/language_pack/ruby.rb
@@ -634,7 +634,7 @@ BUNDLE
instrument 'ruby.build_bundler' do
log("bundle") do
bundle_without = env("BUNDLE_WITHOUT") || default_bundle_without
- bundle_bin = "bundle"
* Make checking for existing executable respect format_executable . Pull
request #471 by Jeremy Evans.
* Error when loading YAML config file should show the file which failed.
Pull request #486 by Richard Livsey.
* Add --dry-run alias -n. Pull request #517 by Gastón Ramos.
* Update help_command.rb. Pull request #514 by Vince Wadhwani.
* Fix #461: Add --host option to owner command. Pull request #462 by Hugo
Lopes Tavares.
* Remove check for gem subdirectories. Pull request #456 by Vít Ondruch.
* Fixes for empty ruby version. Pull request #455 by Vít Ondruch.
diff --git lib/bundler.rb lib/bundler.rb
index cf3a289df2..1cb3b4fb21 100644
--- lib/bundler.rb
+++ lib/bundler.rb
@@ -119,7 +119,7 @@ def load
end
def environment
- SharedHelpers.major_deprecation 3, "Bundler.environment has been removed in favor of Bundler.load"
+ SharedHelpers.major_deprecation 2, "Bundler.environment has been removed in favor of Bundler.load"
~/D/g/r/ruby (trunk) > gemsearch .load_from_binary
bootsnap-1.3.2/lib/bootsnap/compile_cache/iseq.rb: RubyVM::InstructionSequence.load_from_binary(binary)
iseq_rails_tools-0.0.9/lib/iseq_rails_tools/source_file.rb: RubyVM::InstructionSequence.load_from_binary(binary)
rabbit-slide-znz-rubykansai70-ruby230-1.0.0/rubykansai70-ruby230.rab: * RubyVM::InstructionSequence#to_binary と .load_from_binary
rhodes-6.0.11/platform/shared/ruby/iseq.c: * RubyVM::InstructionSequence.load_from_binary() method.
rhodes-6.0.11/platform/shared/ruby/iseq.c: * RubyVM::InstructionSequence.load_from_binary_extra_data(binary).
rhodes-6.0.11/platform/shared/ruby/iseq.c: * RubyVM::InstructionSequence.load_from_binary(binary) -> iseq
rhodes-6.0.11/platform/shared/ruby/iseq.c:iseqw_s_load_from_binary(VALUE self, VALUE str)
rhodes-6.0.11/platform/shared/ruby/iseq.c: * RubyVM::InstructionSequence.load_from_binary_extra_data(binary) -> str
rhodes-6.0.11/platform/shared/ruby/iseq.c:iseqw_s_load_from_binary_extra_data(V
~/D/g/r/ruby (trunk) > gemsearch "NoBlockGiven unless block_given?"
awesome_tables-0.0.6/lib/awesome_tables/awesome_table.rb: raise AwesomeTables::NoBlockGiven unless block_given?
brightbox-warren-0.9.0/lib/warren/adapters/amqp_adapter.rb: raise NoBlockGiven unless block_given?
brightbox-warren-0.9.0/lib/warren/adapters/bunny_adapter.rb: raise NoBlockGiven unless block_given?
ncio-2.0.2/lib/ncio/support/retry_action.rb: raise RetryException::NoBlockGiven unless block_given?
noaidi-0.1.0/lib/noaidi/module.rb: raise NoBlockGiven unless block_given?
redis_notifier-0.0.2/lib/redis_notifier.rb: raise NoBlockGiven unless block_given?
schoefmax-warren-0.8.8/lib/warren/adapters/amqp_adapter.rb: raise NoBlockGiven unless block_given?
schoefmax-warren-0.8.8/lib/warren/adapters/bunny_adapter.rb: raise NoBlockGiven unless block_given?
warren-0.9.2/lib/warren/adapters/amqp_adapter.rb: raise NoBlockGiven unless block_given?