protos 1.0.0 → 1.0.1

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: 660af240890f0f3089840c5e672be261d68e37a3c027483e62a12c37420df46a
4
- data.tar.gz: 83b4736dcb8a891f65782bbab576442dbba9a787100a3ed2e7e3c8488e2f9c85
3
+ metadata.gz: b32fe1cc6562526ba55c1d834a5a8964d4ca2073d778f6dee06359ccd80cf802
4
+ data.tar.gz: c7e29d3aea869133073515fab05cf8c7450e637f83ad138526fe51ecdc72eb2e
5
5
  SHA512:
6
- metadata.gz: b07d86baa8de3458eb2a5c337335d8a0569f9eff4196f886d9cdcce604bd7d56ce59c4e6c59de85c361e438c64db5fece61f4a67a532d4f03599e47f200802f0
7
- data.tar.gz: a9db0f4770430e2a9191c0075d69b3fd66e7b42b75300c4ef2d129cde5f9e8b0cc5e034be2fad031070c6a1b1e9f99fc01893d257eb7ca5e68ff748db1ee4f9c
6
+ metadata.gz: d6767d43e60fc7a1e143f148a34039ba88db6a88ba8ebacb76f8daa5d4bf128f87ec88f318c692d033efd53ffc3c2135686576aa8c8e0d6404af4073f9c7a497
7
+ data.tar.gz: a0a64cb4af640ca9aae2fd81642cd7206b73f8389e5103f1c288c7d91225d876e7054391fa48585b1d3d7b50d15da671717ab2f7c1bbab103170099bdb78724c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.0.1] - 2025-03-01
4
+
5
+ - Fixes a bug with inherited classes not finding their defined keys
6
+
3
7
  ## [1.0.0] - 2025-03-01
4
8
 
5
9
  - Adds `Protos::Status` component
data/README.md CHANGED
@@ -700,27 +700,27 @@ end
700
700
 
701
701
  Here is a list that we don't yet have components for:
702
702
 
703
- - [] Buttons
704
- - [] Calendar
705
- - [] Checkbox
706
- - [] File input
707
- - [] Indicator
708
- - [] Join
709
- - [] Kbd
710
- - [] Link
711
- - [] Loading
712
- - [] Mask
713
- - [] Progress
714
- - [] Radial progress
715
- - [] Radio
716
- - [] Range
717
- - [] Select
718
- - [] Skeleton
719
- - [] Stack
720
- - [] Text input
721
- - [] Textarea
722
- - [] Toggle
723
- - [] Tooltip
703
+ - [ ] Buttons
704
+ - [ ] Calendar
705
+ - [ ] Checkbox
706
+ - [ ] File input
707
+ - [ ] Indicator
708
+ - [ ] Join
709
+ - [ ] Kbd
710
+ - [ ] Link
711
+ - [ ] Loading
712
+ - [ ] Mask
713
+ - [ ] Progress
714
+ - [ ] Radial progress
715
+ - [ ] Radio
716
+ - [ ] Range
717
+ - [ ] Select
718
+ - [ ] Skeleton
719
+ - [ ] Stack
720
+ - [ ] Text input
721
+ - [ ] Textarea
722
+ - [ ] Toggle
723
+ - [ ] Tooltip
724
724
 
725
725
  ## Development
726
726
 
@@ -16,8 +16,8 @@ module Protos
16
16
  # Adds non-defined options to the html_options hash
17
17
  def initialize(*, **kwargs, &)
18
18
  super
19
- attributes = self.class.dry_initializer.attributes(kwargs)
20
- extra_keys = kwargs.keys - attributes.keys
19
+ defined_keys = self.class.dry_initializer.definitions.keys
20
+ extra_keys = kwargs.keys - defined_keys
21
21
  @html_options = kwargs.slice(*extra_keys)
22
22
  end
23
23
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Protos
4
- VERSION = "1.0.0"
4
+ VERSION = "1.0.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nolan J Tait