furatto 1.2.5 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ca419e7970fabaabdcfa98d4ebbc40732938619d
4
- data.tar.gz: f4815b048d9093671c937604655aa661c58ec380
3
+ metadata.gz: c4fe2dac324dfa495e88f1ff30abc670ca61bb66
4
+ data.tar.gz: f5bf954008f0992c847892508e408ef9e1b6bb19
5
5
  SHA512:
6
- metadata.gz: f21732ad188b5e5944cbdad193a5f0566e513f4aa48a3e3bb0bba649a7541526c2cb0f7571c30c612a7fbac6f3be1fa1d088ed7809401677a7c738868f99f16f
7
- data.tar.gz: 29b10ab8b665503b5d7c9c618be60978daa1af95fd2cd575dbb1104c006f23e495645526411b754929f3b5e4fd863d05f737c6bf6e125fe9de1249d38d9fda84
6
+ metadata.gz: 470eaef727e1705328b49cf143c424c26c7448295c1c8ebd6eddb3d19507d8079de2da538c72f09f194acd811c330051a13145efb58b88aaa06c51fb405225f2
7
+ data.tar.gz: a7f25e68667ec59d295b7613b49351fe11f2814e4a61ad4cc613fcb4a3eb11b2ffb858e5790fe41edf29116c3e4653a55f97572f84ed2121c0d99f7f089b17b7
@@ -1,3 +1,3 @@
1
1
  module Furatto
2
- VERSION = "1.2.5"
2
+ VERSION = "1.2.6"
3
3
  end
@@ -22,6 +22,12 @@ module Furatto
22
22
  super(attribute, (text || "").html_safe, options)
23
23
  end
24
24
 
25
+ def password_field(attribute, options = {})
26
+ field attribute, options do |options|
27
+ super(attribute, options.merge(:autocomplete => :off))
28
+ end
29
+ end
30
+
25
31
  private
26
32
 
27
33
  def has_error?(attribute)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: furatto
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.5
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abraham Kuri Vargas