Permalink
Commits on Jan 25, 2017
  1. Merge pull request #23 from rubenarakelyan/patch-1

    tijmenb committed Jan 25, 2017
    Deprecate rummageable
Commits on Jan 24, 2017
  1. Deprecate rummageable

    rubenarakelyan committed Jan 24, 2017
    This commit marks this gem as deprecated and releases a new version to update the description on rubygems.org.
Commits on May 17, 2016
  1. Merge pull request #22 from alphagov/deprecate-gem

    Davidslv committed May 17, 2016
    Clarify that this gem is deprecated
  2. Clarify that this gem is deprecated

    tijmenb committed May 17, 2016
    We are no longer using this gem to send things to Rummager. It is still being used by some apps, so we can't send it to the gds-attic yet, but new apps should not use it.
Commits on Feb 16, 2015
  1. Merge pull request #20 from alphagov/mattbostock-patch-1

    bradwright committed Feb 16, 2015
    Correct copyright notice
  2. Correct copyright notice

    mattbostock committed Feb 16, 2015
Commits on Jun 3, 2014
  1. Version 1.2.0

    rboulton committed Jun 3, 2014
    Change the delete endpoint to take an options hash as its second
    parameter instead of a string.
    
    This is a breaking change from the syntax used in 1.1.0, but no apps are
    yet using that syntax.  It is not a breaking change from the syntax used
    in the previous 1.0.1 version.  Therefore, we're not bumping all the way
    to 2.0.0.
  2. Merge pull request #19 from alphagov/delete-with-options

    elliotcm committed Jun 3, 2014
    Change delete to take an options hash
  3. Change delete to take an options hash

    rboulton committed Jun 3, 2014
    We've belatedly realised that it would be much nicer for the new delete
    endpoint to take an options parameter instead of a second string
    parameter.  (There may be more options in future, and this approach
    means it's clear in the calling code what the new parameter is for.)
    
    This is a breaking change from the syntax used in 1.1.0, but no apps are
    yet using that syntax.  It is not a breaking change from the syntax used
    in the previous 1.0.1 version.
Commits on Jun 2, 2014
  1. Version 1.1.0

    rboulton committed Jun 2, 2014
    New parameter added to delete to specify type of thing being deleted.
  2. Merge pull request #18 from alphagov/allow-deletion-of-nonedition-doc…

    JordanHatch committed Jun 2, 2014
    …uments
    
    Allow deletion of nonedition documents
Commits on May 15, 2014
  1. Delete by ElasticSearch type and id instead of "link".

    elliotcm committed May 15, 2014
    Backwards compatible:
    - Defaults id to link
    - Defaults type to 'edition'
    
    Requires an update to the Rummager endpoint.
  2. Allow debugger in development.

    elliotcm committed May 15, 2014
Commits on Mar 21, 2014
  1. Version 1.0.1

    bradwright committed Mar 21, 2014
    Don't throw an exception with an empty JSON response.
  2. Merge pull request #17 from alphagov/dont-blow-up-on-empty-response

    bradwright committed Mar 21, 2014
    Don't try and parse JSON when the response is empty
  3. Don't try and parse JSON when the response is empty

    JordanHatch committed Mar 21, 2014
    When the response from a request is empty (eg. when requests are stubbed 
    out in a test), attempting to parse the response as JSON raises an 
    exception.
    
    This changes the log_response method to return an 'UNKNOWN' status if 
    the response is empty, consistent with behaviour when the response is 
    JSON but doesn't contain a result key.
Commits on Jul 17, 2013
  1. Fix #14

    jabley committed Jul 17, 2013
    Add gemspec license.
  2. Merge pull request #15 from alphagov/mit-licence

    jabley committed Jul 17, 2013
    Add MIT licence
Commits on Jul 16, 2013
  1. Add MIT licence

    jystewart committed Jul 16, 2013
    We'd omitted to provide a licence for rummageable. As reported in
    #14
Commits on Jul 15, 2013
  1. Merge pull request #13 from alphagov/use_https_rubygems_source

    fatbusinessman committed Jul 15, 2013
    Use https for rubygems.org in Gemfile
  2. Go to version 1.0.0

    bradwright committed Jul 15, 2013
    Recent changes have made this more solid and extensible, so it's time for our little Gem to grow up and leave home.
  3. Use https for rubygems.org in Gemfile

    jamiecobbett committed Jul 15, 2013
    This was generating a warning that we were using unsecured HTTP.
  4. Merge pull request #12 from alphagov/new-api

    fatbusinessman committed Jul 15, 2013
    Resilience to errors, and a dash of encapsulation
  5. Update README for new API

    Graham Ashton committed Jul 9, 2013
  6. Include 'Rummageable' in log messages

    Graham Ashton committed Jul 9, 2013
  7. Remove dependency on Plek

    Graham Ashton committed Jul 5, 2013
    It makes more sense to allow code that uses Rummageable::Index to
    determine how to find the elasticsearch server; it's just config, and
    there's no need to couple ourselves to Plek inside Rummageable.
  8. Remove old API and implementation

    Graham Ashton committed Jul 5, 2013
Commits on Jul 12, 2013
  1. Add Rummageable::Index#amend

    Graham Ashton committed Jul 4, 2013
Commits on Jul 8, 2013
  1. Add Rummageable::Index#commit

    Graham Ashton committed Jul 4, 2013
  2. Add delete and delete_all to Rummageable::Index

    Graham Ashton committed Jul 4, 2013
  3. Add tests for Rummageable::Index's error handling

    Graham Ashton committed Jul 4, 2013
    Instantiate the Index object with `:timeout` and `:attempts` options to
    control how many times a connection to Rummager should be retried on
    failure.
  4. Port tests for Rummageable.index to Rummageable::Index

    Graham Ashton committed Jul 4, 2013
    Rummageable::Index gives you an index object that you can use to add
    single documents (with `Index#add`) or multiple documents (with
    `Index#add_batch`). Call `#add` when you've just got one document to add
    to the index and need the call to run quickly (such as when you're
    handling an HTTP request). Call `#add_batch` when you have lots of
    documents to index and can cope with a slow/blocking API call (e.g. in a
    Rake task).
  5. Drop unused parameter from with_rummager_service_name

    Graham Ashton committed Jul 3, 2013
  6. DRY up AddTest

    Graham Ashton committed Jul 3, 2013