rblade 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/LICENSE.md +24 -0
- data/README.md +312 -858
- data/TODO.md +2 -0
- data/lib/rblade/compiler/compiles_ruby.rb +1 -1
- data/lib/rblade/compiler/compiles_statements.rb +15 -1
- data/lib/rblade/compiler/compiles_verbatim.rb +29 -0
- data/lib/rblade/compiler/statements/compiles_conditionals.rb +26 -0
- data/lib/rblade/compiler/statements/compiles_html_attributes.rb +21 -0
- data/lib/rblade/compiler/statements/compiles_loops.rb +6 -22
- data/lib/rblade/compiler/statements/compiles_once.rb +57 -0
- data/lib/rblade/compiler/statements/compiles_stacks.rb +4 -4
- data/lib/rblade/compiler/tokenizes_statements.rb +17 -11
- data/lib/rblade/compiler.rb +3 -1
- data/lib/rblade/helpers/class_manager.rb +4 -0
- data/lib/rblade/helpers/style_manager.rb +4 -0
- data/lib/rblade/rails_template.rb +8 -5
- data/rblade.gemspec +3 -3
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6a3fbdc85ee9754a8b3c184a389407a0df5e145f0f0613069386cc5ca488ac2c
|
4
|
+
data.tar.gz: 0f1c60eb458e89dfe8f57ce8e225b2a1ec643bf9a5f5c393d62cb96a4bf85970
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e309cedd41919e03dbd6b3db209cc5d0cef9cb2dc8c9308abf6de414ce87c4ef5b55157ef51fdd867cab03bac9773c08d36ec10868daa9e13b1914357b66e25e
|
7
|
+
data.tar.gz: fb16ec608debaf7cd0caf5c9b662969617b9fad57ebbe65e620c1ffcab2008218199f9472d3a6ba9a72433ea24457e5c24d6c4902f3ac2f9909f98cef8df1f6c
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,13 @@
|
|
1
|
+
## 0.4.0
|
2
|
+
- Add @class and @style statements
|
3
|
+
- Add @env and @production statements
|
4
|
+
- Add @once, @pushOnce and @prependOnce statements
|
5
|
+
- Add @verbatim statement
|
6
|
+
- Add readme and license
|
7
|
+
- Improve boundaries of statements
|
8
|
+
- Make statements ignore underscore and case
|
9
|
+
- Merge @break & @breakif and @next & @nextif
|
10
|
+
|
1
11
|
## 0.3.0 [2024-07-26]
|
2
12
|
- Add support for index component files
|
3
13
|
- Add support for relative components
|
data/LICENSE.md
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
This software and documentation is built on previous effort in the Laravel
|
4
|
+
project
|
5
|
+
Original work Copyright (c) Taylor Otwell
|
6
|
+
Derivative work Copyright (c) 2024 Simon J
|
7
|
+
|
8
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
9
|
+
of this software and associated documentation files (the "Software"), to deal
|
10
|
+
in the Software without restriction, including without limitation the rights
|
11
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
12
|
+
copies of the Software, and to permit persons to whom the Software is
|
13
|
+
furnished to do so, subject to the following conditions:
|
14
|
+
|
15
|
+
The above copyright notice and this permission notice shall be included in
|
16
|
+
all copies or substantial portions of the Software.
|
17
|
+
|
18
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
19
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
20
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
21
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
22
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
23
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
24
|
+
THE SOFTWARE.
|