glebtv-simple_captcha 0.8.0 → 0.8.1

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
  SHA256:
3
- metadata.gz: 653ac01fb6ddf71a0e4eceea878986e35de35b4e67fc65951e8d3ef8b38e712b
4
- data.tar.gz: 82b3121008ea69c1bbf490da5381945999fcda04904b3fdcbb50eaa45101d284
3
+ metadata.gz: d550d3a16f3e9dde39738b862a836ded5e96bf5a09b0c1b021560b9778712574
4
+ data.tar.gz: 2519a1e1b91ebe7af55ace09a1b62407f0441fd3f8076de2304096f6bd97a1e0
5
5
  SHA512:
6
- metadata.gz: 29befa7e753674306bff80506f6ce57f94048c1a1b94b55d4ccdc175852c41657b9ee654245357e02c3bbe57d105b584664830ec48e4e07b9e2ee6d31a3d1569
7
- data.tar.gz: 0a92dd62e37a82bb749a75d34e48564d2538ef4b16d431f6e2315978f4bf7470b81ac335fc3d16382ceb9f5db347e74a7a7f7221d93df4b31735fd1c4e7f1038
6
+ metadata.gz: 400c6832edc0da6d1c81b21e2e34cc47595e3b326a0bcdfe383f3de09427e3545d9a51a632b1682954011480b92d6381763dcad29f703472d2b26857c4e70ff1
7
+ data.tar.gz: e86d2e683c554a9c33b0c6af315c1cfcfffc694797f5b35facff60eba7904c0d3290e5ea921b45204239745a1b0e64832c3165cc4950a8a2fce9887137418e10
@@ -26,7 +26,7 @@ module SimpleCaptcha
26
26
  end
27
27
 
28
28
  def simple_captcha_field(options={})
29
- text_field(:captcha, :value => '', :autocomplete => 'off') +
29
+ text_field(:captcha, :value => '', :autocomplete => 'off', placeholder: options[:placeholder]) +
30
30
  hidden_field(:captcha_key, {:value => options[:field_value]})
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module SimpleCaptcha
4
- VERSION = "0.8.0".freeze
4
+ VERSION = "0.8.1".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glebtv-simple_captcha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTv
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-26 00:00:00.000000000 Z
11
+ date: 2018-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler