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

Thread Safety Fix #352

Merged
merged 8 commits into from Oct 10, 2017
Merged

Thread Safety Fix #352

merged 8 commits into from Oct 10, 2017

Commits on Nov 20, 2016

  1. Avoid using global lazily populated Hashes.

    Replace them with Concurrent::Hash
    radar committed Nov 20, 2016
    Copy the full SHA
    77a565b View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2016

  1. Copy the full SHA
    a3a7d0d View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2017

  1. Initialize global hash during module load

    The idiom for lazy initialization with operator `||=` is not thread
    safe. Method `I18n#normalized_key_cache` was converted into a class
    variable initialized during module load to avoid a race condition.
    romuloceccon committed Mar 11, 2017
    Copy the full SHA
    649d435 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2017

  1. Merge pull request #363 from romuloceccon/pr-51-thread-safety-fix-imp…

    …rovement
    
    Initialize global hash during module load
    radar committed Mar 23, 2017
    Copy the full SHA
    9aabd00 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2017

  1. Relax concurrent-ruby version

    radar committed Oct 1, 2017
    Copy the full SHA
    5480dd3 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into pr-51-thread-safety-fix

    * master: (45 commits)
      Add regression test for #378
      Bump to 0.8.6
      Add fallback_in_progress to RESERVED_KEYS list
      Bump to 0.8.5
      Fixes #369 thread issue when calling translate with fallbacks
      Remove gemfiles/Gemfile.*.lock from the repo
      Improve error message for missing pluralization key
      Bump to 0.8.4
      Revert "Don't allow nil to be submitted as a key to i18n.translate()"
      Bump to 0.8.3
      Update Changelog
      Handle false as a key correctly
      Bump Gemfiles
      Bump to 0.8.2
      Add Gemfile.lock for each Rails version
      Bump to 0.8.1
      Fix transliteration to default replacement char
      Docs: Add 0.8.0 to changelog
      No need to skip ruby 2.4+ x rails 4 now
      CI against newest stable rubies for each minor version
      ...
    radar committed Oct 1, 2017
    Copy the full SHA
    358249b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'pr-51-thread-safety-fix' of github.com:svenfuchs/i18n i…

    …nto pr-51-thread-safety-fix
    
    * 'pr-51-thread-safety-fix' of github.com:svenfuchs/i18n:
      Initialize global hash during module load
    radar committed Oct 1, 2017
    Copy the full SHA
    6d2ec72 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    3da644f View commit details
    Browse the repository at this point in the history