cncflora_commons 0.0.12 → 0.0.13

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.
Files changed (2) hide show
  1. data/lib/cncflora_commons.rb +2 -2
  2. metadata +1 -1
@@ -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}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cncflora_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: