flying-sphinx 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/flying_sphinx/tunnel.rb +3 -3
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.4
|
data/lib/flying_sphinx/tunnel.rb
CHANGED
@@ -24,15 +24,15 @@ class FlyingSphinx::Tunnel
|
|
24
24
|
private
|
25
25
|
|
26
26
|
def db_host
|
27
|
-
db_config[
|
27
|
+
db_config[:host]
|
28
28
|
end
|
29
29
|
|
30
30
|
def db_port
|
31
|
-
db_config[
|
31
|
+
db_config[:port]
|
32
32
|
end
|
33
33
|
|
34
34
|
def db_config
|
35
|
-
@db_config ||=
|
35
|
+
@db_config ||= ActiveRecord::Base.connection.instance_variable_get(:@config)
|
36
36
|
end
|
37
37
|
|
38
38
|
def ssh_options
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flying-sphinx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 7
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 4
|
10
|
+
version: 0.4.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Pat Allan
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-07 00:00:00 +11:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|