inline_forms 1.6.18 → 1.6.19
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/app/helpers/form_elements/info.rb +13 -13
- data/lib/inline_forms/version.rb +1 -1
- metadata +2 -2
@@ -20,17 +20,17 @@ def info_update(object, attribute)
|
|
20
20
|
# do absolutely nothing
|
21
21
|
end
|
22
22
|
|
23
|
-
module ActionView::Helpers::DateHelper
|
24
|
-
|
25
|
-
def distance_of_time_in_words_to_now_with_future(from_time, include_seconds = false)
|
26
|
-
if from_time > Time.now()
|
27
|
-
'in ' + distance_of_time_in_words_to_now_without_future(from_time, include_seconds)
|
28
|
-
else
|
29
|
-
distance_of_time_in_words_to_now_without_future(from_time, include_seconds) + ' ago'
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
alias_method_chain :distance_of_time_in_words_to_now, :future
|
34
|
-
|
35
|
-
end
|
23
|
+
#module ActionView::Helpers::DateHelper
|
24
|
+
#
|
25
|
+
# def distance_of_time_in_words_to_now_with_future(from_time, include_seconds = false)
|
26
|
+
# if from_time > Time.now()
|
27
|
+
# 'in ' + distance_of_time_in_words_to_now_without_future(from_time, include_seconds)
|
28
|
+
# else
|
29
|
+
# distance_of_time_in_words_to_now_without_future(from_time, include_seconds) + ' ago'
|
30
|
+
# end
|
31
|
+
# end
|
32
|
+
#
|
33
|
+
# alias_method_chain :distance_of_time_in_words_to_now, :future
|
34
|
+
#
|
35
|
+
#end
|
36
36
|
|
data/lib/inline_forms/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: inline_forms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.6.
|
5
|
+
version: 1.6.19
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Ace Suares
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2013-
|
13
|
+
date: 2013-07-05 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rvm
|