bs-helper 0.1.2 → 0.1.3

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: 48e0c9744d39e5dda8123ce70cb2ec941ec2aaed
4
- data.tar.gz: a6fe89a5e76500693bec31991f94c3d077d60c7d
3
+ metadata.gz: 61efb11b7de6e9101876f55325023a4704130c03
4
+ data.tar.gz: c6e6d2fb700222b44298c46ccc4902d7a87a70a8
5
5
  SHA512:
6
- metadata.gz: e46db0d3b6f233b74b7195cb75e86e6f43e68756073d75158954484c4af35e094ba61d027cc3252e480a1e2a17a730093bd4f5c2b0fadd9ef23a76aca071b2bd
7
- data.tar.gz: ea243ac6f0be9d79bf025932832a5a5b82c8076e79afc8f8535474c8b4de4853f1eb7ab362c451f338a36f1d135e501a2d4f9fee309723694facce1b8cb6699f
6
+ metadata.gz: 5651986ac132d859062c60dedebfe27fd428743ac18e9b3769e1c8c192c4584802c3022fa35b0922e75b2983b3794fddd7b68e782baba5e73fffc0ab08ae5099
7
+ data.tar.gz: c41c6af58670fc1a7dc1eff9762062cbeb951fcc48aeee21237a697568b1a55e7a628ac6f017965772fd0e8f2599e7548fc2c3e6e1480f6593957389615de210
@@ -221,7 +221,7 @@ module BootstrapComponentHelper
221
221
  # block: true, false, add padding to alert component. default: false
222
222
  # closable: true, false, add a close button to alert. default: true
223
223
  # the other options that can be accepted by div
224
- def flash(message=nil, options={}, &block)
224
+ def f(message=nil, options={}, &block)
225
225
  message, options = nil, message if message.is_a?(Hash)
226
226
 
227
227
  default_options = {closable: true, block: false}
@@ -242,8 +242,6 @@ module BootstrapComponentHelper
242
242
  end
243
243
  end
244
244
 
245
- alias_method :f, :flash
246
-
247
245
  # Progress bars
248
246
  #
249
247
  # the first parameter is a hash:
@@ -1,5 +1,5 @@
1
1
  module Bs
2
2
  module Helper
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bs-helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - bigxiang