mysql 2.7 → 2.8.1

Sign up to get free protection for your applications and to get access to all the features.
metadata CHANGED
@@ -1,47 +1,98 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
3
- specification_version: 1
4
2
  name: mysql
5
3
  version: !ruby/object:Gem::Version
6
- version: "2.7"
7
- date: 2005-10-10 00:00:00 +02:00
8
- summary: MySQL/Ruby provides the same functions for Ruby programs that the MySQL C API provides for C programs.
9
- require_paths:
10
- - lib
11
- email: tommy@tmtm.org
12
- homepage: http://www.tmtm.org/en/mysql/ruby/
13
- rubyforge_project:
14
- description:
15
- autorequire: mysql
4
+ version: 2.8.1
5
+ platform: ruby
6
+ authors:
7
+ - TOMITA Masahiro
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-08-21 00:00:00 -03:00
16
13
  default_executable:
17
- bindir:
18
- has_rdoc: false
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- -
22
- - ">"
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: rake-compiler
17
+ type: :development
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ~>
22
+ - !ruby/object:Gem::Version
23
+ version: "0.5"
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
23
32
  - !ruby/object:Gem::Version
24
- version: 0.0.0
33
+ version: 2.3.3
34
+ version:
35
+ description: |-
36
+ This is the MySQL API module for Ruby. It provides the same functions for Ruby
37
+ programs that the MySQL C API provides for C programs.
38
+
39
+ This is a conversion of tmtm's original extension into a proper RubyGems.
40
+ email:
41
+ - tommy@tmtm.org
42
+ executables: []
43
+
44
+ extensions:
45
+ - ext/mysql_api/extconf.rb
46
+ extra_rdoc_files:
47
+ - History.txt
48
+ - Manifest.txt
49
+ - README.txt
50
+ files:
51
+ - COPYING
52
+ - COPYING.ja
53
+ - History.txt
54
+ - Manifest.txt
55
+ - README.txt
56
+ - Rakefile
57
+ - ext/mysql_api/extconf.rb
58
+ - ext/mysql_api/mysql.c
59
+ - extra/README.html
60
+ - extra/README_ja.html
61
+ - extra/tommy.css
62
+ - lib/mysql.rb
63
+ - tasks/gem.rake
64
+ - tasks/native.rake
65
+ - tasks/vendor_mysql.rake
66
+ - test/test_mysql.rb
67
+ has_rdoc: true
68
+ homepage: http://mysql-win.rubyforge.org
69
+ licenses: []
70
+
71
+ post_install_message:
72
+ rdoc_options:
73
+ - --main
74
+ - README.txt
75
+ require_paths:
76
+ - lib
77
+ - ext
78
+ required_ruby_version: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 1.8.6
25
83
  version:
26
- platform: ruby
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
86
+ - - ">="
87
+ - !ruby/object:Gem::Version
88
+ version: "0"
89
+ version:
90
+ requirements: []
91
+
92
+ rubyforge_project: mysql-win
93
+ rubygems_version: 1.3.4
27
94
  signing_key:
28
- cert_chain:
29
- authors:
30
- files:
31
- - COPYING
32
- - COPYING.ja
33
- - README.html
34
- - README_ja.html
35
- - extconf.rb
36
- - mysql.c.in
37
- - test.rb
38
- - tommy.css
39
- - mysql.gemspec
95
+ specification_version: 3
96
+ summary: This is the MySQL API module for Ruby
40
97
  test_files:
41
- rdoc_options:
42
- extra_rdoc_files:
43
- executables:
44
- extensions:
45
- - extconf.rb
46
- requirements:
47
- dependencies:
98
+ - test/test_mysql.rb
data/extconf.rb DELETED
@@ -1,67 +0,0 @@
1
- require 'mkmf'
2
-
3
- if mc = with_config('mysql-config') then
4
- mc = 'mysql_config' if mc == true
5
- cflags = `#{mc} --cflags`.chomp
6
- exit 1 if $? != 0
7
- libs = `#{mc} --libs`.chomp
8
- exit 1 if $? != 0
9
- $CPPFLAGS += ' ' + cflags
10
- $libs = libs + " " + $libs
11
- else
12
- inc, lib = dir_config('mysql', '/usr/local')
13
- libs = ['m', 'z', 'socket', 'nsl']
14
- while not find_library('mysqlclient', 'mysql_query', lib, "#{lib}/mysql") do
15
- exit 1 if libs.empty?
16
- have_library(libs.shift)
17
- end
18
- end
19
-
20
- have_func('mysql_ssl_set')
21
-
22
- if have_header('mysql.h') then
23
- src = "#include <errmsg.h>\n#include <mysqld_error.h>\n"
24
- elsif have_header('mysql/mysql.h') then
25
- src = "#include <mysql/errmsg.h>\n#include <mysql/mysqld_error.h>\n"
26
- else
27
- exit 1
28
- end
29
-
30
- # make mysql constant
31
- File::open("conftest.c", "w") do |f|
32
- f.puts src
33
- end
34
- if defined? cpp_command then
35
- cpp = Config::expand(cpp_command(''))
36
- else
37
- cpp = Config::expand sprintf(CPP, $CPPFLAGS, $CFLAGS, '')
38
- end
39
- unless system "#{cpp} > confout" then
40
- exit 1
41
- end
42
- File::unlink "conftest.c"
43
-
44
- error_syms = []
45
- IO::foreach('confout') do |l|
46
- next unless l =~ /errmsg\.h|mysqld_error\.h/
47
- fn = l.split(/\"/)[1]
48
- IO::foreach(fn) do |m|
49
- if m =~ /^#define\s+([CE]R_[0-9A-Z_]+)/ then
50
- error_syms << $1
51
- end
52
- end
53
- end
54
- File::unlink 'confout'
55
- error_syms.uniq!
56
-
57
- newf = File::open('mysql.c', 'w')
58
- IO::foreach('mysql.c.in') do |l|
59
- newf.puts l
60
- if l =~ /\/\* Mysql::Error constant \*\// then
61
- error_syms.each do |s|
62
- newf.puts " rb_define_const(eMysql, \"#{s}\", INT2NUM(#{s}));"
63
- end
64
- end
65
- end
66
-
67
- create_makefile("mysql")
@@ -1,34 +0,0 @@
1
- --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.8.11
3
- specification_version: 1
4
- name: mysql
5
- version: !ruby/object:Gem::Version
6
- version: "2.7"
7
- date: 2005-10-10 00:00:00 +02:00
8
- summary: MySQL/Ruby provides the same functions for Ruby programs that the MySQL C API provides for C programs.
9
- require_paths:
10
- - lib
11
- email: tommy@tmtm.org
12
- homepage: http://www.tmtm.org/en/mysql/ruby/
13
- autorequire: mysql
14
- has_rdoc: false
15
- required_ruby_version: !ruby/object:Gem::Version::Requirement
16
- requirements:
17
- -
18
- - ">"
19
- - !ruby/object:Gem::Version
20
- version: 0.0.0
21
- version:
22
- platform: ruby
23
- files:
24
- - COPYING
25
- - COPYING.ja
26
- - README.html
27
- - README_ja.html
28
- - extconf.rb
29
- - mysql.c.in
30
- - test.rb
31
- - tommy.css
32
- - mysql.gemspec
33
- extensions:
34
- - extconf.rb