You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update inspect method to handle nil serializable_hash (#384)
* Update inspect method to handle nil serializable_hash
* Refactor inspect method to use object instead of hash
* Add changelog and rspec
* Update CHANGELOG.md
* Fix rubocop offenses
* Makes nil entity inspect consistent with the Ruby-style #<ClassName:object_id …> format
---------
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected]>
Co-authored-by: Andrei Subbota <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,9 @@
6
6
7
7
#### Fixes
8
8
9
+
*[#388](https://github.com/ruby-grape/grape-entity/pull/388): Drop ruby-head from test matrix - [@numbata](https://github.com/numbata).
10
+
*[#384](https://github.com/ruby-grape/grape-entity/pull/384): Fix `inspect` to correctly handle `nil` values - [@fcce](https://github.com/fcce).
9
11
* Your contribution here.
10
-
*[#388](https://github.com/ruby-grape/grape-entity/pull/388): Drop ruby-head from test matrix to keep builds stable - [@numbata](https://github.com/numbata).
0 commit comments