multiconnect 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/multiconnect/connectable.rb +3 -1
- data/lib/multiconnect/version.rb +1 -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: 8fc0f7b66200923eb5b6b7a8408e3069a9e9fcf8
|
4
|
+
data.tar.gz: ae32387d8aa1ea4a713a28f85db787bcafddb839
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f2b4e5e546b664f290f5c7e149dc2736ca92428cf4b163fe04a907f69ece753bd7581b6f3c14916d72af2776757e73e31d9fb1080071b58de37f1b99903abd3
|
7
|
+
data.tar.gz: 65aa49e0fe36ed2dfe873f2e4d713bac5a6afd31537b6431356811bb63d059f6d6a3213f2b56dc06e48959bf7391774dbc18f0e593ecf62d544fdf8023881ff1
|
@@ -8,9 +8,11 @@ module Multiconnect
|
|
8
8
|
self._connections = []
|
9
9
|
|
10
10
|
def add_connection(connection_class, options = {})
|
11
|
-
|
12
11
|
self._connections = _connections + [connection_class.new(options)]
|
12
|
+
end
|
13
13
|
|
14
|
+
def prepend_connection(connection_class, options = {})
|
15
|
+
self._connections = [connection_class.new(options)] + _connections
|
14
16
|
end
|
15
17
|
|
16
18
|
def request(action, *args)
|
data/lib/multiconnect/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: multiconnect
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Greg Orlov
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|