fix a condition in the case-when statement. #1

Merged
merged 1 commit into from Sep 27, 2015

Conversation

Projects
None yet
3 participants
@ujun
Contributor

ujun commented Sep 27, 2015

Currently, in hibari/app.rb, a case-when statement with multi-value condition has an incorrect expression like following. From this, on mod_mruby, mruby-hibari goes wrong.

case engine
when 'nginx' || 'apache'
  Kernel.run(self)

This PR fixes this point.

case engine
when 'nginx', 'apache'
  Kernel.run(self)

kentaro added a commit that referenced this pull request Sep 27, 2015

Merge pull request #1 from ujun/for_mod_mruby
fix a condition in the case-when statement.

@kentaro kentaro merged commit daee901 into kentaro:master Sep 27, 2015

@kentaro

This comment has been minimized.

Show comment
Hide comment
@kentaro

kentaro Sep 27, 2015

Owner

Thanks!

Owner

kentaro commented Sep 27, 2015

Thanks!

@matsumotory

This comment has been minimized.

Show comment
Hide comment

👍

@ujun

This comment has been minimized.

Show comment
Hide comment
@ujun

ujun Sep 28, 2015

Contributor

Thanks for your merge 😸

Contributor

ujun commented Sep 28, 2015

Thanks for your merge 😸

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment