Skip to content

Commit

Permalink
Added TOC.
Browse files Browse the repository at this point in the history
  • Loading branch information
dblock committed May 8, 2020
1 parent 7c2cb9a commit 0ecd239
Show file tree
Hide file tree
Showing 4 changed files with 68 additions and 5 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Expand Up @@ -12,6 +12,7 @@ scheme are considered to be bugs.

### Added

* [#523](https://github.com/hashie/hashie/pull/523): Added TOC - [@dblock](https://github.com/dblock).
* Your contribution here.

### Changed
Expand Down Expand Up @@ -92,7 +93,7 @@ scheme are considered to be bugs.
### Miscellaneous

* [#465](https://github.com/hashie/hashie/pull/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](https://github.com/michaelherold).
* [#482](https://github.com/hashie/hashie/pull/482): Update Travis configs to make jruby builds run on trusty dist. - [@BobbyMcWho](https://github.com/BobbyMcWho).
* [#482](https://github.com/hashie/hashie/pull/482): Update Travis configs to make jruby builds run on trusty dist - [@BobbyMcWho](https://github.com/BobbyMcWho).

## [3.6.0] - 2018-08-13

Expand Down Expand Up @@ -417,8 +418,6 @@ scheme are considered to be bugs.

[3.0.0]: https://github.com/hashie/hashie/compare/v2.1.2...v3.0.0

Note: This version introduces several backward incompatible API changes. See [UPGRADING](UPGRADING.md) for details.

### Added

* [#149](https://github.com/hashie/hashie/issues/149): Allow IgnoreUndeclared and DeepMerge to be used with undeclared properties - [@jhaesus](https://github.com/jhaesus).
Expand Down
5 changes: 4 additions & 1 deletion Dangerfile
@@ -1,3 +1,6 @@
# see http://danger.systems

changelog.check
changelog.format = :keep_a_changelog
changelog.check!

toc.check!
3 changes: 2 additions & 1 deletion Gemfile
Expand Up @@ -31,5 +31,6 @@ end

group :test do
gem 'codeclimate-test-reporter', '~> 1.0', require: false
gem 'danger-changelog', '~> 0.1.0', require: false
gem 'danger-changelog', '~> 0.6.0', require: false
gem 'danger-toc', '~> 0.2.0', require: false
end
60 changes: 60 additions & 0 deletions README.md
Expand Up @@ -8,6 +8,66 @@

[![eierlegende Wollmilchsau](./mascot.svg)](#mascot) Hashie is a growing collection of tools that extend Hashes and make them more useful.

# Table of Contents

- [Installation](#installation)
- [Stable Release](#stable-release)
- [Hash Extensions](#hash-extensions)
- [Logging](#logging)
- [Coercion](#coercion)
- [Coercing Collections](#coercing-collections)
- [Coercing Hashes](#coercing-hashes)
- [Coercing Core Types](#coercing-core-types)
- [Coercion Proc](#coercion-proc)
- [A note on circular coercion](#a-note-on-circular-coercion)
- [KeyConversion](#keyconversion)
- [MergeInitializer](#mergeinitializer)
- [MethodAccess](#methodaccess)
- [MethodAccessWithOverride](#methodaccesswithoverride)
- [MethodOverridingInitializer](#methodoverridinginitializer)
- [IndifferentAccess](#indifferentaccess)
- [IgnoreUndeclared](#ignoreundeclared)
- [DeepMerge](#deepmerge)
- [DeepFetch](#deepfetch)
- [DeepFind](#deepfind)
- [DeepLocate](#deeplocate)
- [StrictKeyAccess](#strictkeyaccess)
- [Example:](#example)
- [Mash](#mash)
- [Example:](#example-1)
- [How does Mash handle conflicts with pre-existing methods?](#how-does-mash-handle-conflicts-with-pre-existing-methods)
- [Example:](#example-2)
- [How does the wrapping of Mash sub-Hashes work?](#how-does-the-wrapping-of-mash-sub-hashes-work)
- [Example:](#example-3)
- [How does Mash handle key types which cannot be symbolized?](#how-does-mash-handle-key-types-which-cannot-be-symbolized)
- [Example](#example-4)
- [What else can Mash do?](#what-else-can-mash-do)
- [Example:](#example-5)
- [Mash Extension: KeepOriginalKeys](#mash-extension-keeporiginalkeys)
- [Mash Extension: PermissiveRespondTo](#mash-extension-permissiverespondto)
- [Mash Extension: SafeAssignment](#mash-extension-safeassignment)
- [Example:](#example-6)
- [Mash Extension: SymbolizeKeys](#mash-extension-symbolizekeys)
- [Mash Extension: DefineAccessors](#mash-extension-defineaccessors)
- [Dash](#dash)
- [Example:](#example-7)
- [Example:](#example-8)
- [Potential gotchas](#potential-gotchas)
- [Dash Extension: PropertyTranslation](#dash-extension-propertytranslation)
- [Example from inconsistent APIs](#example-from-inconsistent-apis)
- [Example using translation lambdas](#example-using-translation-lambdas)
- [Mash and Rails 4 Strong Parameters](#mash-and-rails-4-strong-parameters)
- [Dash Extension: Coercion.](#dash-extension-coercion)
- [Trash](#trash)
- [Clash](#clash)
- [Example:](#example-9)
- [Rash](#rash)
- [Example:](#example-10)
- [Auto-optimized](#auto-optimized)
- [Mascot](#mascot)
- [Contributing](#contributing)
- [Copyright](#copyright)

## Installation

Hashie is available as a RubyGem:
Expand Down

0 comments on commit 0ecd239

Please sign in to comment.