Unverified Commit 87ed561d authored by cmrd Senya's avatar cmrd Senya Committed by Steffen van Bergerem

bump rails-timeago

Here we also set autoDispose to false. This is an option that was introduced
sometime after our last bump. Default is true and it disposes timeago object
if it is not in DOM. But that is the way we initialize timeago objects, therefore
if we have autoDispose=true then they will be disposed before they inserted in DOM.
So by using autoDispose=false we enforce previous behavior that worked fine for us.
parent a880de28
...@@ -183,8 +183,8 @@ gem "typhoeus", "1.1.2" ...@@ -183,8 +183,8 @@ gem "typhoeus", "1.1.2"
gem "gon", "6.1.0" gem "gon", "6.1.0"
gem "hamlit", "2.8.0" gem "hamlit", "2.8.0"
gem "mobile-fu", "1.3.1" gem "mobile-fu", "1.3.1"
gem "rails-timeago", "2.16.0"
gem "will_paginate", "3.1.5" gem "will_paginate", "3.1.5"
gem "rails-timeago", "2.11.0"
# Logging # Logging
......
...@@ -568,7 +568,7 @@ GEM ...@@ -568,7 +568,7 @@ GEM
rails-i18n (4.0.8) rails-i18n (4.0.8)
i18n (~> 0.7) i18n (~> 0.7)
railties (~> 4.0) railties (~> 4.0)
rails-timeago (2.11.0) rails-timeago (2.16.0)
actionpack (>= 3.1) actionpack (>= 3.1)
activesupport (>= 3.1) activesupport (>= 3.1)
rails_admin (0.8.1) rails_admin (0.8.1)
...@@ -734,7 +734,7 @@ GEM ...@@ -734,7 +734,7 @@ GEM
unf (~> 0.1.0) unf (~> 0.1.0)
typhoeus (1.1.2) typhoeus (1.1.2)
ethon (>= 0.9.0) ethon (>= 0.9.0)
tzinfo (1.2.2) tzinfo (1.2.3)
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (3.1.2) uglifier (3.1.2)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
...@@ -886,7 +886,7 @@ DEPENDENCIES ...@@ -886,7 +886,7 @@ DEPENDENCIES
rails-assets-markdown-it-sup (= 1.0.0)! rails-assets-markdown-it-sup (= 1.0.0)!
rails-assets-perfect-scrollbar (= 0.6.16)! rails-assets-perfect-scrollbar (= 0.6.16)!
rails-i18n (= 4.0.8) rails-i18n (= 4.0.8)
rails-timeago (= 2.11.0) rails-timeago (= 2.16.0)
rails_admin (= 0.8.1) rails_admin (= 0.8.1)
rb-fsevent (= 0.9.8) rb-fsevent (= 0.9.8)
rb-inotify (= 0.9.8) rb-inotify (= 0.9.8)
......
...@@ -26,6 +26,8 @@ ...@@ -26,6 +26,8 @@
} }
}); });
} }
$.timeago.settings.autoDispose = false;
}); });
}; };
})(); })();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment