rails_multisite 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rails_multisite might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 21426e08679ae314cc95d1b9e3a4271b16a53e39
4
- data.tar.gz: b748de947d54cb1991caeb9fd32f6e9a323e3462
3
+ metadata.gz: a8c3c0c997af59b717db0143426fa1d83a1e3667
4
+ data.tar.gz: 39377b57e2174a1597cc1d76d698df08146685be
5
5
  SHA512:
6
- metadata.gz: 2f77faddf9cf3ccd3e6d787066afa2c9e2791208d1c0e9ae0780f171c7c2147691030b82b3f31d4168c0f626eb5b82daca96bf5487ea78ba8df283f07c9b79c1
7
- data.tar.gz: 804ea79e00fdcaf13b255035fcfb13201e379187a625610cd06ffacdf321a57b54cb25d1c3fb0764879adda4b8c1ad1b4bf86bcb74f836657ff93ebfb508e634
6
+ metadata.gz: 59cb5dc3fb75debd53519af72889a8d2377a3154a831ec6dab843d83a0e0a54e04fe403375d7047885d2b93a9826ca29ea0bad5863454360c38682d96a460c27
7
+ data.tar.gz: 4ca6cbf4973bc65f2806c6b48f9eb6c781db2f80e9857cb888d30751b2d8d7da0fa16bdaa50b665c51b3f236b05f162093ce542a11513ad4fc7ba911bcc8903f
@@ -60,8 +60,9 @@ module RailsMultisite
60
60
  @instance.with_connection(db, &blk)
61
61
  else
62
62
  connected = ActiveRecord::Base.connection_pool.connected?
63
- blk.call db
63
+ result = blk.call db
64
64
  ActiveRecord::Base.clear_active_connections! unless connected
65
+ result
65
66
  end
66
67
  end
67
68
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  #
3
3
  module RailsMultisite
4
- VERSION = "2.0.1"
4
+ VERSION = "2.0.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_multisite
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Saffron
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-19 00:00:00.000000000 Z
11
+ date: 2018-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord