has_stimulus_attrs 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/README.md +2 -2
- data/has_stimulus_attrs.gemspec +3 -2
- data/lib/has_stimulus_attrs/version.rb +1 -1
- data/lib/has_stimulus_attrs.rb +1 -0
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab9a410dcca140dff84d140d63c800df80079dc0262b8f1aa4f2483843ce31f5
|
4
|
+
data.tar.gz: ee2fe71c3d4dede74df29b28318bdd0abcb8ca5ac90fb474d2fb180122f7eb32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5ee171cd41a62288db206cb1f170d2b065629284329cb9ea9b7850a94e4b40b38624e30e76ceae2184b70806ba6cc601f903d95fae0d219c5875936cbd78eb2
|
7
|
+
data.tar.gz: 5f0993dea9aacad431660fe91f587a27b37b41bc37f0839afeac188d1aa43a302f22bd402d351f79989aac87f316ebae6e6d7586b423690436036056172f38e5
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.4
|
data/README.md
CHANGED
@@ -71,8 +71,8 @@ class ModalComponent < ApplicationComponent
|
|
71
71
|
has_stimulus_outlet "outlet", ".selector"
|
72
72
|
|
73
73
|
# Param
|
74
|
-
has_stimulus_param id
|
75
|
-
has_stimulus_param id
|
74
|
+
has_stimulus_param :id, 123
|
75
|
+
has_stimulus_param :id, -> { id }
|
76
76
|
|
77
77
|
# Target
|
78
78
|
has_stimulus_target "target"
|
data/has_stimulus_attrs.gemspec
CHANGED
@@ -26,8 +26,9 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
27
27
|
spec.require_paths = ["lib"]
|
28
28
|
|
29
|
-
spec.add_dependency "stimulus_helpers", "~> 0.1
|
30
|
-
spec.add_dependency "has_dom_attrs", "~> 0.1
|
29
|
+
spec.add_dependency "stimulus_helpers", "~> 0.1"
|
30
|
+
spec.add_dependency "has_dom_attrs", "~> 0.1"
|
31
|
+
spec.add_dependency "activesupport", ">= 7.0"
|
31
32
|
|
32
33
|
spec.add_development_dependency "bundler"
|
33
34
|
spec.add_development_dependency "rake"
|
data/lib/has_stimulus_attrs.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: has_stimulus_attrs
|
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
|
- Tomas Celizna
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-07-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: stimulus_helpers
|
@@ -17,28 +17,42 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 0.1
|
20
|
+
version: '0.1'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 0.1
|
27
|
+
version: '0.1'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: has_dom_attrs
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - "~>"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: 0.1
|
34
|
+
version: '0.1'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - "~>"
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: 0.1
|
41
|
+
version: '0.1'
|
42
|
+
- !ruby/object:Gem::Dependency
|
43
|
+
name: activesupport
|
44
|
+
requirement: !ruby/object:Gem::Requirement
|
45
|
+
requirements:
|
46
|
+
- - ">="
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: '7.0'
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '7.0'
|
42
56
|
- !ruby/object:Gem::Dependency
|
43
57
|
name: bundler
|
44
58
|
requirement: !ruby/object:Gem::Requirement
|
@@ -150,7 +164,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
164
|
- !ruby/object:Gem::Version
|
151
165
|
version: '0'
|
152
166
|
requirements: []
|
153
|
-
rubygems_version: 3.
|
167
|
+
rubygems_version: 3.5.11
|
154
168
|
signing_key:
|
155
169
|
specification_version: 4
|
156
170
|
summary: Helper methods for dealing with stimulus attributes.
|