Skip to content

Conversation

@lewispb
Copy link

@lewispb lewispb commented Dec 12, 2025

  • Use array accumulation instead of string mutation in encode method to avoid warning about literal string being frozen in the future
/home/lewis/.local/share/mise/installs/ruby/3.4.7/lib/ruby/gems/3.4.0/gems/geohash_ruby-1.0.2/lib/geohash_ruby.rb:95:
warning: literal string will be frozen in the future (run with --debug-frozen-string-literal for more information)
  • Add basic minitest suite, run rake test
  • Update gemspec dev dependencies (remove version constraints)

Use array accumulation instead of string mutation in encode method
to avoid warning about literal string being frozen in the future.

Also adds a basic test and updates gemspec dev dependencies.
@lewispb lewispb force-pushed the fix-ruby-34-warnings branch from 21b00f3 to 48e70a7 Compare December 12, 2025 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant