Skip to content

Conversation

@mrkn
Copy link
Contributor

@mrkn mrkn commented May 3, 2021

While mime-types handles application/javascript as a non-text, IRuby needs to
handle it as a text.

The new ascii? private method judges whether the given mime type is text.
This method handles application/javascript as a text in the special case.

[Fix GH-292]

While mime-types handles application/javascript as a non-text, IRuby needs to
handle it as a text.

The new `ascii?` private method judges whether the given mime type is text.
This method handles application/javascript as a text in the special case.

[Fix GH-292]
@kojix2 kojix2 merged commit 38a5536 into master May 6, 2021
@kojix2
Copy link
Member

kojix2 commented May 6, 2021

I should have suqash and merge... 😓

@mrkn mrkn deleted the fix_javascript branch May 6, 2021 02:36
@mrkn
Copy link
Contributor Author

mrkn commented May 6, 2021

I don't like squash and merge because it does not mark the branch in the local working copy as merged.

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.

Javascript output is base64 encoded

3 participants