teradata-cli 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,4 @@
1
+ *.log
1
2
  *.gem
2
3
  *.rbc
3
4
  .bundle
@@ -1,5 +1,7 @@
1
1
  require 'mkmf'
2
2
 
3
+ have_header('ruby.h') or raise 'could not find ruby.h'
4
+
3
5
  def extconf_main
4
6
  $objs = %w(cli.o)
5
7
  dir_config 'cli'
@@ -1,3 +1,3 @@
1
1
  module TeradataCli
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: teradata-cli
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Giuseppe Privitera
@@ -80,7 +80,6 @@ files:
80
80
  - examples/update.rb
81
81
  - ext/teradata-cli/cli/cli.c
82
82
  - ext/teradata-cli/cli/extconf.rb
83
- - ext/teradata-cli/cli/mkmf.log
84
83
  - lib/teradata-cli.rb
85
84
  - lib/teradata-cli/cli.rb
86
85
  - lib/teradata-cli/connection.rb
@@ -1,57 +0,0 @@
1
- have_library: checking for main() in -lcliv2... -------------------- yes
2
-
3
- "gcc -o conftest -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/i686-linux -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -Wl,-R/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic '-Wl,-rpath,/../lib' -Wl,-R -Wl,/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc"
4
- checked program was:
5
- /* begin */
6
- 1: #include "ruby.h"
7
- 2:
8
- 3: int main(int argc, char **argv)
9
- 4: {
10
- 5: return 0;
11
- 6: }
12
- /* end */
13
-
14
- "gcc -o conftest -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/i686-linux -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -Wl,-R/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic '-Wl,-rpath,/../lib' -Wl,-R -Wl,/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -lruby -lcliv2 -lpthread -lrt -ldl -lcrypt -lm -lc"
15
- conftest.c: In function ‘t’:
16
- conftest.c:5:57: error: ‘main’ undeclared (first use in this function)
17
- conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in
18
- conftest.c:5:32: warning: variable ‘p’ set but not used [-Wunused-but-set-variable]
19
- checked program was:
20
- /* begin */
21
- 1: #include "ruby.h"
22
- 2:
23
- 3: /*top*/
24
- 4: extern int t(void);
25
- 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
26
- 6: int main(int argc, char **argv)
27
- 7: {
28
- 8: if (argc > 1000000) {
29
- 9: printf("%p", &t);
30
- 10: }
31
- 11:
32
- 12: return 0;
33
- 13: }
34
- /* end */
35
-
36
- "gcc -o conftest -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/i686-linux -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/home/jc34/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -fPIC conftest.c -L. -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -Wl,-R/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic '-Wl,-rpath,/../lib' -Wl,-R -Wl,/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -L/home/jc34/.rvm/rubies/ruby-2.0.0-p247/lib -lruby -lcliv2 -lpthread -lrt -ldl -lcrypt -lm -lc"
37
- conftest.c: In function ‘t’:
38
- conftest.c:5:1: warning: implicit declaration of function ‘main’ [-Wimplicit-function-declaration]
39
- checked program was:
40
- /* begin */
41
- 1: #include "ruby.h"
42
- 2:
43
- 3: /*top*/
44
- 4: extern int t(void);
45
- 5: int t(void) { main(); return 0; }
46
- 6: int main(int argc, char **argv)
47
- 7: {
48
- 8: if (argc > 1000000) {
49
- 9: printf("%p", &t);
50
- 10: }
51
- 11:
52
- 12: return 0;
53
- 13: }
54
- /* end */
55
-
56
- --------------------
57
-