Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ruby-i18n/i18n
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.9.1
Choose a base ref
...
head repository: ruby-i18n/i18n
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.10.0
Choose a head ref
  • 16 commits
  • 16 files changed
  • 8 contributors

Commits on Jan 27, 2022

  1. Remove pry from Gemfile as it is not used

    Gemfile:
    The pry gem is installed but does not seem to be used for anything.
    Tests pass without it just fine.
    
    Fixes #607
    dvzrv committed Jan 27, 2022
    Configuration menu
    Copy the full SHA
    bd48ee0 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Merge pull request #608 from dvzrv/remove_pry

    Remove pry from Gemfile as it is not used
    radar authored Jan 28, 2022
    Configuration menu
    Copy the full SHA
    f33af4f View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Remove warning: assigned but unused variable

    ```
    /home/runner/work/i18n/i18n/test/backend/cache_test.rb:65: warning: assigned but unused variable - cache_key
    ```
    mishina2228 committed Jan 29, 2022
    Configuration menu
    Copy the full SHA
    cf52520 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2022

  1. Merge pull request #611 from mishina2228/patch-1

    Remove warning: assigned but unused variable
    radar authored Jan 30, 2022
    Configuration menu
    Copy the full SHA
    a1dc424 View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2022

  1. Sort imports

    paarthmadan committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    ace1e9c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ec31b0 View commit details
    Browse the repository at this point in the history
  3. Yield loaded translations to block in #load_translations

    This makes introspecting the translations loaded by a file easier. Maintains backwards compatability as the block is optional.
    paarthmadan committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    eb9dbf4 View commit details
    Browse the repository at this point in the history
  4. Tweak array construction in normalize_keys

    This results in a performance increase, and reduced object allocation, when normalizing keys -
    
    ```ruby
    report = Benchmark.ips do |x|
      x.report("concat") do
        ex = []
        ex.concat ['foo']
        ex.concat ['bar', 'baz']
        ex.concat ['quix']
        ex
      end
      x.report("splat") do
        [
          *['foo'],
          *['bar', 'baz'],
          *['quix']
        ]
      end
      x.compare!
    Warming up --------------------------------------
                  concat   129.103k i/100ms
                   splat   243.963k i/100ms
    Calculating -------------------------------------
                  concat      1.176M (± 9.7%) i/s -      5.810M in   5.009251s
                   splat      2.435M (±11.8%) i/s -     11.954M in   5.019257s
    
    Comparison:
                   splat:  2434746.6 i/s
                  concat:  1176432.3 i/s - 2.07x  (± 0.00) slower
    ```
    codealchemy committed Feb 3, 2022
    Configuration menu
    Copy the full SHA
    f3c1936 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #616 from codealchemy/normalize-keys/splat

    Minor `I18n.normalize_keys` improvement
    radar authored Feb 3, 2022
    Configuration menu
    Copy the full SHA
    00fc810 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. Configuration menu
    Copy the full SHA
    422959a View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Merge pull request #612 from Shopify/pm/lazy-loadable-backend

    LazyLoadable Backend
    radar authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    fb7095a View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2022

  1. Add a version badge

    mishina2228 authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    0820914 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #621 from mishina2228/add-badge

    Add a version badge to README
    radar authored Feb 13, 2022
    Configuration menu
    Copy the full SHA
    0a9e47a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    19f190d View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2022

  1. Merge pull request #622 from movermeyer/movermeyer/resolve_defaults_w…

    …ith_current_locale
    
    Allow overriding of entry resolving entry resolving separate from defaults
    radar authored Feb 14, 2022
    Configuration menu
    Copy the full SHA
    789d12e View commit details
    Browse the repository at this point in the history
  2. Bump to 1.10.0

    radar committed Feb 14, 2022
    Configuration menu
    Copy the full SHA
    b805537 View commit details
    Browse the repository at this point in the history
Loading