idata 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/iexport +4 -4
- data/lib/idata/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e16b69f104f9c8098ea825a6f577d72fc69da11
|
4
|
+
data.tar.gz: 34f311bac4c9a547c2885199de374330c5e6ac5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b6f9a1013a17610307ca5019811981a83e0c87ba31cc3cf46e371434b244bdd7456f8c3674df11466e5f38a72333cedbe2647136ee06f349e8531c59f90a461
|
7
|
+
data.tar.gz: fc7a3349bc137e8d5d8a60b54fd919a6d7d5bf65bf05ee366095d9cb623e5678c945879c29612901e8f30b54bd3d43c2b2c05f22f3e072c5b0df7b5d8e65c766
|
data/bin/iexport
CHANGED
@@ -64,11 +64,11 @@ parser = OptionParser.new("", 24) do |opts|
|
|
64
64
|
$options[:linebreak] = v
|
65
65
|
end
|
66
66
|
|
67
|
-
opts.on("-t", "--table TABLE", "
|
67
|
+
opts.on("-t", "--table TABLE", "") do |v|
|
68
68
|
$options[:table] = v
|
69
69
|
end
|
70
70
|
|
71
|
-
opts.on("-s", "--select FIELDS", "
|
71
|
+
opts.on("-s", "--select FIELDS", "") do |v|
|
72
72
|
$options[:select] = v
|
73
73
|
end
|
74
74
|
|
@@ -146,8 +146,8 @@ if !SUPPORTED_INPUT_FORMATS.include?($options[:format])
|
|
146
146
|
exit
|
147
147
|
end
|
148
148
|
|
149
|
-
if $options[:table].nil?
|
150
|
-
puts "\nPlease specify SQL table name
|
149
|
+
if $options[:table].nil? && $options[:query].nil?
|
150
|
+
puts "\nPlease specify SQL table name (-t) or a custom query (-q)\n\n"
|
151
151
|
exit
|
152
152
|
end
|
153
153
|
|
data/lib/idata/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: idata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nghi Pham
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|