helper_methods 0.0.19 → 0.0.20

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: f15ad1d82a091ec09ce7cb5174c26589436fdfc5
4
- data.tar.gz: 280e8b5a08c511944d867da8c780ac47fc9550bc
3
+ metadata.gz: dfc593978e3c1dfdd61040bbeffdaf79d6f88973
4
+ data.tar.gz: 569ef38e86cc57c35d57def54088fd15e9a5078a
5
5
  SHA512:
6
- metadata.gz: 3a70d7eb8a302edffce843df252e972081262091047e97b03ae8177eb39e99dab43a1569553c067ca5d0711ef3d079c7d317d2ffb39ff9bc4126f42fb6e2ebdd
7
- data.tar.gz: e2de050f451f5380ea0b6da9ac76e12d40167dbc1d7773c24481499beccf5fbf83f19234216d1c7d6610cef70dbbafa0c6e3d3b06d48c1b4f369dfce037b129b
6
+ metadata.gz: a1e0cd6597efa633bf2eed5efca2782ffe09a8ffe6c6182f5460c9cbf2662f86f8a7a776907ededed3343d3f8d78485b13b0f3c3ca1361bf06113ce37daca031
7
+ data.tar.gz: 467b5ae9165c5d5e8a3a48e58c470431d2aba4349b11b54ba8e0d9aaf925a5ed06d058ec7509ae068abb3ccacaf0e9e7c4bb67f521ffcfc3bafe462a2d16047f
@@ -42,14 +42,13 @@ module HelperMethods
42
42
  link_to "www.youtube.com/watch?v=#{video}", "http://www.youtube.com/watch?v=#{video}", class: 'various fancybox-media'
43
43
  end
44
44
 
45
- def bootstrap_icon(icon, text="", direction="l")
46
- return %(<span class="icon"></span> #{text}).html_safe if direction == 'l'
47
- return %(#{text} <span class="icon"></span>).html_safe if direction == 'r'
45
+ def bootstrap_icon(name, text="", direction="l")
46
+ return %(<span class="#{name}"></span> #{text}).html_safe if direction == 'l'
47
+ return %(#{text} <span class="#{name}"></span>).html_safe if direction == 'r'
48
48
  end
49
49
 
50
50
  def bootstrap_label(text, name="")
51
-
52
- return %(<span class="label label-#{name}">#{text}</span>).html_safe
51
+ return %(<span class="#{name}">#{text}</span>).html_safe
53
52
  end
54
53
 
55
54
  def bootstrap_badge(text, name="")
@@ -1,3 +1,3 @@
1
1
  module HelperMethods
2
- VERSION = "0.0.19"
2
+ VERSION = "0.0.20"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: helper_methods
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.19
4
+ version: 0.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francisco Martins