invision_bridge 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/invision_bridge.gemspec +1 -1
- data/lib/invision_bridge/invision_bridge.rb +6 -5
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.1
|
data/invision_bridge.gemspec
CHANGED
@@ -14,12 +14,13 @@ module InvisionBridge
|
|
14
14
|
config_group = "invision_bridge"
|
15
15
|
end
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
rescue NoMethodError
|
17
|
+
config = YAML::load(File.open(config_file))
|
18
|
+
config = config[config_group]
|
19
|
+
|
20
|
+
if config.nil?
|
22
21
|
raise "Unable to read database configuration from #{config_file} -- Make sure an #{config_group} definition exists."
|
22
|
+
else
|
23
|
+
config['prefix'] ||= 'ibf_'
|
23
24
|
end
|
24
25
|
|
25
26
|
establish_connection(config)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: invision_bridge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 1
|
10
|
+
version: 0.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Robert Speicher
|