heartml 1.0.0.beta8 → 1.0.0.beta9

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: 9af36d404ea8e79e505dd4ae52f7154d697bccf0722bec8b35a34172a7620d2f
4
- data.tar.gz: 7870f15ce64e811f91ccb07c5b20fe5a010af2d2c4eac355b2583ac8e859730c
3
+ metadata.gz: 45a181e4dbbe1346219242f7f6bb784909e0c4434c5460a8c604e82b16277d2a
4
+ data.tar.gz: 8848dd62e0186758310195aa36908bcfb8ab074cc1ac26d680848b2dc4fefdde
5
5
  SHA512:
6
- metadata.gz: df9a6f3028cccad882c443af444734f969a3be9fce3aad110114c5728692db08a7678645aecac64858ab0454041c7142387b86fe02813a264dafcd77828579e3
7
- data.tar.gz: 152c74f825813fe9183fe37f6cb491670804b3ecc53ec5277a0f4a5161ddbb199d4f332333be417d19e59ca99b8d69353dad9270f4370c9814a6c54720fe879c
6
+ metadata.gz: be785fe5ef3d2bcbc15422abc073af1387b8c6cc5219ed7fa5d4454fa341bc1acc17a94a46e2a89904ac5d93835fdf335d08c4fe2420952fe7de554237ad62ed
7
+ data.tar.gz: 19e2a61d7693cdd78a50434fa1d27b6f694f397b28733d1315519b0602eeea650cfa3372faac9b68f81ad2578882b1b115b8ad129995a130d33c9ca8fa3b5a88
data/CHANGELOG.md CHANGED
@@ -2,7 +2,11 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
- ## [1.0.0.beta8] - 2023-09-25
5
+ ## [1.0.0.beta9] - 2023-02-24
6
+
7
+ - Use `@attributes` by default
8
+
9
+ ## [1.0.0.beta8] - 2024-02-23
6
10
 
7
11
  - Simplify modules structure, add tag swap feature, other refactors
8
12
  - Bump min Ruby version to 3.1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heartml (1.0.0.beta8)
4
+ heartml (1.0.0.beta9)
5
5
  concurrent-ruby (~> 1.2)
6
6
  nokolexbor (>= 0.4.2)
7
7
 
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Heartml
4
4
  # @return [String]
5
- VERSION = "1.0.0.beta8"
5
+ VERSION = "1.0.0.beta9"
6
6
  end
data/lib/heartml.rb CHANGED
@@ -166,10 +166,10 @@ module Heartml
166
166
  view_context # compatibility with other Ruby component systems
167
167
  end
168
168
 
169
- # Override in component
169
+ # Override in component as needed
170
170
  #
171
171
  # @return [Hash]
172
- def attributes = {}
172
+ def attributes = @attributes || {}
173
173
 
174
174
  def rendering_mode = @_rendering_mode || :node
175
175
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heartml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta8
4
+ version: 1.0.0.beta9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jared White