dominate 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dominate/version.rb +1 -1
- data/lib/dominate/widget/event.rb +5 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c36f351ee86ff1383ce650fe15a4670dd00d152b
|
4
|
+
data.tar.gz: 00cf89cb8c259bef995982c5c4f22de1869435b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bbba36241881fc63d6037c92a822c0790cb3d3ac2ed4e36a7a15d66aa4fd74e703eb2561d8e86986b42f19da7a034b3749af643ec1e8d4d18a54690dcd5b120
|
7
|
+
data.tar.gz: 2f4b4111807050c5ba8f3e28bebe8f960ac913534505ab01353c4a0173f973cc0bd59555860200d73ed726cb607ef1705a91a312a46603cc19b0ed40aa3b199d
|
data/lib/dominate/version.rb
CHANGED
@@ -44,7 +44,11 @@ module Eventable
|
|
44
44
|
}
|
45
45
|
|
46
46
|
threads.map(&:join)
|
47
|
-
|
47
|
+
|
48
|
+
# Recover lost connections for the pool. A lost connection can occur if a
|
49
|
+
# programmer forgets to checkin a connection at the end of a thread or a
|
50
|
+
# thread dies unexpectedly.
|
51
|
+
ActiveRecord::Base.connection_pool.reap if defined? ActiveRecord
|
48
52
|
|
49
53
|
true
|
50
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dominate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|