vident 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/vident/root_component/using_better_html.rb +2 -0
- data/lib/vident/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67e45f543fe3f97dd050d2290df241245d23b28e3cda663690f56040c3a544d4
|
4
|
+
data.tar.gz: 4e3ad1886e6d29b9b67c633ba580fbc35800e567f5fe8cf0243362dede04bebd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04226cd965c9ea3b0c85aad8e17fa59f2d6093bf1629939daf5a628db7560de496f8c50d1aa053cc02115652bbc4dc38ea5c01bd23b22b6e99a6811065e8e66c
|
7
|
+
data.tar.gz: 1ff880c833a70a07aa95099e79a565d25b924411600c951784e9eabbcf6ad9828c08973119d6209c51e285500c6d55970493832fa8af7acddf34ae9cc84c44d3
|
data/CHANGELOG.md
CHANGED
@@ -17,12 +17,14 @@ if Gem.loaded_specs.has_key? "better_html"
|
|
17
17
|
attrs = build_target_data_attributes(parse_targets(targets))
|
18
18
|
helpers.html_attributes(attrs.transform_keys! { |k| "data-#{k}" })
|
19
19
|
end
|
20
|
+
alias_method :as_target, :as_targets
|
20
21
|
|
21
22
|
# Return the HTML `data-action` attribute for the given actions
|
22
23
|
def with_actions(*actions_to_set)
|
23
24
|
actions_str = action_list(actions_to_set)
|
24
25
|
actions_str.present? ? helpers.html_attributes("data-action" => actions_str) : nil
|
25
26
|
end
|
27
|
+
alias_method :with_action, :with_actions
|
26
28
|
|
27
29
|
private
|
28
30
|
|
data/lib/vident/version.rb
CHANGED