cncflora_commons 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/cncflora_commons.rb +2 -2
- metadata +1 -1
data/lib/cncflora_commons.rb
CHANGED
@@ -134,13 +134,13 @@ def setup(file)
|
|
134
134
|
config[:strings] = JSON.parse(File.read("src/locales/#{settings.lang}.json", :encoding => "BINARY"))
|
135
135
|
end
|
136
136
|
|
137
|
-
if !config.has_key :elasticsearch then
|
137
|
+
if !config.has_key? :elasticsearch then
|
138
138
|
config[:elasticsearch] = "#{config[:datahub]}/#{settings.db}"
|
139
139
|
else
|
140
140
|
config[:elasticsearch] = "#{config[:elasticsearch]}/#{settings.db}"
|
141
141
|
end
|
142
142
|
|
143
|
-
if !config.has_key :couchdb then
|
143
|
+
if !config.has_key? :couchdb then
|
144
144
|
config[:couchdb] = "#{config[:datahub]}/#{settings.db}"
|
145
145
|
else
|
146
146
|
config[:couchdb] = "#{config[:couchdb]}/#{settings.db}"
|