require_relative '../../spec_helper' describe 'TracePoint#binding' do def test secret = 42 end it 'return the generated binding object from event' do bindings = [] TracePoint.new(:return) { |tp| bindings << tp.binding }.enable { test } bindings.size.should == 1 bindings[0].should be_kind_of(Binding) bindings[0].local_variables.should == [:secret] end end y.png' alt='cgit logo'/> index : ruby.git
The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/lib/bundler/rubygems_gem_installer.rb
AgeCommit message (Expand)Author
2024-10-23[rubygems/rubygems] Print a proper error when there's a previous empty instal...David Rodríguez
2024-10-04[rubygems/rubygems] More rubygems 3.2.x removalsSamuel Giddins
2024-09-16[rubygems/rubygems] Remove temporary `.lock` files left around by gem installerDavid Rodríguez
2024-09-02[rubygems/rubygems] Don't try to remove previous install folder if it's emptyDavid Rodríguez
2024-09-02[rubygems/rubygems] Improve insecure gem overwrite messageDavid Rodríguez
2024-07-08[rubygems/rubygems] Backport binstub race condition fix to BundlerDavid Rodríguez
2024-06-27[rubygems/rubygems] Print a proper error when bin dir does not have writable ...David Rodríguez
2024-06-27[rubygems/rubygems] Only override `pre_install_checks` when necessaryDavid Rodríguez
2024-06-14[rubygems/rubygems] Don't print bug report template when bin dir is not writableDavid Rodríguez
2023-12-07[rubygems/rubygems] Use modern hashes consistentlyDavid Rodríguez
2023-12-05[rubygems/rubygems] Converts Bundler lockfile checksum validation to opt-in onlyMartin Emde
2023-11-08[rubygems/rubygems] Better error when having an insecure install folderDavid Rodríguez
2023-11-08[rubygems/rubygems] Don't show bug report template when GEM_HOME has no writa...David Rodríguez
2023-10-23[rubygems/rubygems] Improve errors and register checksums reliablyMartin Emde
2023-10-23[rubygems/rubygems] Refactor Checksum classes and methods to reduceMartin Emde
2023-10-23[rubygems/rubygems] Refactor to checksums stored via sourceSamuel Giddins
2023-10-23[rubygems/rubygems] Use the server checksum, then calculate from gem on disk ...Mercedes Bernard
2022-12-13Merge RubyGems/Bundler masterHiroshi SHIBATA
2022-07-27[rubygems/rubygems] Don't use Pathname for creating extension dirDavid Rodríguez
2022-07-17[rubygems/rubygems] Show a proper error if extension dir is not writableDavid Rodríguez
2022-07-17[rubygems/rubygems] Unify some common codeDavid Rodríguez
2022-07-17[rubygems/rubygems] Don't call `#build_extensions` at all if there are no ext...David Rodríguez
2022-06-11[rubygems/rubygems] Reuse package from the installer for extracting the speci...David Rodríguez
2022-05-27[rubygems/rubygems] Show better error when previous installation fails to be ...David Rodríguez
2021-12-23Merge RubyGems-3.3.1 and Bundler-2.3.1Hiroshi SHIBATA
2021-10-25[rubygems/rubygems] Show proper error when previous installation of gem can't...David Rodriguez
2021-10-25[rubygems/rubygems] Show a proper error if gem path is not writableDavid Rodriguez
2021-10-25[rubygems/rubygems] Manage global gem cache directlyDavid Rodriguez
2021-07-27[rubygems/rubygems] Lazily load shellwordsDavid Rodríguez