idata 0.3.0 → 0.3.1

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/iload +3 -3
  3. data/lib/idata/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aea47287cb8de9e1f47ed792a229bc894134f27c
4
- data.tar.gz: f417b2e5b617104aa140f573a5a6cad3c863227d
3
+ metadata.gz: 69a99cb6ea4fb972dec876c88ec37ca7e3d4986e
4
+ data.tar.gz: 9f17bc2ab0867328c9140496d3acedc00f1a4f95
5
5
  SHA512:
6
- metadata.gz: 21fc196f3067f17dade972c9ed3776b9fc04fd3efd505ae9e25f8178c7111bfce36a45f2e5e77258f41839cf0c076887d736c041b5e0522535775c8bcb7832a3
7
- data.tar.gz: 6dbd7e130723fdcd2b764612e65da385bcdc9b023417afa3589d5e7b65b4629f4e5dcef026643cfe8d0a0b5c366dec8a6dc3a4ac241417750ab3fee49d3cca7f
6
+ metadata.gz: 59bdce85d4720ad18bdaec24abef16efbb40674316a30474d878cfd0fd1b6d13d0180ebcec98592b6cd0f95c8e59477655aeaa0cff595010482d064f9b91e693
7
+ data.tar.gz: c559ab7741fe815b518daffb75a21b24cc86514535e8736c1cb10456ecb0b652904ce1fa7c92dcd215071f88dba62c5dad1165b22435adb0218714d2040454c8
data/bin/iload CHANGED
@@ -151,8 +151,8 @@ if $options[:client] and ($options[:host] or $options[:database] or $options[:us
151
151
  end
152
152
 
153
153
  if $options[:client]
154
- if ENV['MAINDB'].blank?
155
- error "The environment variable MAINDB (used by -c/--client) is not present"
154
+ if ENV['MAINDBNAME'].blank?
155
+ error "The environment variable MAINDBNAME (used by -c/--client) is not present"
156
156
  end
157
157
 
158
158
  if ENV['MAINDBHOST'].blank?
@@ -162,7 +162,7 @@ if $options[:client]
162
162
  ActiveRecord::Base.establish_connection(
163
163
  'adapter' => 'postgresql',
164
164
  'host' => ENV['MAINDBHOST'],
165
- 'database' => ENV['MAINDB'],
165
+ 'database' => ENV['MAINDBNAME'],
166
166
  'username' => ENV['MAINDBUSER'] || POSTGRESQL_USERNAME,
167
167
  'port' => ENV['MAINDBPORT'] || POSTGRESQL_PORT,
168
168
  'timeout' => 15000
data/lib/idata/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Idata
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idata
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nghi Pham