Permalink
Switch branches/tags
Commits on May 2, 2018
Commits on Jun 26, 2016
  1. Bump version to 0.2.8.

    alphabetum committed Jun 26, 2016
  2. Add `Bundler.setup` to test/allocation_stats.

    alphabetum committed Jun 26, 2016
    This block prints an understandable error when the 'allocation_stats'
    gem hasn't been found on the system.
    
    refs gh-5
  3. Update Gemfile.lock.

    alphabetum committed Jun 26, 2016
    Update locked gems to their latest versions.
Commits on Jun 25, 2016
  1. Refactor `ISO_639.[]` to reduce the number of Array allocations.

    alphabetum committed Jun 25, 2016
    Use explicit arguments rather than globbing in order to avoid creating
    new arrays unnecessarily.
    
    refs gh-5
Commits on Jun 23, 2016
  1. Remove outdated comment from gemspec.

    alphabetum committed Jun 23, 2016
    This gemspec was originally created with Jeweler, which is not used
    by this project anymore.
  2. Bump version to 0.2.7.

    alphabetum committed Jun 23, 2016
  3. Update Gemfile.lock.

    alphabetum committed Jun 23, 2016
  4. Use magic comment to freeze strings in Ruby 2.3+.

    alphabetum committed Jun 23, 2016
    Include a fallback in `self.[]` for earlier Ruby versions.
    
    refs GH-5
  5. Freeze all values assigned to constants.

    alphabetum committed Jun 23, 2016
    Constants should be immutable, so all components should be frozen.
    
    refs GH-5
Commits on Jun 22, 2016
  1. Freeze mutable objects assigned to constants.

    alphabetum committed Jun 22, 2016
    rubocop: Style/MutableConstant
    
    resolves GH-5
Commits on Jun 7, 2016
  1. Configure rubocop to prefer `alias_method`.

    alphabetum committed Jun 7, 2016
    rubocop: Style/Alias
Commits on May 21, 2016
Commits on May 10, 2016
  1. Bump version to 0.2.6.

    alphabetum committed May 10, 2016
Commits on May 8, 2016
  1. Regenerate corrupted Gemfile.lock.

    alphabetum committed May 8, 2016
    As of bundler version 1.11, a Gemfile.lock with missing dependencies
    is treated as 'corrupted'. Regenerating the Gemfile.lock with
    bundler 1.12.2 creates a valid Gemfile.lock.
  2. Add '.bundle' to .gitignore

    alphabetum committed May 8, 2016
    The '.bundle' directory is specific to the local encironment and should
    be ignored.
    
    By default, bundler should install gems system-wide. However, as of
    bundler version 1.12, a .bundle directory is created in the project
    root on my system for reasons currently unknown.
Commits on Sep 20, 2015
  1. rubocop: Style/FileName

    alphabetum committed Sep 20, 2015
    - downcase test_iso_639.rb
    - exclude iso-639.rb from Style/FileName cop in order to address it
      later.
Commits on Sep 16, 2015
  1. `%w`-literals should be delimited by `(..)`

    alphabetum committed Sep 16, 2015
    rubocop: Style/PercentLiteralDelimiters
  2. Clean up development and test dependencies.

    alphabetum committed Sep 16, 2015
    Remove version settings so the latest versions are always used.
    Alphabetize entries in lists to make them easier to skim. Add current
    dependencies to gemspec.
  3. Replace `%q<>` with quotes.

    alphabetum committed Sep 16, 2015
    rubocop: Style/UnneededPercentQ
  4. Use Ruby 1.9+ hash syntax.

    alphabetum committed Sep 16, 2015
    rubocop: Style/HashSyntax
  5. Do not use `then` for multiline `if`.

    alphabetum committed Sep 16, 2015
    rubocop: Style/MultilineIfThen
  6. Remove empty lines around class body.

    alphabetum committed Sep 16, 2015
    rubocop: Style/EmptyLinesAroundClassBody
  7. Remove empty lines around block body.

    alphabetum committed Sep 16, 2015
    rubocop: Style/EmptyLinesAroundBlockBody
  8. Use `do..end` rather than `{..}` for multiline lambda.

    alphabetum committed Sep 16, 2015
    rubocop: Style/BlockDelimiters
  9. Remove extra blank line in test/helper.rb

    alphabetum committed Sep 16, 2015
    rubocop: Style/EmptyLines
  10. Set minimum non-`%w`/`%W` word array size to 5 in rubocop settings.

    alphabetum committed Sep 16, 2015
    Since this library works extensively with word arrays that sometimes include
    whitespace and punctuation, stick to a convention of using explicit arrays
    of words, and only trigger this cop when such arrays go over the 5-word
    length of the arrays in the data.
    
    rubocop: Style/WordArray
  11. Disable rubocop: Metrics/ClassLength

    alphabetum committed Sep 16, 2015
    The ISO_639 class also contains the data in a hard-coded array, which makes
    the class exceptionally long. Alternative approaches for cleanly including
    this data can be considered, but in the meantime the max length is raised
    here to accommodate the data.
  12. Fix comma placement in tests.

    alphabetum committed Sep 16, 2015
    rubocop: Style/SpaceBeforeComma
    rubocop: Style/SpaceAfterComma
  13. Add .rubocop.yml and .rubocop_todo.yml

    alphabetum committed Sep 16, 2015
    .rubocop.yml contains configuration settings for rubocop, a static code
    analyzer for Ruby. .rubocop_todo.yml contains 'cop' (rule) configuration
    settings to silence existing warnings, and these issues will be resolved
    over time.
  14. Reformat single-line methods to span multiple lines.

    alphabetum committed Sep 16, 2015
    rubocop: Style/SingleLineMethods