Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/ancient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ jobs:
# Ruby 2.3
- ruby: "ruby-2.3"
appraisal: "ruby-2-3"
exec_cmd: "rake test"
exec_cmd: "rspec spec/snaky_hash/serializer_spec.rb:13"
gemfile: "Appraisal.root"
rubygems: "3.3.27"
bundler: "2.3.27"

# Ruby 2.4
- ruby: "ruby-2.4"
appraisal: "ruby-2-4"
exec_cmd: "rake test"
gemfile: "Appraisal.root"
rubygems: "3.3.27"
bundler: "2.3.27"

# Ruby 2.5
- ruby: "ruby-2.5"
appraisal: "ruby-2-5"
exec_cmd: "rake test"
gemfile: "Appraisal.root"
rubygems: "3.3.27"
bundler: "2.3.27"
# # Ruby 2.4
# - ruby: "ruby-2.4"
# appraisal: "ruby-2-4"
# exec_cmd: "rake test"
# gemfile: "Appraisal.root"
# rubygems: "3.3.27"
# bundler: "2.3.27"
#
# # Ruby 2.5
# - ruby: "ruby-2.5"
# appraisal: "ruby-2-5"
# exec_cmd: "rake test"
# gemfile: "Appraisal.root"
# rubygems: "3.3.27"
# bundler: "2.3.27"

steps:
- name: Checkout
Expand Down
7 changes: 2 additions & 5 deletions .rubocop_gradual.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"bin/bundle:101990931": [
[64, 5, 20, "ThreadSafety/ClassInstanceVariable: Avoid class instance variables.", 2485198147]
],
"lib/snaky_hash/snake.rb:1580566753": [
[19, 7, 1909, "Style/ClassMethodsDefinitions: Use `class << self` to define a class method.", 2316609805]
],
"snaky_hash.gemspec:2542342977": [
"snaky_hash.gemspec:1781125773": [
[4, 23, 12, "Gemspec/RubyVersionGlobalsUsage: Do not use `RUBY_VERSION` in gemspec file.", 31296028]
],
"spec/shared_contexts/base_hash.rb:829438978": [
Expand All @@ -14,7 +11,7 @@
"spec/snaky_hash/bad_snake_spec.rb:3931746112": [
[3, 16, 11, "RSpec/DescribeClass: The first argument to describe should be the class or module being tested.", 1577626599]
],
"spec/snaky_hash/snake_spec.rb:4262905777": [
"spec/snaky_hash/snake_spec.rb:3264128361": [
[4, 3, 92, "RSpec/LeakyConstantDeclaration: Stub class constant instead of declaring explicitly.", 3047242215]
]
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning v2](https://semver.org/spec/v2.
- Gemspec metadata updates (@pboling)
- Documentation updates (@pboling)
- CI covering all code, and all key versions of runtime dependencies (@pboling)
- [gh2](https://github.com/oauth-xx/snaky_hash/pull/2) - Serializer option (@pboling)
### Changed
### Fixed
### Removed
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ PLATFORMS

DEPENDENCIES
appraisal!
backports (~> 3.25, >= 3.25.1)
benchmark (~> 0.4)
bundler-audit (~> 0.9.2)
debug (>= 1.0.0)
Expand Down
8 changes: 4 additions & 4 deletions doc/SnakyHash.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
<dl>
<dt>Defined in:</dt>
<dd>lib/snaky_hash.rb<span class="defines">,<br />
lib/snaky_hash/snake.rb,<br /> lib/snaky_hash/version.rb,<br /> lib/snaky_hash/string_keyed.rb,<br /> lib/snaky_hash/symbol_keyed.rb</span>
lib/snaky_hash/snake.rb,<br /> lib/snaky_hash/version.rb,<br /> lib/snaky_hash/extensions.rb,<br /> lib/snaky_hash/serializer.rb,<br /> lib/snaky_hash/string_keyed.rb,<br /> lib/snaky_hash/symbol_keyed.rb</span>
</dd>
</dl>

Expand All @@ -103,11 +103,11 @@ <h2>Overview</h2><div class="docstring">
<p class="children">


<strong class="modules">Modules:</strong> <span class='object_link'><a href="SnakyHash/Version.html" title="SnakyHash::Version (module)">Version</a></span>
<strong class="modules">Modules:</strong> <span class='object_link'><a href="SnakyHash/Serializer.html" title="SnakyHash::Serializer (module)">Serializer</a></span>, <span class='object_link'><a href="SnakyHash/Version.html" title="SnakyHash::Version (module)">Version</a></span>



<strong class="classes">Classes:</strong> <span class='object_link'><a href="SnakyHash/Snake.html" title="SnakyHash::Snake (class)">Snake</a></span>, <span class='object_link'><a href="SnakyHash/StringKeyed.html" title="SnakyHash::StringKeyed (class)">StringKeyed</a></span>, <span class='object_link'><a href="SnakyHash/SymbolKeyed.html" title="SnakyHash::SymbolKeyed (class)">SymbolKeyed</a></span>
<strong class="classes">Classes:</strong> <span class='object_link'><a href="SnakyHash/Error.html" title="SnakyHash::Error (class)">Error</a></span>, <span class='object_link'><a href="SnakyHash/Extensions.html" title="SnakyHash::Extensions (class)">Extensions</a></span>, <span class='object_link'><a href="SnakyHash/Snake.html" title="SnakyHash::Snake (class)">Snake</a></span>, <span class='object_link'><a href="SnakyHash/StringKeyed.html" title="SnakyHash::StringKeyed (class)">StringKeyed</a></span>, <span class='object_link'><a href="SnakyHash/SymbolKeyed.html" title="SnakyHash::SymbolKeyed (class)">SymbolKeyed</a></span>


</p>
Expand All @@ -123,7 +123,7 @@ <h2>Overview</h2><div class="docstring">
</div>

<div id="footer">
Generated on Wed May 21 09:25:20 2025 by
Generated on Wed May 21 22:09:23 2025 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.3).
</div>
Expand Down
124 changes: 124 additions & 0 deletions doc/SnakyHash/Error.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,124 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>
Exception: SnakyHash::Error

&mdash; Documentation by YARD 0.9.37

</title>

<link rel="stylesheet" href="../css/style.css" type="text/css" />

<link rel="stylesheet" href="../css/common.css" type="text/css" />

<script type="text/javascript">
pathId = "SnakyHash::Error";
relpath = '../';
</script>


<script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>

<script type="text/javascript" charset="utf-8" src="../js/app.js"></script>


</head>
<body>
<div class="nav_wrap">
<iframe id="nav" src="../class_list.html?1"></iframe>
<div id="resizer"></div>
</div>

<div id="main" tabindex="-1">
<div id="header">
<div id="menu">

<a href="../_index.html">Index (E)</a> &raquo;
<span class='title'><span class='object_link'><a href="../SnakyHash.html" title="SnakyHash (module)">SnakyHash</a></span></span>
&raquo;
<span class="title">Error</span>

</div>

<div id="search">

<a class="full_list_link" id="class_list_link"
href="../class_list.html">

<svg width="24" height="24">
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
</svg>
</a>

</div>
<div class="clear"></div>
</div>

<div id="content"><h1>Exception: SnakyHash::Error



</h1>
<div class="box_info">

<dl>
<dt>Inherits:</dt>
<dd>
<span class="inheritName">StandardError</span>

<ul class="fullTree">
<li>Object</li>

<li class="next">StandardError</li>

<li class="next">SnakyHash::Error</li>

</ul>
<a href="#" class="inheritanceTree">show all</a>

</dd>
</dl>











<dl>
<dt>Defined in:</dt>
<dd>lib/snaky_hash.rb</dd>
</dl>

</div>











</div>

<div id="footer">
Generated on Wed May 21 22:09:23 2025 by
<a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.9.37 (ruby-3.4.3).
</div>

</div>
</body>
</html>
Loading