Permalink
Commits on Jun 6, 2016
  1. Merge pull request #49 from keithrbennett/add-concurrent-ruby-note-to…

    …-readme
    
    Modify README.md to explain code move into concurrent-ruby.
    committed Jun 6, 2016
  2. @keithrbennett
Commits on Mar 24, 2015
  1. @sferik

    Merge pull request #47 from ktdreyer/gemspec-summary-description

    gemspec: switch summary and description
    sferik committed Mar 24, 2015
  2. @ktdreyer

    gemspec: switch summary and description

    The summary variable in the gemspec is intended to be a small bit of
    text that presents the purpose of the gem in a short "at a glance"
    format.
    
    The description variable is a longer characterization of the gem.
    
    Prior to this commit, the two settings were reversed in the gemspec.
    Flip them here.
    ktdreyer committed Mar 24, 2015
Commits on Jun 7, 2014
  1. @thedarkone

    Fix url typo.

    thedarkone committed Jun 7, 2014
Commits on Jun 6, 2014
Commits on May 27, 2014
  1. @thedarkone

    Bump version to 0.3.4.

    thedarkone committed May 27, 2014
  2. @thedarkone

    Don't package .gitignore. Big thanks to @arvindsv.

    Related: #40.
    thedarkone committed May 27, 2014
  3. @thedarkone

    Add TS::Cache#fetch_or_store.

    The method is going to have semantics identical to those provided by
    Rails.cache#fetch.
    thedarkone committed May 27, 2014
  4. @thedarkone

    Fix default block race condition.

    By the time `elsif !key?(key)` is called another thread might have
    created a `key` mapping, then `!key?(key)` check would then fail
    resulting in `[]` returning `nil` an incorrect `value`.
    
    This is most likely to be triggered by a code like this:
    
      ThreadSafe::Cache.new {|cache, key| cache[key] = some_value}
    
    Related: rails/rails#13961.
    thedarkone committed May 27, 2014
Commits on Apr 12, 2014
  1. @thedarkone
  2. @thedarkone
  3. @thedarkone
  4. @thedarkone

    Merge pull request #43 from ktdreyer/tests

    tests: switch to minitest
    thedarkone committed Apr 12, 2014
Commits on Apr 7, 2014
  1. @ktdreyer

    tests: remove assert_nothing_raised

    Minitest doesn't support assert_nothing_raised. Remove our uses of
    assert_nothing_raised by either simply removing the call, or adding
    other basic asserts.
    ktdreyer committed Apr 7, 2014
  2. @ktdreyer

    tests: switch to minitest

    Ruby 1.9+ uses Minitest as the backend for Test::Unit. As of Minitest 5,
    the shim no longer supports Test::Unit::TestCase.
    
    Adjust the thread_safe test suite to support Minitest 5's syntax.
    
    Minitest versions 4 and below do not support the newer Minitest::Test
    class that arrived in version 5. For that case, use the
    MiniTest::Unit::TestCase class as a fallback.
    
    Also add a backwards-compatible function to Minitest::Test for
    assert_nothing_raised, since Minitest doesn't support that assertion.
    Eventually the use of assert_nothing_raised in thread_safe ought to be
    removed in favor of something better (such as more specific asserts).
    ktdreyer committed Apr 4, 2014
  3. @thedarkone

    Bump version to 0.3.3.

    thedarkone committed Apr 7, 2014
  4. @thedarkone

    Merge remote-tracking branch 'MSch/master'

    Fixes #44.
    thedarkone committed Apr 7, 2014
  5. @MSch
Commits on Apr 5, 2014
  1. @thedarkone

    Bump version to 0.3.2.

    thedarkone committed Apr 5, 2014
Commits on Apr 3, 2014
  1. @thedarkone
  2. @thedarkone
  3. @thedarkone

    Fix invariant/sanity check code.

    The original code broke on an odd number of running threads.
    thedarkone committed Apr 3, 2014
  4. @thedarkone
  5. @thedarkone

    Revert "Fix tests for travis failures."

    This reverts commit 61b5976.
    thedarkone committed Apr 3, 2014
Commits on Mar 21, 2014
  1. Bump version to 0.3.1.

    committed Mar 21, 2014
Commits on Mar 18, 2014
  1. Bump version to 0.3.0.

    committed Mar 18, 2014
Commits on Mar 17, 2014
  1. Merge pull request #38 from kares/single_module

    use a single **ThreadSafe** module (previously `Threadsafe::VERSION` used)
    committed Mar 17, 2014
  2. Merge pull request #37 from kares/cache-key

    cache.key support
    committed Mar 17, 2014
Commits on Mar 16, 2014
  1. @kares
Commits on Mar 2, 2014
  1. @kares

    ignore test/package.jar

    kares committed Feb 16, 2014
  2. @kares

    some README updates for TS::Cache

    kares committed Feb 27, 2014
Commits on Feb 27, 2014
  1. @kares
  2. @kares
Commits on Feb 26, 2014
  1. Update version to 0.2.0.

    committed Feb 26, 2014