Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2156

Test jruby against bson master

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.12.0.rc0
    • Component/s: Testing
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible

      Description

      Due to https://github.com/rubygems/bundler/issues/6678 we are currently not testing the driver and Mongoid against bson master. Occasionally this causes a problem when multiple bson releases are required to fix regressions that only manifest on jruby, such as those in the 4.8 series of bson releases.

      There appears to be a way of testing against bson master by manually building and installing bson as described in https://github.com/jruby/jruby/issues/5292#issuecomment-594250674:

       
          Clone bson-ruby
          bundle install
          rake compile
          gem build *.gemspec
          gem install *.gem
      

      This should work if we bump the version in master immediately prior to release, i.e. master claims to be the same version as most recent release. (The other scenarios might also work but could have issues.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oleg.pudeyev Oleg Pudeyev
              Reporter:
              oleg.pudeyev Oleg Pudeyev
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: