ride_the_streetcar 0.2.0 → 0.2.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 +5 -1
- data/README.md +3 -22
- data/lib/ride_the_streetcar/apply.rb +1 -1
- data/lib/ride_the_streetcar/query_selector.rb +1 -1
- data/lib/ride_the_streetcar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 45a655d6716d66ef06ac9445109b9415f381850f4334710b280394732fce55a4
|
|
4
|
+
data.tar.gz: a233dfbb68db3f62aa7f0acf482f4886011927f30133367ee85cf393268c7278
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b3b073db3567398cc752a1e663190d6bf6c4c3e19da2e49692feee84d8deb8e8ace99ee1e8231a133d76f3af97dbd95bc401d9ecef44df5b5b72217803aed045
|
|
7
|
+
data.tar.gz: 53c969f4334639f07281631519db8e2c344b8635cca91f72ea41dfc1670b0389e2ac5778decd4803f70ae310898b3b896e70c99179934d1dbdad600566d6b49b
|
data/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [0.2.1] - 2026-07-15
|
|
6
|
+
|
|
7
|
+
- Fix: `apply` args attribute should be spelled `arguments`
|
|
8
|
+
|
|
5
9
|
## [0.2.0] - 2026-07-15
|
|
6
10
|
|
|
7
|
-
Add `dsl` shortcut, `dispatch_event` and `navigate`
|
|
11
|
+
- Add `dsl` shortcut, `dispatch_event` and `navigate`
|
|
8
12
|
|
|
9
13
|
## [0.1.0] - 2025-10-13
|
|
10
14
|
|
data/README.md
CHANGED
|
@@ -1,26 +1,11 @@
|
|
|
1
1
|
# Ride The Streetcar 🚋
|
|
2
|
-
## Ruby Backend (by the
|
|
2
|
+
## Ruby Backend (by the 💞 Heartml project)
|
|
3
3
|
|
|
4
4
|
This is the Ruby server-side component of Ride The Streetcar. You will also need to install the [JavaScript frontend](https://codeberg.org/heartml/streetcar-elements). ([Looking for a JavaScript backend instead?](https://codeberg.org/heartml/ride-the-streetcar-js))
|
|
5
5
|
|
|
6
|
-
----
|
|
7
|
-
|
|
8
|
-
> [!NOTE]
|
|
9
|
-
> A work in progress! Docs coming upon release!
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
|
|
13
6
|
Requires Ruby 3.2 or later.
|
|
14
7
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
```bash
|
|
18
|
-
bundle add ride_the_streetcar
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
## Usage
|
|
22
|
-
|
|
23
|
-
TODO: Write usage instructions here
|
|
8
|
+
[Read installation & usage documentation on the website here.](https://www.heartml.dev/docs/ride-the-streetcar)
|
|
24
9
|
|
|
25
10
|
## Development
|
|
26
11
|
|
|
@@ -30,12 +15,8 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
30
15
|
|
|
31
16
|
## Contributing
|
|
32
17
|
|
|
33
|
-
Bug reports and pull requests are welcome on
|
|
18
|
+
Bug reports and pull requests are welcome on Codeberg at https://codeberg.org/heartml/ride_the_streetcar. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://codeberg.org/heartml/ride_the_streetcar/src/branch/main/CODE_OF_CONDUCT.md).
|
|
34
19
|
|
|
35
20
|
## License
|
|
36
21
|
|
|
37
22
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
|
38
|
-
|
|
39
|
-
## Code of Conduct
|
|
40
|
-
|
|
41
|
-
Everyone interacting in the RideTheStreetcar project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/ride_the_streetcar/blob/main/CODE_OF_CONDUCT.md).
|
|
@@ -9,7 +9,7 @@ module RideTheStreetcar
|
|
|
9
9
|
|
|
10
10
|
def template
|
|
11
11
|
attributes = { method: @method_chain }
|
|
12
|
-
attributes[:
|
|
12
|
+
attributes[:arguments] = @args.to_json unless @args.empty?
|
|
13
13
|
|
|
14
14
|
html -> { <<~HTML
|
|
15
15
|
<sc-apply #{html_attributes attributes}></sc-apply>
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ride_the_streetcar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jared White
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-08-05 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: streamlined
|