calendar_date_select 2.1.0 → 2.1.2
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: 053c4004a12cac6f85c04b938f7c85d785969c3e
|
4
|
+
data.tar.gz: e5479b9d0097c9eac6dd9ba545fa6fbea68adf4c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8aad66389640a7cfd678fb26e8b451dcc6178095abab379b4a5b9f5797ece68665bc0903fdd6e784389d76372891802646365740afd06cd6eb829bafc539fed
|
7
|
+
data.tar.gz: 8ff99729851e196c120d4c064c562975107a77401d8514ad8a78c3cec9571df040d19eb11200fe593eb8fd75baf050a4eb5df6f83069be3b169b547725b14e9f
|
@@ -143,12 +143,12 @@ module CalendarDateSelect::FormHelpers
|
|
143
143
|
end
|
144
144
|
end
|
145
145
|
|
146
|
-
if defined?(ActionView::
|
147
|
-
tag = ActionView::Helpers::InstanceTag.new(object, method, self, options.delete(:object))
|
148
|
-
output = tag.to_input_field_tag((javascript_options[:hidden] || javascript_options[:embedded]) ? "hidden" : "text", options)
|
149
|
-
else
|
146
|
+
if defined?(ActionView::Helpers::Tags::TextField)
|
150
147
|
tag = ActionView::Helpers::Tags::TextField.new(object, method, self, options)
|
151
148
|
output = tag.render
|
149
|
+
else
|
150
|
+
tag = ActionView::Helpers::InstanceTag.new(object, method, self, options.delete(:object))
|
151
|
+
output = tag.to_input_field_tag((javascript_options[:hidden] || javascript_options[:embedded]) ? "hidden" : "text", options)
|
152
152
|
end
|
153
153
|
|
154
154
|
calendar_date_select_output(
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calendar_date_select
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shih-gian Lee
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-
|
15
|
+
date: 2015-09-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|