con_air 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/con_air/connection_handler.rb +3 -1
- data/lib/con_air/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NWEyZDcxNTBlZTVhOTE3N2I0MzNlZTkwM2NlZWQ4MjljY2UxMGI1Zg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGZjNmUxZjc1OTE5ZTk2ODkyOTE3MTQxYWU0OTY0YTkxMjRlYzM0OQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTc5MDYzMGVmNjJmYmRkYWZmMDY0MjU0ZTBjYjBhN2Q1YjhiY2FlMjQ0N2Qy
|
10
|
+
MzU0MDM3NmFlNzljOWYxMjQyZDdkZDdhNzk1OTVkMDVmZTc3NmViMTkwYWY5
|
11
|
+
MDQxM2Y1YWUzYjEzMmVjM2Y2MmY1NmUyMDFiMmY3ZGMzOTE2ZTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTA2OWRlZjQ0ZDY0NmVjY2ZhYzBiNmRiNDJjMGIzMDJkOWIwYThkNzUyNDc3
|
14
|
+
ODY2ZTUyNTEwZDJiMWZkZDM1MWJhNTdlOTA3Mjg2MDI3MTFhZTk1YjBiOGNk
|
15
|
+
OWM4ZGY5NzE2OTBiYmE2NDQ0MzQ3N2FkYzAwNjZjYjk0ZGIxZWE=
|
@@ -10,8 +10,10 @@ module ConAir
|
|
10
10
|
@hijacked_spec = hijacked_spec
|
11
11
|
@swap_class = swap_class
|
12
12
|
|
13
|
-
# Init
|
13
|
+
# Init connections after switching handler
|
14
|
+
|
14
15
|
ActiveRecord::Base.establish_connection
|
16
|
+
establish_connection(hijacked_spec, swap_class)
|
15
17
|
end
|
16
18
|
|
17
19
|
def establish_connection(name, spec)
|
data/lib/con_air/version.rb
CHANGED