./misc/ruby-hashie, Small collection of tools that make hashes more powerful

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.1.0, Package name: ruby26-hashie-4.1.0, Maintainer: pkgsrc-users

Hashie is a small collection of tools that make hashes more powerful.
Currently includes Mash (Mocking Hash) and Dash (Discrete Hash).


Required to run:
[lang/ruby26-base]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 8f7f459fb31fcef5dfb5c8d2850ea5e38546666c
RMD160: dd76ac648909aa7b67c4b755713d6512bf1fa946
Filesize: 51 KB

Version history: (Expand)


CVS history: (Expand)


   2020-06-07 17:57:40 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
misc/ruby-hashie: update to 4.1.0

Update ruby-hashie to 4.1.0.

4.1.0 - 2020-02-01

Added

* #499: Add Hashie::Extensions::Mash::PermissiveRespondTo to make specific
   subclasses of Mash fully respond to messages for use with SimpleDelegator
   - @michaelherold.

Changed

* #498: Exclude tests from the gem release to reduce installation size and
  improve installation speed - @michaelherold.

Fixed

* #467: Fixed DeepMerge#deep_merge mutating nested values within the
  receiver - @michaelherold.
* #505: Ensure that Hashie::Arrays are not deconverted within Hashie::Mashes
  to make Mash#dig work properly - @michaelherold.
* #507: Suppress Psych.safe_load arg warn when using Psych 3.1.0+ - @koic.
* #508: Fixed Mash.load no longer uses Rails-only #except - @bobbymcwho.
* #508: Fixed Hashie::Extensions::DeepMerge #deep_merge not correctly
  dup'ing sub-hashes if active_support hash extensions were not present -
  @bobbymcwho.
* #500: Do not warn when setting Mash keys that look like underbang, bang,
  and query methods - @michaelherold.
* #510: Ensure that Hashie::Mash#compact is only defined on Ruby version >=
  2.4.0 - @bobbymcwho.
* #511: Suppress keyword arguments warning for Ruby 2.7.0 - @koic.
* #512: Suppress an integer unification warning for using Ruby 2.4.0+ - @koic.
* #513: Suppress a Ruby's warning when using Ruby 2.6.0+ - @koic.

4.0.0 - 2019-10-30

Added

* #323: Added Hashie::Extensions::Mash::DefineAccessors - @marshall-lee.
* #474: Expose YAML#safe_load options in Mash#load - @riouruma, @dblock.
* #478: Added optional array parameter to Hashie::Mash.disable_warnings -
  @bobbymcwho.
* #481: Ruby 2.6 - Support Hash#merge and #merge! called with multiple
  Hashes/Mashes - @bobbymcwho.
* #488: Added ability to create an anonymous Hashie::Mash subclass with key
  conflict errors silenced using Hashie::Mash.quiet.new - @bobbymcwho.

Changed

* #481: Implement non-destructive standard Hash methods - @bobbymcwho.
* #482: Update Travis configs to make jruby builds run on trusty dist -
  @BobbyMcWho.

Fixed

* #459: Fixed a regression in Mash.load that disallowed aliases - @arekt and
  @michaelherold.
* #465: Fixed deep_update to call any readers when a key exists -
  @laertispappas.
* #479: Fixed an issue with Hash#except not returning a Mash in Rails 6 -
  @bobbymcwho.
* #489: Updated the documentation to exlain the behavior of Mash and keyword
  arguments - @Bhacaz.
* #465: Clean up our RuboCop configuration and fix the outstanding line
  length violations. This involved some minor refactoring on
  Hashie::Extensions::Coercion, Hashie::Extensions::Dash::IndifferentAccess,
  Hashie::Extensions::DeepLocate, Hashie::Extensions::Mash::SafeAssignment,
  and Hashie::Hash, but none that were detectable via the test suite -
  @michaelherold.
   2018-09-23 17:45:47 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
misc/ruby-hashie: update to 3.6.0

## [3.6.0] - 2018-08-13

[3.6.0]: https://github.com/intridea/hashie/comp … 7...v3.6.0

### Added

* [#455](https://github.com/intridea/hashie/pull/455): Allow overriding methods \ 
when passing in a hash - [@lnestor](https://github.com/lnestor).

### Fixed

* [#435](https://github.com/intridea/hashie/pull/435): Mash `default_proc`s are \ 
now propagated down to nested sub-Hashes - \ 
[@michaelherold](https://github.com/michaelherold).
* [#436](https://github.com/intridea/hashie/pull/436): Ensure that \ 
`Hashie::Extensions::IndifferentAccess` injects itself after a non-destructive \ 
merge - [@michaelherold](https://github.com/michaelherold).
* [#437](https://github.com/intridea/hashie/pull/437): Allow codependent \ 
properties to be set on Dash - \ 
[@michaelherold](https://github.com/michaelherold).
* [#438](https://github.com/intridea/hashie/pull/438): Fix: `NameError \ 
(uninitialized constant Hashie::Extensions::Parsers::YamlErbParser::Pathname)` \ 
in `Hashie::Mash.load` - [@onk](https://github.com/onk).
* [#457](https://github.com/intridea/hashie/pull/457): Fix `Trash` to allow it \ 
to copy properties from other properties - \ 
[@michaelherold](https://github.com/michaelherold).

### Miscellaneous

* [#433](https://github.com/intridea/hashie/pull/433): Update Rubocop to the \ 
most recent version - [@michaelherold](https://github.com/michaelherold).
* [#434](https://github.com/intridea/hashie/pull/434): Add documentation around \ 
Mash sub-Hashes - [@michaelherold](https://github.com/michaelherold).
* [#439](https://github.com/intridea/hashie/pull/439): Add an integration spec \ 
for Elasticsearch - [@michaelherold](https://github.com/michaelherold).
   2018-03-14 15:57:04 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
misc/ruby-hashie: update to 3.5.7

## [3.5.7] - 2017-12-19

[3.5.7]: https://github.com/intridea/hashie/comp … 6...v3.5.7

### Fixed

[#430](https://github.com/intridea/hashie/pull/430): Fix Hashie::Rash randomly \ 
losing items - [@Antti](https://github.com/Antti)

### Miscellaneous

* [#425](https://github.com/intridea/hashie/pull/425): Update rubies in CI - \ 
[@kachick](https://github.com/kachick).
   2017-12-10 07:17:02 by Izumi Tsutsui | Files touched by this commit (1)
Log message:
ruby-hashie: retire from a maintainership.

I imported this gem (via PR) for net/ruby-userstream for net/ruby-tw,
but ruby-userstream is no longer required and has been removed.
sysutils/ruby-chef-zero and misc/ruby-powerbar still depend on
this hashie gem but they don't have a maintainer since initial imports.
   2017-09-10 16:40:05 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-hashie to 3.5.6.

## [3.5.6] - 2017-07-12

[3.5.6]: https://github.com/intridea/hashie/comp … 5...v3.5.6

### Miscellaneous

* [#416](https://github.com/intridea/hashie/pull/416): Fix `warning: instance
  variable @disable_warnings not initialized` -
  [@axfcampos](https://github.com/axfcampos).
   2017-03-20 15:28:58 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-hashie to 3.5.5.

# Change Log

## [3.5.5] - 2017-02-24

[3.5.5]: https://github.com/intridea/hashie/comp … 4...v3.5.5

### Added

* [#326](https://github.com/intridea/hashie/pull/326): Added \ 
`Hashie::Extensions::Mash::KeepOriginalKeys` to give Mashes the ability to keep \ 
the original structure given to it - \ 
[@michaelherold](https://github.com/michaelherold).

### Fixed

* [#415](https://github.com/intridea/hashie/pull/415): Fixed Mash logging keys \ 
multiple times which lead to a bad user experience or, in some cases, errors - \ 
[@michaelherold](https://github.com/michaelherold).

## [3.5.4] - 2017-02-22

[3.5.4]: https://github.com/intridea/hashie/comp … 3...v3.5.4

### Added

* [#412](https://github.com/intridea/hashie/pull/412): Added a \ 
Hashie::Extensions::Mash::SymbolizeKeys extension that overrides the default \ 
stringification behavior for keys - \ 
[@michaelherold](https://github.com/michaelherold).

### Fixed

* [#409](https://github.com/intridea/hashie/pull/409): Fixed Railtie detection \ 
for projects where Rails is defined but Railties are not availble - \ 
[@CallumD](https://github.com/callumd).
* [#411](https://github.com/intridea/hashie/pull/411): Fixed a performance \ 
regression from 3.4.3 that caused a 10x slowdown in OmniAuth - \ 
[@michaelherold](https://github.com/michaelherold).

## [3.5.3] - 2017-02-11

[3.5.3]: https://github.com/intridea/hashie/comp … 2...v3.5.3

### Fixed

* [#402](https://github.com/intridea/hashie/pull/402): Use a Railtie to set \ 
Hashie.logger on rails boot - [@matthewrudy](https://github.com/matthewrudy).
* [#406](https://github.com/intridea/hashie/pull/406): Ensure that subclasses \ 
that disable warnings propagate that setting to grandchild classes - \ 
[@michaelherold](https://github.com/michaelherold).
* Your contribution here.

## [3.5.2] - 2017-02-10

[3.5.2]: https://github.com/intridea/hashie/comp … 1...v3.5.2

### Added

* [#395](https://github.com/intridea/hashie/pull/395): Add the ability to \ 
disable warnings in Mash subclasses - \ 
[@michaelherold](https://github.com/michaelherold).
* [#400](https://github.com/intridea/hashie/pull/400): Fix Hashie.logger load \ 
and set the Hashie logger to the Rails logger in a Rails environment - \ 
[@michaelherold](https://github.com/michaelherold).

### Fixed

* [#396](https://github.com/intridea/hashie/pull/396): Fix for specs in #381: \ 
Incorrect use of shared context meant example was not being run - \ 
[@biinari](https://github.com/biinari).
* [#399](https://github.com/intridea/hashie/pull/399): Fix passing Pathname \ 
object to Hashie::Mesh.load() - [@albb0920](https://github.com/albb0920).

### Miscellanous

* [#397](https://github.com/intridea/hashie/pull/397): Add the integration specs \ 
harness into the main test tasks - \ 
[@michaelherold](https://github.com/michaelherold).

## [3.5.1] - 2017-01-31

* [#392](https://github.com/intridea/hashie/pull/392): Fix for #391: Require all \ 
dependencies of Hashie::Mash - [@dblock](https://github.com/dblock).

[3.5.1]: https://github.com/intridea/hashie/comp … 0...v3.5.1

## [3.5.0] - 2017-01-31

* [#386](https://github.com/intridea/hashie/pull/386): Fix for #385: Make \ 
`deep_merge` always `deep_dup` nested hashes before merging them in so that \ 
there are no shared references between the two hashes being merged. - \ 
[@mltsy](https://github.com/mltsy).
* [#389](https://github.com/intridea/hashie/pull/389): Support Ruby 2.4.0 - \ 
[@camelmasa](https://github.com/camelmasa).

[3.5.0]: https://github.com/intridea/hashie/comp … 6...v3.5.0

### Added

* [#381](https://github.com/intridea/hashie/pull/381): Add a logging layer that \ 
lets us report potential issues to our users. As the first logged issue, report \ 
when a `Hashie::Mash` is attempting to overwrite a built-in method, since that \ 
is one of our number one questions - \ 
[@michaelherold](https://github.com/michaelherold).

### Changed

* [#384](https://github.com/intridea/hashie/pull/384): Updated to CodeClimate \ 
1.x - [@boffbowsh](https://github.com/boffbowsh).

### Fixed

* [#369](https://github.com/intridea/hashie/pull/369): If a translation for a \ 
property exists when using IndifferentAccess and IgnoreUndeclared, use the \ 
translation to find the property - \ 
[@whitethunder](https://github.com/whitethunder).
* [#376](https://github.com/intridea/hashie/pull/376): Leave string index \ 
unchanged if it can't be converted to integer for Array#dig - \ 
[@sazor](https://github.com/sazor).
* [#377](https://github.com/intridea/hashie/pull/377): Dont use Rubygems to \ 
check ruby version - [@sazor](https://github.com/sazor).
* [#378](https://github.com/intridea/hashie/pull/378): Deep find all searches \ 
inside all nested hashes - [@sazor](https://github.com/sazor).
* [#380](https://github.com/intridea/hashie/pull/380): Evaluate procs default \ 
values of Dash in object initialization - [@sazor](https://github.com/sazor).

### Miscellanous

* [#387](https://github.com/intridea/hashie/pull/387): Fix builds failing due to \ 
Rake 11 having a breaking change - \ 
[@michaelherold](https://github.com/michaelherold).
   2016-10-15 17:17:08 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-hashie to 3.4.6.

[3.4.6]: https://github.com/intridea/hashie/comp … 5...v3.4.6

### Fixed

* [#368](https://github.com/intridea/hashie/pull/368): Since `hashie/mash` can \ 
be required alone, require its dependencies - \ 
[@jrafanie](https://github.com/jrafanie).

## [3.4.5] - 2016-09-16

[3.4.5]: https://github.com/intridea/hashie/comp … 4...v3.4.5

### Added

* [#337](https://github.com/intridea/hashie/pull/337), \ 
[#331](https://github.com/intridea/hashie/issues/331): `Hashie::Mash#load` \ 
accepts a `Pathname` object - [@gipcompany](https://github.com/gipcompany).

### Deprecated

* [#366](https://github.com/intridea/hashie/pull/366): Hashie is no longer \ 
tested on Ruby < 2 - [@dblock](https://github.com/dblock).

### Fixed

* [#358](https://github.com/intridea/hashie/pull/358): Fixed support for \ 
Array#dig - [@modosc](https://github.com/modosc).
* [#365](https://github.com/intridea/hashie/pull/365): Ensured \ 
ActiveSupport::HashWithIndifferentAccess is defined before use in #deep_locate  \ 
- [@mikejarema](https://github.com/mikejarema).

### Miscellanous

* [#366](https://github.com/intridea/hashie/pull/366): Added Danger, PR linter - \ 
[@dblock](https://github.com/dblock).

## [3.4.4] - 2016-04-29

[3.4.4]: https://github.com/intridea/hashie/comp … 3...v3.4.4

### Added

* [#349](https://github.com/intridea/hashie/pull/349): Convert \ 
`Hashie::Mash#dig` arguments for Ruby 2.3.0 - \ 
[@k0kubun](https://github.com/k0kubun).

### Fixed

* [#240](https://github.com/intridea/hashie/pull/240): Fixed nesting twice with \ 
Clash keys - [@bartoszkopinski](https://github.com/bartoszkopinski).
* [#317](https://github.com/intridea/hashie/pull/317): Ensure \ 
`Hashie::Extensions::MethodQuery` methods return boolean values - \ 
[@michaelherold](https://github.com/michaelherold).
* [#319](https://github.com/intridea/hashie/pull/319): Fix a regression from \ 
3.4.1 where `Hashie::Extensions::DeepFind` is no longer indifference-aware - \ 
[@michaelherold](https://github.com/michaelherold).
* [#322](https://github.com/intridea/hashie/pull/322): Fixed `reverse_merge` \ 
issue with `Mash` subclasses - [@marshall-lee](https://github.com/marshall-lee).
* [#346](https://github.com/intridea/hashie/pull/346): Fixed `merge` breaking \ 
indifferent access - [@docwhat](https://github.com/docwhat), \ 
[@michaelherold](https://github.com/michaelherold).
* [#350](https://github.com/intridea/hashie/pull/350): Fixed from string \ 
translations used with `IgnoreUndeclared` - \ 
[@marshall-lee](https://github.com/marshall-lee).
   2015-12-12 15:47:00 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-hashie to 3.4.3.

## 3.4.3 (10/25/2015)

* [#314](https://github.com/intridea/hashie/pull/314): Added a
  `StrictKeyAccess` extension that will raise an error whenever a key is
  accessed that does not exist in the hash -
  [@pboling](https://github.com/pboling).

* [#304](https://github.com/intridea/hashie/pull/304): Ensured compatibility
  of `Hash` extensions with singleton objects -
  [@regexident](https://github.com/regexident).

* [#306](https://github.com/intridea/hashie/pull/306): Added
  `Hashie::Extensions::Dash::Coercion` -
  [@marshall-lee](https://github.com/marshall-lee).

* [#310](https://github.com/intridea/hashie/pull/310): Fixed
  `Hashie::Extensions::SafeAssignment` bug with private methods -
  [@marshall-lee](https://github.com/marshall-lee).

* [#313](https://github.com/intridea/hashie/pull/313): Restrict pending spec
  to only Ruby versions 2.2.0-2.2.2 - [@pboling](https://github.com/pboling).

* [#315](https://github.com/intridea/hashie/pull/315): Default `bin/` scripts:
  `console` and `setup` - [@pboling](https://github.com/pboling).