summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Ruby 3.2 to the CI matrix (#571)HEADmasterPeter Goldstein2023-01-135-8/+17
| | | | | | | | | | | * Adds Ruby 3.2 to the CI matrix * Use object_id rather than trust, as trust is no longer a method on Object in Ruby 3.2. Condition checked on Psych error based on version of Psych. * Update danger token * Add CHANGELOG entry * Add use of Gem::Version for version comparison
* new integration spec for rails 7 exhibiting failure when executing de… (#569)Abe Flansburg2022-12-065-1/+115
|
* Merge pull request #570 from dblock/fix-changelogDaniel (dB.) Doubrovkine2022-12-061-5/+1
|\ | | | | Fix: Make Danger happy with the CHANGELOG.
| * Fix: Make Danger happy with the CHANGELOG.Daniel (dB.) Doubrovkine2022-12-061-5/+1
|/
* Merge pull request #565 from hashie/dependabot/github_actions/actions/checkout-3Daniel (dB.) Doubrovkine2022-06-272-4/+4
|\ | | | | Bump actions/checkout from 2 to 3
| * Bump actions/checkout from 2 to 3dependabot[bot]2022-06-242-4/+4
|/ | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Merge pull request #564 from ↵Daniel (dB.) Doubrovkine2022-06-241-0/+6
|\ | | | | | | | | petergoldstein/feature/add_dependabot_for_github_actions Add dependabot for GitHub Actions
| * Add dependabot for GitHub ActionsPeter Goldstein2022-06-231-0/+6
|/ | | | This will ensure that GitHub Actions stay up to date. As the checkout action is currently out of date, Dependabot should open a PR to update it after this PR is merged.
* Merge pull request #561 from dblock/ci-all-branchesDaniel Doubrovkine (dB.)2022-03-263-72/+64
|\ | | | | Run CI on all branches.
| * Fix: TOC.dblock2022-03-261-43/+41
| |
| * Use a public PAT.dblock2022-03-261-17/+12
| |
| * Move danger into its own workflow file.dblock2022-03-253-21/+27
| |
| * Run CI on all branches.dblock2022-03-241-8/+1
|/
* Add Ruby 3.1 to CI (#558)Peter Goldstein2022-01-2716-103/+87
| | | | | | | | | | | | | | | | | | * Add Ruby 3.1 to CI Update Rubocop for recent Rubies Disable Rubocop run for Rubies before Ruby 2.4 Quote '3.0' in the CI configuration to ensure it loads a 3.0.x Ruby Set RUBYOPT="--disable_error_highlight" so Ruby 3.1 error matchers pass * Add CHANGELOG.md entry * Re-add deleted line from CHANGELOG.md * Set minimum supported Ruby version to 2.4. Remove a number of code bits designed to support Rubies below version 2.4 * Bump version. Remove unneeded require from Gemfile. Add require to spec/support file
* Merge pull request #557 from njakobsen/patch-1Daniel Doubrovkine (dB.)2021-12-111-1/+4
|\ | | | | Include example of Dash's lazy evaluation feature
| * Include example of Dash's lazy evaluation featureNicholas Jakobsen2021-12-091-1/+4
|/ | | | This was added in https://github.com/hashie/hashie/pull/34/commits/d20eed6540b7cc264583244088344f73436292b7 but was never documented.
* Preparing for next development iteration, 5.0.1.dblock2021-11-083-2/+35
|
* Preparing for release, 5.0.0.v5.0.0dblock2021-11-082-57/+46
|
* Merge pull request #555 from dblock/ruby-3.0Daniel Doubrovkine (dB.)2021-11-082-0/+2
|\ | | | | Added Ruby 3.0 to CI.
| * Test with Ruby 3.0.dblock2021-11-072-0/+2
|/ | | | Signed-off-by: dblock <dblock@dblock.org>
* Merge pull request #554 from dblock/michaelherold-dash-nil-keysDaniel Doubrovkine (dB.)2021-11-085-2/+100
|\ | | | | Michaelherold dash nil keys
| * Merge branch 'dash-nil-keys' of https://github.com/michaelherold/hashie into ↵dblock2021-11-075-2/+100
| |\ |/ / | | | | michaelherold-dash-nil-keys
| * Ensure all properties are set on exported DashMichael Herold2020-10-224-0/+93
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When exporting a Dash via `#to_h` or `#to_hash`, we expect all properties to be exported whether or not they are set. However, in the change that allows codependent properties to be nilified, we regressed the behavior of exporting all properties. There is a gotcha here, which I note in the tests for the specs. For posterity, MRI does not send the `#to_hash` method to anything that subclasses `Hash` when you double-splat it. Thus, we cannot override the behavior within MRI. For more information, see [this comment][1] where I detail the behavior of double-splat within MRI. Currently, JRuby also follows this behavior, but it's not guaranteed that other Rubies will. [1]: https://github.com/hashie/hashie/issues/353#issuecomment-363294886
| * Expose `IndifferentAccess` conversion internallyMichael Herold2020-10-221-1/+6
| | | | | | | | | | | | | | In some cases --- like writing meta-extensions of `IndifferentAccess` --- we need access to the ability to convert a key for the purposes of `IndifferentAccess`. Exposing this behavior as a module function makes this possible.
| * Fix an imprecise spec for `Dash#replace`Michael Herold2020-10-221-1/+1
| | | | | | | | | | | | | | The check here doesn't make sense because it's testing the behavior of another method. The best way to check identity is but checking the `#object_id` of an object - thus, this check actually does what the test says it does.
* | Merge pull request #545 from jackjennings/masterDaniel Doubrovkine (dB.)2021-11-085-1/+41
|\ \ | | | | | | Add #except under Ruby 3
| * | Add #except under Ruby 3Jack Jennings2021-11-025-0/+40
| | | | | | | | | | | | | | | | | | Ruby 3 adds the Hash#except method, which should return the correct Hashie object instance when called on a Mash or object using the Hashie::Extensions::IndifferentAccess mixin.
| * | Fix CHANGELOG formattingJack Jennings2021-11-021-1/+1
| | |
* | | Use ruby/setup-ruby and reset fetch depth.dblock2021-11-071-1/+4
| | |
* | | Fix: lock elasticsearch version in integration specs.dblock2021-11-071-1/+2
| | | | | | | | | | | | Signed-off-by: dblock <dblock@dblock.org>
* | | Merge pull request #547 from danwa5/issue-546-trash-propertiesDaniel Doubrovkine (dB.)2021-11-083-1/+24
|\ \ \ | |/ / |/| | Fixed issue where a source hash key can be used in translating multip…
| * | Fixed issue where a source hash key can be used in translating multiple ↵Daniel Lee2021-06-173-1/+24
| | | | | | | | | | | | properties
* | | Merge pull request #543 from hashie/create-github-actionMichael Herold2021-07-076-44/+99
|\ \ \ | |/ / |/| | Use GitHub actions instead of TravisCI
| * | Track Omniauth official releasescreate-github-actionMichael Herold2021-06-272-6/+2
| | | | | | | | | | | | | | | This was always meant to be a temporary fix. Let's track actual releases because GitHub Actions is choking on it.
| * | Add integration tests to CI harnessMichael Herold2021-06-271-0/+17
| | | | | | | | | | | | | | | We want to make sure none of our popular downstream integrations break. This ports our old Travis setup over to GitHub Actions.
| * | Lint the CI configuration and update badgeMichael Herold2021-06-272-19/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using YAML lists over pseudo-JSON lists makes for easier diffs. Breaking blocks apart with an empty line helps readability. Avoiding strings delimeters when you don't need them helps with readability. The name of the workflow should describe its purpose. Multithreading bundle installs leads to faster builds. And we need to update the badge to our new CI location.
| * | Remove mention and configuration of CodeClimateMichael Herold2021-06-272-3/+1
| | | | | | | | | | | | | | | We don't really care about the metrics it gives and we can't access configuration for it anymore for some reason, so let's end it.
| * | Remove travis.ymlBobby McDonald2020-12-071-34/+0
| | |
| * | Create initial actionBobby McDonald2020-12-071-0/+64
|/ /
* | Merge pull request #541 from amatsuda/uninclude_pretty_inspectDaniel Doubrovkine (dB.) @dblockdotorg2020-11-041-1/+0
|\ \ | |/ |/| No need to include Hashie::Extensions::PrettyInspect into Hashie::Mash
| * Hashie::Mash already includes Hashie::Extensions::PrettyInspect via Hashie::HashAkira Matsuda2020-11-041-1/+0
|/
* Merge pull request #537 from michaelherold/dash-consistencyMichael Herold2020-10-298-21/+85
|\ | | | | Fix inconsistencies with Dash defaults
| * Fix inconsistencies with Dash defaultsMichael Herold2020-10-238-21/+85
| | | | | | | | | | | | | | | | | | | | | | The normal behavior of Dash with respect to property defaults differed from the behavior of a Dash/Trash with IgnoreUndeclared mixed in. This is because some situations called the defaults and some did not. This change normalizes the behavior so that all situations where the defaults should be used to override unset values behave consistently, as well as all situations where the default should not override a `nil` value.
* | Merge pull request #539 from anakinj/run-27-ci-only-onceMichael Herold2020-10-292-2/+2
|\ \ | |/ |/| * Run 2.7 tests once
| * Drop jruby-9.0.5.0 from build matrixJoakim Antman2020-10-262-2/+1
| |
| * Run 2.7 tests onceJoakim Antman2020-10-262-2/+2
| |
* | Merge pull request #538 from michaelherold/drop-testing-for-old-rubiesDaniel Doubrovkine (dB.) @dblockdotorg2020-10-272-1/+1
|\ \ | |/ |/| Drop testing for JRuby 9.0
| * Drop testing for unsupported RubiesMichael Herold2020-10-262-1/+1
|/ | | | | | | | | | | | | | Per the [JRuby security policy][1], JRuby 9.2 is supported, but 9.0 is not any longer. JRuby 9.0 has been flaky on builds, so it's now causing a maintenance burden. This isn't a declaration that we won't support this version, but I don't think it makes sense to test on them any more. In the next major release, I would like to define a support policy. [1]: https://github.com/jruby/jruby/blob/4fd5e619f9d1f36d7bbca8f0013bb55e4ad57e8f/SECURITY.md
* Merge pull request #536 from michaelherold/export-normal-hash-from-indifferentDaniel Doubrovkine (dB.) @dblockdotorg2020-10-234-0/+55
|\ | | | | Allow exporting a normal, not-indifferent Hash
| * Allow exporting a normal, not-indifferent HashMichael Herold2020-10-224-0/+55
|/ | | | | | | Following the conventions in `activesupport` and the semantics of the `#to_hash` method in Ruby's standard library, the `#to_hash` method for a hash that has mixed in `IndifferentAccess` will now export the hash as a normal, not-indifferent hash.