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

JRuby function wrapping support #422

Merged
merged 8 commits into from
Oct 9, 2013
Merged

Commits on Oct 7, 2013

  1. Implement JRuby function wrapping support

    Whenever a RubyProc is passed into an Observable method, wrap it in
    a Java class that implements the correct RxJava interfaces. This avoids
    ambiguous method errors and costly proxy instantiations by JRuby's
    default method delegation logic.
    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    99bbfd3 View commit details
    Browse the repository at this point in the history
  2. JRuby wrapper specs

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    e7eafe2 View commit details
    Browse the repository at this point in the history
  3. JRuby performance test

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    2f44a8d View commit details
    Browse the repository at this point in the history
  4. Handle OnSubscribeFuncs correctly in JRuby interop logic

    OnSubscribeFunc#onSubscribe expects to return a Subscription. I am
    unable to successfully cast the return value of a RubyProc, even if
    that value _is_ an object that implements the Subscription interface,
    into a Subscription in Java-land (Java reports that ConcreteJavaProxy
    cannot be cast). Instead I allow JRuby to handle OnSubscribeFunc
    arguments through its default proxy logic, which works correctly.
    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    fd91098 View commit details
    Browse the repository at this point in the history
  5. JRuby README

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    e1b81b4 View commit details
    Browse the repository at this point in the history
  6. JRuby license headers

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    16a7735 View commit details
    Browse the repository at this point in the history
  7. Up rspec version

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    13992a1 View commit details
    Browse the repository at this point in the history
  8. JRuby README include usage instructions

    Mike Ragalie committed Oct 7, 2013
    Configuration menu
    Copy the full SHA
    24807e9 View commit details
    Browse the repository at this point in the history