htmx 3.0.0 → 3.2.0

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: b308334eca1036b4d78c1698443ffc548e9b02c06472b1eea2965ed4dcf56289
4
- data.tar.gz: c9a93a4271e8a1713c9158746874cbcee78218002565721411e1a022e9d8359c
3
+ metadata.gz: 061d840aba4723239a393b8c8c304f0e4d6dca4b844fc990722e7d2aea9c8faf
4
+ data.tar.gz: acefbda40ffe891e202f8f815f5d1936f295bab933aac5d2ddf32354c5f5e201
5
5
  SHA512:
6
- metadata.gz: eb9d02179bcb890f1313434ee0492a8aabe1fc57c215c83571e0b5528f197d0ea2af6e82f1a8d01c5d147c910f1d0c3160c278edb1c6eeaf980e9a09da726828
7
- data.tar.gz: 2c19f5cd9be31c400032a1b350097cb35750adb8489bb5cef3c93717162c17f6cd9f8207c12d53a99cdf426f0a33fee38bd148e4f93a71291ae2ed90cd6b1690
6
+ metadata.gz: 24986b4cb5afa08aa1a0dc5b50ab785a09907253f731b1564a27bf64443843c5c547c1c9936c33e325a2e9fa68e0f4067eee82bcee12c4314336c56297357453
7
+ data.tar.gz: 7bfa9f77727829e8f07b59bb8c916954f6700b3a3d57eb2f6ec2d857925d32959e5fd1242e0811eb8b11422d7ecb61f3502470477f1fa63425459a929d8f1c7f
checksums.yaml.gz.sig CHANGED
Binary file
data/README.adoc CHANGED
@@ -2,12 +2,13 @@
2
2
  :toclevels: 5
3
3
  :figure-caption!:
4
4
 
5
+ :data_link: link:https://alchemists.io/articles/ruby_data[Data]
6
+ :hanami_link: link:https://hanamirb.org[Hanami]
7
+ :hanami_views_link: link:https://alchemists.io/articles/hanami_views[Hanami Views]
8
+ :hanamismith_link: link:https://alchemists.io/projects/hanamismith[Hanamismith]
5
9
  :htmx_link: link:https://htmx.org[htmx]
6
10
  :hypermedia_systems_link: link:https://hypermedia.systems[Hypermedia Systems]
7
- :hanami_link: link:https://hanamirb.org[Hanami]
8
11
  :roda_link: link:http://roda.jeremyevans.net[Roda]
9
- :data_link: link:https://alchemists.io/articles/ruby_data[Data]
10
- :hanamismith_link: link:https://alchemists.io/projects/hanamismith[Hanamismith]
11
12
 
12
13
  = HTMX
13
14
 
@@ -28,7 +29,7 @@ ____
28
29
 
29
30
  This gem provides native Ruby support for the {htmx_link} JavaScript library so you can build sophisticated web applications using pure Hypermedia REST APIs while avoiding unnecessary bloat and complexity common with the JavaScript ecosystem. By building upon the original foundations of Hypermedia REST APIs, you can build rich web applications with no additional JavaScript!
30
31
 
31
- 💡 This is used with the {hanamismith_link} gem when building {hanami_link} applications. Even better, you can play with the link:https://github.com/bkuhlmann/hemo[Hanami demo application] to learn more. Enjoy!
32
+ 💡 This is used with the {hanamismith_link} gem when building {hanami_link} applications.
32
33
 
33
34
  toc::[]
34
35
 
@@ -78,7 +79,7 @@ require "htmx"
78
79
 
79
80
  == Usage
80
81
 
81
- One of the first tasks you'll want to tackle, when working with the {htmx_link} library, is building htmx specific HTML attributes. This can be accomplished by using the `.[]` method. For example, when implementing a {hanami_link} view part, you could use the following:
82
+ One of the first tasks to tackle, when working with the {htmx_link} library, is building htmx specific HTML attributes. This can be accomplished by using the `.[]` method. For example, when implementing a {hanami_views_link} part, you could use the following:
82
83
 
83
84
  [source,ruby]
84
85
  ----
@@ -117,7 +118,7 @@ tag.button(
117
118
  )
118
119
  ----
119
120
 
120
- This would then produce the following HTML code:
121
+ This will produce the following HTML code:
121
122
 
122
123
  [source,html]
123
124
  ----
@@ -139,9 +140,7 @@ HTMX::Prefixer.new.call delete: "/tasks/1"
139
140
  HTMX::Prefixer.new("hx").call delete: "/tasks/1"
140
141
  ----
141
142
 
142
- All three of the above will produce the same output which means you'll most likely want to use the `.[]` method since it has the shortest syntax.
143
-
144
- If you attempt to use an unsupported prefix, you'll get an error:
143
+ All three of the above will produce the same output which means you'll most likely want to use the `.[]` method since it has the shortest syntax. If you attempt to use an unsupported prefix, you'll get an error:
145
144
 
146
145
  [source,ruby]
147
146
  ----
data/htmx.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "htmx"
5
- spec.version = "3.0.0"
5
+ spec.version = "3.2.0"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/htmx"
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
25
  spec.required_ruby_version = ">= 4.0"
26
+
26
27
  spec.add_dependency "refinements", "~> 14.0"
27
28
  spec.add_dependency "zeitwerk", "~> 2.7"
28
29
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmx
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -9,9 +9,9 @@ bindir: bin
9
9
  cert_chain:
10
10
  - |
11
11
  -----BEGIN CERTIFICATE-----
12
- MIIENjCCAp6gAwIBAgIBAjANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
12
+ MIIENjCCAp6gAwIBAgIBAzANBgkqhkiG9w0BAQsFADBBMQ8wDQYDVQQDDAZicm9v
13
13
  a2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRIwEAYKCZImiZPyLGQBGRYC
14
- aW8wHhcNMjUwMzIyMTQ1NDE3WhcNMjYwMzIyMTQ1NDE3WjBBMQ8wDQYDVQQDDAZi
14
+ aW8wHhcNMjYwMzI1MTI0OTEyWhcNMjcwMzI1MTI0OTEyWjBBMQ8wDQYDVQQDDAZi
15
15
  cm9va2UxGjAYBgoJkiaJk/IsZAEZFgphbGNoZW1pc3RzMRI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30qUTbVAKIHlHCDKRn3SgOffDUB5VU2MsJBh/3TPKWBZ
28
+ anB/uzMcwOfru+qyA3b7ZFqZzRLWmR5FtPObFxc0gYMT3YvLNHk2Nb9Vjq/PoiGG
29
+ e75PXweDOokwDA5m1gMOz1rdp/dlGMXkSFQg94PPVyUKXgO4VzWTgePSDxOIL+v6
30
+ +OWV6AaEH9BaqxnmdA5ubi0L7bhl0gbN92FxpNO3kpTjww8kme856a+wCK3qyM5w
31
+ 7ZLbUexynDN0Au8eSpT2Bf6ztGmB1S9ffzDJsGX1/lkpMIB51e48Xe2+gzzOgemk
32
+ CdZaGupj6WkarnT8kh/cPtyA5ax4rGX6GOS8meGxzkv8Uy0JSEOYAp6wLfIisYZp
33
+ IJBIXIOkwKKJ0eB5YHrUSJxzpP4LlcIg/eTftaXmJdYjy+2VRrCZYDjfguyLmMjR
34
+ KR9w4/Fjvqy87kCHmxMWa6IL2Vzt1Clm2cA=
35
35
  -----END CERTIFICATE-----
36
36
  date: 1980-01-02 00:00:00.000000000 Z
37
37
  dependencies:
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 4.0.3
107
+ rubygems_version: 4.0.10
108
108
  specification_version: 4
109
109
  summary: An augmenter and companion to the HTMX JavaScript library.
110
110
  test_files: []
metadata.gz.sig CHANGED
Binary file