active_record-ssh_tunnel 0.1.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7425ebedb1646608ac1a5580935af9367ff01e7c
4
- data.tar.gz: 81dae2ac29f51c24b965f101714a42a0caea6881
3
+ metadata.gz: e3c8a3a7397c869386db42cebb3d6f76c8a3bce2
4
+ data.tar.gz: a3d42dfef0a18fbccd654df63ce8d7ad411b7099
5
5
  SHA512:
6
- metadata.gz: c644a4d1952c71170f5c9a610cb0474297b87aff07b24f847637964d38b81690e3c06038abfd1789664b490fca33d668cfefa1c5182b23b8b91b2480d8fc8592
7
- data.tar.gz: baefcd76065d8dc6fa6f213fb93780a6925cd8085f1880466b0f1dc739aeaf2730688a921591bf8bc80fc088e5133e71cb7741711e86729b8621e236ce5f949e
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
- connection_handler.establish_connection self, spec
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
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module SshTunnel
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  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: 0.1.0
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: 2015-10-27 00:00:00.000000000 Z
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.4.5
120
+ rubygems_version: 2.6.8
121
121
  signing_key:
122
122
  specification_version: 4
123
123
  summary: Connect ActiveRecord with SSH Tunnel.