RubyGems Navigation menu

nice_hash 1.16.0

NiceHash creates hashes following certain patterns so your testing will be much easier. Parse and filter JSON. You can easily generate all the hashes you want following the criteria you specify. Many other features coming to Hash class like the methods 'bury' or select_key, access the keys like methods: my_hash.my_key.other_key. You will be able to generate thousands of different hashes just declaring one and test easily APIs based on JSON for example. Perfect to be used in test data factories

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.18.7 - March 19, 2024 (26.5 KB)
  2. 1.18.6 - March 15, 2024 (26.5 KB)
  3. 1.18.5 - August 10, 2023 (26.5 KB)
  4. 1.18.4 - February 18, 2023 (26.5 KB)
  5. 1.18.3 - February 17, 2023 (26.5 KB)
  6. 1.16.0 - May 07, 2020 (25.5 KB)
Show all versions (58 total)

Runtime Dependencies (1):

string_pattern ~> 2.2, >= 2.2.2

Development Dependencies (1):

rspec >= 3.8.0, ~> 3.8

Owners:

Pushed by:

Authors:

  • Mario Ruiz

SHA 256 checksum:

af8c4389c4c4471d0c235bf8287c0c6e6b7d207ec577143156295b7380cffb03

Total downloads 99,712

For this version 1,419

License:

MIT

Required Ruby Version: >= 0

Links: