effective_form_inputs 1.2.4 → 1.2.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38949f77670f429369ebe4c42481b723fcb47503
|
4
|
+
data.tar.gz: f5c617cde65e5e9b64b81cd66a227ed8cd9c0771
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c52d5222ab07a362564d1460faba890085682c5c3877a22cd7de4fe87514ad8071ecbffc502189e5f5b42405b9cb36a9181c0c1e9b5c6d41f843f83c286c81e
|
7
|
+
data.tar.gz: 91e545fa95cabdafe83cdc10d81ed629b14b25bce8f389189964fbd954d710c60980a7eac60c7d24e3cbc3a4b1510553c026e25f65ab7558605e9938468e2d38
|
@@ -4,7 +4,7 @@ module Inputs
|
|
4
4
|
delegate :content_tag, :text_field_tag, :to => :@template
|
5
5
|
|
6
6
|
def default_input_js
|
7
|
-
{ format: '
|
7
|
+
{ format: 'LT', showClear: false, useCurrent: 'hour' }
|
8
8
|
end
|
9
9
|
|
10
10
|
def default_input_html
|
@@ -32,7 +32,7 @@ module Inputs
|
|
32
32
|
def html_options
|
33
33
|
super.tap do |html_options|
|
34
34
|
if js_options[:format] == default_input_js[:format] # Unless someone changed from the default
|
35
|
-
html_options[:pattern] = '\d{2}
|
35
|
+
html_options[:pattern] = '\d\d?:\d{2} \D{2}' # Match default pattern defined above
|
36
36
|
end
|
37
37
|
|
38
38
|
if options[:date_linked] == false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_form_inputs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -143,7 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
143
143
|
version: '0'
|
144
144
|
requirements: []
|
145
145
|
rubyforge_project:
|
146
|
-
rubygems_version: 2.
|
146
|
+
rubygems_version: 2.5.2.3
|
147
147
|
signing_key:
|
148
148
|
specification_version: 4
|
149
149
|
summary: Collection of Form Inputs
|