{"id":79288,"library":"orderedhash","title":"OrderedHash","description":"A hash implementation that preserves insertion order, similar to Ruby's built-in Hash in Ruby 1.9+.","status":"active","version":"0.0.6","language":"ruby","source_language":null,"source_url":null,"tags":["hash","ordered","collection","utility"],"install":[{"cmd":"gem install orderedhash","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'orderedhash', '~> 0.0.6'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"OrderedHash","correct":"require 'orderedhash'"}],"quickstart":{"code":"require 'orderedhash'\n\noh = OrderedHash.new\noh['a'] = 1\noh['b'] = 2\noh.each { |k, v| puts \"#{k}: #{v}\" }","lang":"ruby","description":"Create and iterate over an ordered hash"},"warnings":[{"fix":"Use Ruby's built-in Hash instead of OrderedHash for new projects.","message":"OrderedHash is largely obsolete in Ruby 1.9+ as Hash maintains insertion order natively.","severity":"gotcha","affected_versions":">= 0.0.0"}],"env_vars":null,"search_vec":"'1.9':19 'built':14 'built-in':13 'collect':22 'hash':3,16,20 'implement':4 'insert':7 'order':8,21 'orderedhash':1 'preserv':6 'rubi':11,18 'similar':9 'util':23","created_at":"2026-06-18T04:46:08.026273+00:00","updated_at":"2026-06-18T04:46:08.026273+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://codeforpeople.com/lib/ruby/orderedhash/","github":null,"docs":"http://www.rubydoc.info/gems/orderedhash/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}