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

Improvements #1

Open
wants to merge 44 commits into
base: master
Choose a base branch
from
Open

Improvements #1

wants to merge 44 commits into from

Commits on Nov 11, 2011

  1. Small changes inside of gem requirements and Rakefile

    New gems required by the development environment:
      * rdoc
      * rspec
    Updates the Rakefile:
      * get rid of deprecation warning raised by old rdoc directive
      * provide a task that runs all the specs
      * rake default task runs the unit tests.
    flavio committed Nov 11, 2011
    Configuration menu
    Copy the full SHA
    56f94a5 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2011

  1. Fix broken unit test

    Ensure nil is returned when the queue is empty and pop is called.
    flavio committed Nov 22, 2011
    Configuration menu
    Copy the full SHA
    0216709 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04625aa View commit details
    Browse the repository at this point in the history
  3. Ensure pop respects sorting contraints

    * Use a BSON::OrderedHash to express sort constrain, otherwise sort
      criteria won't work as expected with ruby 1.8.7
    * Extend unit test to cover the different pop scenarios.
    flavio committed Nov 22, 2011
    Configuration menu
    Copy the full SHA
    65989bf View commit details
    Browse the repository at this point in the history
  4. Extend peek tests

    Ensure peek respects priority and insertion order.
    flavio committed Nov 22, 2011
    Configuration menu
    Copy the full SHA
    32a8489 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2011

  1. Better testing of timeout

    Test timeout feature inside of pop and peek. Do not use sleep, rely on
    Timecop: it makes the testing code faster and it's more flexible.
    flavio committed Dec 12, 2011
    Configuration menu
    Copy the full SHA
    46f46db View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2011

  1. Configuration menu
    Copy the full SHA
    f07a6f2 View commit details
    Browse the repository at this point in the history
  2. Version bump

    flavio committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    5d805da View commit details
    Browse the repository at this point in the history
  3. Remove older releases from git

    It's totally useless to keep them under scm.
    flavio committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    20529d4 View commit details
    Browse the repository at this point in the history
  4. Fix bug introduced by the removal of the timeout feature

    When the timeout feature is disabled the body of the popped item was
    nil.
    flavio committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    69ecc4a View commit details
    Browse the repository at this point in the history
  5. Version bump 0.6.2

    flavio committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    359b3e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2012

  1. Configuration menu
    Copy the full SHA
    21b657e View commit details
    Browse the repository at this point in the history
  2. Minor version bump: 0.6.3

    flavio committed Feb 2, 2012
    Configuration menu
    Copy the full SHA
    25b7090 View commit details
    Browse the repository at this point in the history
  3. Adding a priority change test

    Matt Barringer committed Feb 2, 2012
    Configuration menu
    Copy the full SHA
    848cc2c View commit details
    Browse the repository at this point in the history
  4. Add methods to alter the priority of a queued item.

    Added the following features:
    * allow to set the priority to a custom value
    * allow to increase the priority by a custom step
    * allow to decrease the priority by a custom step
    
    All these methods have been implemented using findandmodify in
    conjunction with '$set' and '$inc' update operators. This provides
    better performances.
    
    Extended the test suite.
    flavio committed Feb 2, 2012
    Configuration menu
    Copy the full SHA
    e278e26 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2012

  1. Fix the priority calls

    Matt Barringer committed Feb 6, 2012
    Configuration menu
    Copy the full SHA
    8b7a469 View commit details
    Browse the repository at this point in the history
  2. Oops, don't re-convert to ObjectId

    Matt Barringer committed Feb 6, 2012
    Configuration menu
    Copy the full SHA
    a71c172 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2012

  1. Revert "Oops, don't re-convert to ObjectId"

    This change is inconsistent with mongo_dequeue's api. Item's body cannot
    be used to perform searches since it can be a really complex object.
    Dequeue always returns and uses item's _id.
    
    This reverts commit a71c172.
    flavio committed Feb 7, 2012
    Configuration menu
    Copy the full SHA
    67d7b2b View commit details
    Browse the repository at this point in the history
  2. Revert "Fix the priority calls"

    This change is inconsistent with mongo_dequeue's api. Item's body cannot
    be used to perform searches since it can be a really complex object.
    Dequeue always returns and uses item's _id.
    
    This reverts commit 8b7a469.
    flavio committed Feb 7, 2012
    Configuration menu
    Copy the full SHA
    e7294ef View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2012

  1. update version

    jordimassaguerpla committed Feb 21, 2012
    Configuration menu
    Copy the full SHA
    9378970 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from openSUSE/review_120221_update_version_in_g…

    …emspec
    
    [Review] Request from 'jordimassaguerpla' @ 'openSUSE/Dequeue/review_120221_update_version_in_gemspec'
    flavio committed Feb 21, 2012
    Configuration menu
    Copy the full SHA
    6885eea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    16f691d View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2 from openSUSE/review_120221_remove_pkg_gem_file…

    …s_from_gemspec_file
    
    [Review] Request from 'jordimassaguerpla' @ 'openSUSE/Dequeue/review_120221_remove_pkg_gem_files_from_gemspec_file'
    flavio committed Feb 21, 2012
    Configuration menu
    Copy the full SHA
    18a675d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2012

  1. Configuration menu
    Copy the full SHA
    df8a4c8 View commit details
    Browse the repository at this point in the history
  2. Add queue.unlock to re-add items to the queue

    Matt Barringer committed Mar 22, 2012
    Configuration menu
    Copy the full SHA
    554fab5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c49511c View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2012

  1. Add indexes to the collection

    While processing crowded queues with multiple processes we noticed big
    slow downs caused by the lack of indexes.
    This fixes the problem.
    flavio committed Mar 27, 2012
    Configuration menu
    Copy the full SHA
    9dd8669 View commit details
    Browse the repository at this point in the history
  2. Version bump: 0.6.5

    flavio committed Mar 27, 2012
    Configuration menu
    Copy the full SHA
    57de5c6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c9fa1ad View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2012

  1. Configuration menu
    Copy the full SHA
    9fdac23 View commit details
    Browse the repository at this point in the history
  2. Adding lock_until function

    Matt Barringer committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    8c1df86 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of [email protected]:openSUSE/Dequeue

    Matt Barringer committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    5bf84c9 View commit details
    Browse the repository at this point in the history
  4. Increase the version

    Matt Barringer committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    96e8437 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    26075ec View commit details
    Browse the repository at this point in the history
  6. fix lock_until

    Fix the lock_until feature and update the test suite
    flavio committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    f3a539d View commit details
    Browse the repository at this point in the history
  7. Remove spec

    A more elaborate spec has been pushed earlier.
    flavio committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    777ea06 View commit details
    Browse the repository at this point in the history
  8. version bump: 0.6.7

    flavio committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    d0c756e View commit details
    Browse the repository at this point in the history
  9. peek: backport changes made to pop

    Ensure peek respects the locked_till attribute like pop does.
    flavio committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    a83fd57 View commit details
    Browse the repository at this point in the history
  10. version bump: 0.6.8

    flavio committed Mar 28, 2012
    Configuration menu
    Copy the full SHA
    679e34f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2012

  1. Always set locked_at attribute when an item is popped

    Set the locked_at attribute when an item is popped from the list.
    flavio committed Sep 26, 2012
    Configuration menu
    Copy the full SHA
    11e98b2 View commit details
    Browse the repository at this point in the history
  2. Cleanup specs

    Rely on the @collection variable.
    flavio committed Sep 26, 2012
    Configuration menu
    Copy the full SHA
    26e71c0 View commit details
    Browse the repository at this point in the history
  3. Upgrade version

    flavio committed Sep 26, 2012
    Configuration menu
    Copy the full SHA
    97325ee View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2012

  1. get version from VERSION file when building gem

    get version from VERSION file on the gemspec. Otherwise,
    when running "gem build" the package has the wrong version.
    jordimassaguerpla committed Oct 29, 2012
    Configuration menu
    Copy the full SHA
    8cb1b12 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from openSUSE/review_121029_fix_version_in_gems…

    …pec_
    
    [Review] Request from 'jordimassaguerpla' @ 'openSUSE/Dequeue/review_121029_fix_version_in_gemspec_'
    flavio committed Oct 29, 2012
    Configuration menu
    Copy the full SHA
    2551850 View commit details
    Browse the repository at this point in the history