rblade 0.5.0 → 0.6.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 +4 -4
- data/CHANGELOG.md +13 -1
- data/README.md +107 -502
- data/lib/rblade/compiler/compiles_components.rb +1 -1
- data/lib/rblade/compiler/compiles_ruby.rb +1 -1
- data/lib/rblade/compiler/compiles_statements.rb +21 -13
- data/lib/rblade/compiler/statements/compiles_conditionals.rb +40 -0
- data/lib/rblade/compiler/statements/compiles_form.rb +48 -0
- data/lib/rblade/compiler/statements/compiles_stacks.rb +39 -15
- data/lib/rblade/compiler/tokenizes_statements.rb +13 -2
- data/lib/rblade/component_store.rb +1 -1
- data/lib/rblade/helpers/attributes_manager.rb +30 -6
- data/lib/rblade/helpers/slot_manager.rb +8 -0
- data/rblade.gemspec +1 -1
- metadata +7 -7
- data/TODO.md +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b46e864d0ce53aee73ce1353a29f538c54954a4afeb988de4975b64076d5fe3c
|
4
|
+
data.tar.gz: 12a74fcc836959872de298418892c16b89ce5690d63cb1def6be4c7cadb6a51a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b824b61c6fc8d08f57f09de311d4b9d0dfcf2d236712eb5aa5664f27d2819083e66488518e9fa21eb6f8360f332e64676e2ee01f02979d08effdb746eddd1415
|
7
|
+
data.tar.gz: 3c47fc2906be91c9a908c022a57a3222366142479c2167173605e0d31db9bdceaf0bca10a7a58ae9273d0fff5999679c943b92af204f7cc0448ce1e48146fafd
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,16 @@
|
|
1
|
-
## 0.
|
1
|
+
## 0.6.1 [2024-08-02]
|
2
|
+
- Fix broken build
|
3
|
+
|
4
|
+
## 0.6.0 [2024-08-02]
|
5
|
+
- Add attributes.class method
|
6
|
+
- Add `@blank?`, `@defined?`, `@empty?`, `@nil?` and `@present?`
|
7
|
+
- Add `@method`, `@patch`, `@put` and `@delete`
|
8
|
+
- Add `@pushif` and `@prependif`
|
9
|
+
- Add string methods to slots
|
10
|
+
- Fix whitespaces causing problems between case and when statements
|
11
|
+
- Pass Rails `session`, `cookies`, `flash` and `params` variables into components
|
12
|
+
|
13
|
+
## 0.5.0 [2024-07-31]
|
2
14
|
- Add support for slots
|
3
15
|
- Change @props to only add valid variable names to global scope
|
4
16
|
- Change @props to remove from attributes array
|