htmx 0.3.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3bf798de3b7a08abddf9e0ebf6a46896889f08a815ea252310e43fdaf60e1b3
4
- data.tar.gz: '0974300668c259fc13323bde4cf337ac9d3e87201ec07e1b0aa879346557d881'
3
+ metadata.gz: 11f34237dc1b2d60815ca8a2f4d74844db12c4a26488747bc2819ab86cab73d2
4
+ data.tar.gz: 31743bb4754898187f65a46e528fafcbc7ce0104b499e2074073bd3cd9b66ac4
5
5
  SHA512:
6
- metadata.gz: 91017541f831aba6aab0050a3b43c31f3020507a02f88e7aeb3f989c3884eadc1ede315abbce4f68a7be0a640594917c525683c86fafdaa1ca966b901f0299e8
7
- data.tar.gz: cc38ff860e9450c0f72308be687a41c27a23ffb30ec1c0239963add89638b294a0198bc3dba8275e2058090cf1712399e5c2b6116dc4546d5f0a8a0488805725
6
+ metadata.gz: ef152c50cd6307795a366260baaf0b521f74975a6ccd3ca66671382a95565ec22096dc8497f417ebef1a7057d358629202bb5ca03282f036f3ed5ccf692d795c
7
+ data.tar.gz: a4dac226e17bf1735be135a5e7fc5db9d9c83c43063417c945c7e3ca074aac5d18ac2da3bfab6bb8946f366ac3bd12bf962de181c66be488eeb61ee0c00536be
checksums.yaml.gz.sig CHANGED
Binary file
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 = "0.3.0"
5
+ spec.version = "0.4.1"
6
6
  spec.authors = ["Brooke Kuhlmann"]
7
7
  spec.email = ["brooke@alchemists.io"]
8
8
  spec.homepage = "https://alchemists.io/projects/htmx"
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.signing_key = Gem.default_key_path
23
23
  spec.cert_chain = [Gem.default_cert_path]
24
24
 
25
- spec.required_ruby_version = "~> 3.2"
25
+ spec.required_ruby_version = [">= 3.2", "<= 3.3"]
26
26
  spec.add_dependency "refinements", "~> 11.0"
27
27
  spec.add_dependency "zeitwerk", "~> 2.6"
28
28
 
data/lib/htmx.rb CHANGED
@@ -2,13 +2,19 @@
2
2
 
3
3
  require "zeitwerk"
4
4
 
5
- Zeitwerk::Loader.for_gem.then do |loader|
5
+ Zeitwerk::Loader.new.then do |loader|
6
6
  loader.inflector.inflect "htmx" => "HTMX"
7
+ loader.tag = File.basename __FILE__, ".rb"
8
+ loader.push_dir __dir__
7
9
  loader.setup
8
10
  end
9
11
 
10
12
  # Main namespace.
11
13
  module HTMX
14
+ def self.loader registry = Zeitwerk::Registry
15
+ @loader ||= registry.loaders.find { |loader| loader.tag == File.basename(__FILE__, ".rb") }
16
+ end
17
+
12
18
  def self.[](...)
13
19
  @prefixer ||= Prefixer.new
14
20
  @prefixer.call(...)
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: 0.3.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -35,7 +35,7 @@ cert_chain:
35
35
  3n5C8/6Zh9DYTkpcwPSuIfAga6wf4nXc9m6JAw8AuMLaiWN/r/2s4zJsUHYERJEu
36
36
  gZGm4JqtuSg8pYjPeIJxS960owq+SfuC+jxqmRA54BisFCv/0VOJi7tiJVY=
37
37
  -----END CERTIFICATE-----
38
- date: 2023-08-11 00:00:00.000000000 Z
38
+ date: 2023-11-16 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: refinements
@@ -99,16 +99,19 @@ require_paths:
99
99
  - lib
100
100
  required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - "~>"
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '3.2'
105
+ - - "<="
106
+ - !ruby/object:Gem::Version
107
+ version: '3.3'
105
108
  required_rubygems_version: !ruby/object:Gem::Requirement
106
109
  requirements:
107
110
  - - ">="
108
111
  - !ruby/object:Gem::Version
109
112
  version: '0'
110
113
  requirements: []
111
- rubygems_version: 3.4.18
114
+ rubygems_version: 3.4.22
112
115
  signing_key:
113
116
  specification_version: 4
114
117
  summary: An augmenter and companion to the HTMX JavaScript library.
metadata.gz.sig CHANGED
Binary file