rblade 0.4.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -1
- data/README.md +115 -517
- data/lib/rblade/compiler/compiles_components.rb +29 -11
- data/lib/rblade/compiler/compiles_echos.rb +4 -4
- 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_props.rb +23 -4
- data/lib/rblade/compiler/statements/compiles_stacks.rb +39 -15
- data/lib/rblade/compiler/tokenizes_statements.rb +13 -2
- data/lib/rblade/compiler.rb +9 -0
- data/lib/rblade/component_store.rb +1 -1
- data/lib/rblade/helpers/attributes_manager.rb +37 -7
- data/lib/rblade/helpers/html_string.rb +4 -0
- data/lib/rblade/helpers/slot_manager.rb +31 -0
- data/lib/rblade/helpers/stack_manager.rb +4 -0
- data/lib/rblade/rails_template.rb +1 -0
- data/rblade.gemspec +1 -1
- metadata +9 -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,21 @@
|
|
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]
|
14
|
+
- Add support for slots
|
15
|
+
- Change @props to only add valid variable names to global scope
|
16
|
+
- Change @props to remove from attributes array
|
17
|
+
|
18
|
+
## 0.4.0 [2024-07-29]
|
2
19
|
- Add @class and @style statements
|
3
20
|
- Add @env and @production statements
|
4
21
|
- Add @once, @pushOnce and @prependOnce statements
|