Add support for select multiple choices field
fix 'Unable to find css ".select2-drop li" with text "Apple"'

    Capybara::ElementNotFound:
       Unable to find css ".select2-drop li" with text "Thailand"

Look like this line just closes the dropdown which was previously opened by 

    select2_container.find(".select2-choice").click
xpath version in README
Merge pull request #20 from divineforest/fix-dropdown-double-click

fix 'Unable to find css ".select2-drop li" with text "Apple"'
Merge pull request #19 from divineforest/xpath-in-readme

xpath version in README
add ability to select tags
Merge pull request #24 from exAspArk/select2_tag

Add ability to select tags
CodeClimate badge added
Merge pull request #22 from xinminlabs/support-css

find .select2_container by css
Scope fix
Merge pull request #25 from dandycoding/scope-fix

Scope fix
Bump version to 1.0.0
Add support for lists with `<optgroup>`'s

When translating a list with `<optgroup>`'s select2 will use the
following structue:

div.select2-drop
  ul.select2-results
    li.select2-result.select2-result-unselectable
      div
      ul.select2-result-stub
        li.select2-result.select2-result-selectable
        li.select2-result.select2-result-selectable
        ...
    li.select2-result.select2-result-unselectable
    ...

The old `"`#{drop_container} li"` selector would lead to
Capybara::Ambiguous error complaining that:

Ambiguous match, found 2 elements matching css ".select2-drop li" with
text "..." because of the `<li>` at the optgroup level.

This change adds a selector for `"select2-result-selectable"` to
ignore such headers.
Merge pull request #13 from LStuker/add-support-for-select2-multiple-choices-field

Add support for select multiple choices field
Merge pull request #28 from maissimples/optgroup_support

Add support for lists with `<optgroup>`'s
speed up selector for multi select2 (avoid #has_selector? since it waits Capybara.default_wait_time in case no selector is found)