active_record-ssh_tunnel 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record/ssh_tunnel.rb +5 -1
- data/lib/active_record/ssh_tunnel/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3c8a3a7397c869386db42cebb3d6f76c8a3bce2
|
4
|
+
data.tar.gz: a3d42dfef0a18fbccd654df63ce8d7ad411b7099
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78a1a02d41091102f1d35e65cae02e76acb7846efc9ee18562e4f06caa3ecbee25818817009a2f73e9ea05067d1cb7283a37d161d7762b9b4c12237cc5fe85ec
|
7
|
+
data.tar.gz: 0f60bf63218ae7d88f4332ede69939dd4ca7ee72b0a635aad37d0ea9396751090c87ff92e24cfd2b7b36dcdea2c2ba3f0a9815f91a7f59e5dc3e712bf54001d0
|
@@ -33,7 +33,11 @@ module ActiveRecord
|
|
33
33
|
end
|
34
34
|
|
35
35
|
remove_connection
|
36
|
-
|
36
|
+
if ActiveRecord::VERSION::MAJOR >= 5
|
37
|
+
connection_handler.establish_connection spec
|
38
|
+
else
|
39
|
+
connection_handler.establish_connection self, spec
|
40
|
+
end
|
37
41
|
end
|
38
42
|
end
|
39
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_record-ssh_tunnel
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yoshiori SHOJI
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-ssh-gateway
|
@@ -117,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
117
|
version: '0'
|
118
118
|
requirements: []
|
119
119
|
rubyforge_project:
|
120
|
-
rubygems_version: 2.
|
120
|
+
rubygems_version: 2.6.8
|
121
121
|
signing_key:
|
122
122
|
specification_version: 4
|
123
123
|
summary: Connect ActiveRecord with SSH Tunnel.
|