hooch 0.10.1 → 0.10.2

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
  SHA1:
3
- metadata.gz: d261ec58dce2ebb61da1e7c523194897ab6a27cd
4
- data.tar.gz: 41696ea92bc5f2daffa1af084820a2863091cde2
3
+ metadata.gz: c9839a67c9d3d6ba4e451d400bc0e86e109cde5b
4
+ data.tar.gz: ed6a60481634b548a0a6232450e5e49191976901
5
5
  SHA512:
6
- metadata.gz: 04f25abd153c92beab28e60e3ab119e0a8d854df9f736ae6e84e3c859c5089b6673beaabe711647e463252ba73af78b678e5bec30f57f63796296b86fafc3d20
7
- data.tar.gz: 1ddf08334534bacc261e576fd9a4c8b492405df27e7db8ad3a7d370f7c9e836ff8c6e282e280558e2634f21cdd97a9346c86ffcd1cd6f1ae450b2dd72c76eb95
6
+ metadata.gz: 820468017cd71e57d5d5720b63ab252c00ee960a304e3f5a7a14c521a38ec6801ef0e51e3fe8c883df3c246c75a359a4d8e3272b20db9aada9d09c638fa83ef4
7
+ data.tar.gz: 5eecbda61955d9897428be773d2b380caee4d661ae99f42ec545df9f6bb714013e9d26b0b4974e42549f1988f2cd469367ad39af8a00e1b565e03c95b46393dd
@@ -24,6 +24,11 @@ module Hooch
24
24
  attrs = 'data-tab-id=' + id
25
25
  end
26
26
 
27
+ def modal_trigger(target)
28
+ attrs = 'data-modal-trigger="true"'
29
+ attrs += " data-content-target=\"#{target}\""
30
+ end
31
+
27
32
  def expander(id, expand_class: nil, collapse_class: nil)
28
33
  attrs = "data-expander=true data-expand-id=" + id
29
34
  attrs += " data-expand-class=" + expand_class if expand_class.present?
@@ -1,3 +1,3 @@
1
1
  module Hooch
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hooch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut