Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initialized event #296

Merged
merged 1 commit into from
May 24, 2021
Merged

Add initialized event #296

merged 1 commit into from
May 24, 2021

Conversation

mrkn
Copy link
Contributor

@mrkn mrkn commented May 24, 2021

The new event initialized is added in IRuby::Kernel class.
This event occurs after an IRuby::Kernel object is initialized.
The new kernel object is passed to the callable objects registered to the initialize event.

This pull request is the redesign of the idea originally proposed by @Yuki-Inoue in #168.

@mrkn mrkn force-pushed the iruby_initialized_hook branch 2 times, most recently from 1e2155d to 911bb7b Compare May 24, 2021 14:30
[Fixes GH-168]

Co-authored-by: Yuki INOUE <[email protected]>
@mrkn mrkn merged commit eaf4b02 into master May 24, 2021
@mrkn mrkn deleted the iruby_initialized_hook branch May 24, 2021 14:36
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request May 29, 2021
0.7.0 (2021-05-28)

Enhancements
* The default backend is changed to IRB (@mrkn)
* Add IRuby::Kernel#switch_backend! method (@mrkn)

Bug Fixes
* Fix the handling of image/svg+xml
  SciRuby/iruby#300,
  SciRuby/iruby#301 (@kojix2)

0.6.1 (2021-05-26)

Bug Fixes
* Follow the messages and hooks orders during execute_request processing
  (@mrkn)

0.6.0 (2021-05-25)

Bug Fixes
* Fix the handling of application/javascript
  SciRuby/iruby#292,
  SciRuby/iruby#294 (@kylekyle, @mrkn)

Enhancements
* Add the initialized event in IRuby::Kernel class
  SciRuby/iruby#168,
  SciRuby/iruby#296 (@Yuki-Inoue, @mrkn)
* Add the following four events SciRuby/iruby#295
  (@mrkn):
  - pre-execute -- occurs before every code execution
  - pre-run-cell -- occurs before every non-silent code execution
  - post-execute -- occurs after every code execution
  - post-run-cell -- occurs after every non-silent code execution
* Replace Bond with IRB in PlainBackend
  SciRuby/iruby#276,
  SciRuby/iruby#297 (@cfis, @mrkn)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant