inheritance-helper 0.3.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d1e8987c76ed0af5063986813c435c9e755bce6f0d145ab7d63e9f0a35ba0f9
4
- data.tar.gz: f1c481bd51c45d74e3e36a6e95fe656e29457fb489a9d99a1760539554577462
3
+ metadata.gz: dd7fc0ad71cd0399bb1fdcb6c21497eef8482da135c12a63e8499f8eea3c5001
4
+ data.tar.gz: 584ae13f03131324c7f5ba89e7203c7087dc206de7aa279189feaa586a174678
5
5
  SHA512:
6
- metadata.gz: c67b0fb5d1bbdcb65186c689c9e088739132de2cda3cc3d44ef51f131b868c64f73a4df073dfe8f4171257dedd4d8770af3dac7e47b451ca605574766c7add21
7
- data.tar.gz: 7ef84095e953df92ee231e364ee9446e2020ee9f2d1fe9063c847bf389e13e594abe153c428669ef9f7e1f0ac00dd62b564790592fae2628622ffa80ee6cf386
6
+ metadata.gz: 33842d6a67c91959404f6ff745d161b0a5cb2ec2d19b24a24577dc7f6b8908ce3d69a4a743f4a2419027943c389795570bda9267a8013887f04bb3d78125a539
7
+ data.tar.gz: ed9a80db6201549fbd9498ad937cabc7e9351bb141ca09d109961a3981bab1320dbdc3e0ecb8249e28c3ed2420eacee0038364c657e21cd0cc1e480867a47411
data/CHANGELOG.md CHANGED
@@ -1,15 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0](https://github.com/dougyouch/inheritance-helper/compare/v0.3.0...v1.0.0) (2026-10-05)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **release:** release 1.0.0 ([f0dd59a](https://github.com/dougyouch/inheritance-helper/commit/f0dd59a621904062999a3bbf9bfd190bf55ffbb4))
9
+
3
10
  ## [0.3.0](https://github.com/dougyouch/inheritance-helper/compare/v0.2.6...v0.3.0) (2026-10-05)
4
11
 
5
12
 
6
13
  ### ⚠ BREAKING CHANGES
7
14
 
8
- * get_class_name no longer calls String#classify when ActiveSupport is loaded, so names are no longer singularized there (:line_items now gives LineItems, not LineItem). Class names are now the same whether or not ActiveSupport is loaded.
15
+ * **class-builder:** get_class_name no longer calls String#classify when ActiveSupport is loaded, so names are no longer singularized there (:line_items now gives LineItems, not LineItem). Class names are now the same whether or not ActiveSupport is loaded.
16
+ * **gem:** requires Ruby 3.3. Ruby 3.2 reached end of life in March 2026 and is no longer supported.
9
17
 
10
- ### 1.0
18
+ ### Features
11
19
 
12
- * clearer nil error, consistent class names, Ruby 3.3 ([#5](https://github.com/dougyouch/inheritance-helper/issues/5)) ([11bb5a8](https://github.com/dougyouch/inheritance-helper/commit/11bb5a8d056d7b6c2794895bd01c9d9bce14805d))
20
+ * **class-builder:** build class names the same way with or without activesupport ([#5](https://github.com/dougyouch/inheritance-helper/issues/5)) ([11bb5a8](https://github.com/dougyouch/inheritance-helper/commit/11bb5a8d056d7b6c2794895bd01c9d9bce14805d))
21
+ * **methods:** raise a TypeError naming the class method when it returns nil ([#5](https://github.com/dougyouch/inheritance-helper/issues/5)) ([11bb5a8](https://github.com/dougyouch/inheritance-helper/commit/11bb5a8d056d7b6c2794895bd01c9d9bce14805d))
13
22
 
14
23
  ## [0.2.6](https://github.com/dougyouch/inheritance-helper/compare/v0.2.5...v0.2.6) (2026-10-05)
15
24
 
data/README.md CHANGED
@@ -208,7 +208,7 @@ InheritanceHelper::ClassBuilder::Utils.get_class_name(:line_item, 'Has', 'Class'
208
208
  already exists it is replaced, with Ruby's "already initialized constant" warning.
209
209
 
210
210
  `get_class_name` splits the name on underscores and capitalizes the first letter of each part, so
211
- `line_items` becomes `LineItems`. The result is the same whether or not ActiveSupport is loaded (before 1.0 it
211
+ `line_items` becomes `LineItems`. The result is the same whether or not ActiveSupport is loaded (before 0.3.0 it
212
212
  used `String#classify`, which singularized the name).
213
213
 
214
214
  ## Development
@@ -2,5 +2,5 @@
2
2
 
3
3
  module InheritanceHelper
4
4
  # Gem version, bumped by release-please
5
- VERSION = '0.3.0'
5
+ VERSION = '1.0.0'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inheritance-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug Youch