ruby-mysql 2.11.0 → 3.0.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.
metadata CHANGED
@@ -1,23 +1,23 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-mysql
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tomita Masahiro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-31 00:00:00.000000000 Z
11
+ date: 2022-06-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: This is MySQL connector. pure Ruby version
14
14
  email: tommy@tmtm.org
15
15
  executables: []
16
16
  extensions: []
17
- extra_rdoc_files:
18
- - README.rdoc
17
+ extra_rdoc_files: []
19
18
  files:
20
- - README.rdoc
19
+ - CHANGELOG.md
20
+ - README.md
21
21
  - lib/mysql.rb
22
22
  - lib/mysql/authenticator.rb
23
23
  - lib/mysql/authenticator/caching_sha2_password.rb
@@ -33,7 +33,10 @@ files:
33
33
  homepage: http://github.com/tmtm/ruby-mysql
34
34
  licenses:
35
35
  - Ruby
36
- metadata: {}
36
+ metadata:
37
+ homepage_uri: http://github.com/tmtm/ruby-mysql
38
+ documentation_uri: https://www.rubydoc.info/gems/ruby-mysql
39
+ source_code_uri: http://github.com/tmtm/ruby-mysql
37
40
  post_install_message:
38
41
  rdoc_options: []
39
42
  require_paths:
@@ -49,7 +52,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
49
52
  - !ruby/object:Gem::Version
50
53
  version: '0'
51
54
  requirements: []
52
- rubygems_version: 3.2.22
55
+ rubygems_version: 3.3.7
53
56
  signing_key:
54
57
  specification_version: 4
55
58
  summary: MySQL connector
data/README.rdoc DELETED
@@ -1,69 +0,0 @@
1
- = ruby-mysql
2
-
3
- == Description
4
-
5
- MySQL connector for Ruby.
6
-
7
- == Installation
8
-
9
- ruby setup.rb
10
-
11
- === Gem Installation
12
-
13
- gem install ruby-mysql
14
-
15
- == Features/Problems
16
-
17
- * Ruby だけで書かれているのでコンパイル不要です。
18
-
19
- * Ruby 1.9.x の M17N に対応しています。
20
-
21
- * MySQL/Ruby 2.8.x とほぼ互換があります。
22
-
23
- == Synopsis
24
-
25
- 使用例:
26
-
27
- my = Mysql.connect('hostname', 'username', 'password', 'dbname')
28
- my.query("select col1, col2 from tblname").each do |col1, col2|
29
- p col1, col2
30
- end
31
- stmt = my.prepare('insert into tblname (col1,col2) values (?,?)')
32
- stmt.execute 123, 'abc'
33
-
34
- == Incompatible with MySQL/Ruby 2.8.x
35
-
36
- * いくつかのメソッドがありません: Mysql#debug, Mysql#change_user,
37
- Mysql#create_db, Mysql#drop_db, Mysql#dump_debug_info,
38
- Mysql#ssl_set, Mysql#reconnect
39
-
40
- * Mysql#options でサポートしているオプションは次のものだけです:
41
- Mysql::INIT_COMMAND, Mysql::OPT_CONNECT_TIMEOUT,
42
- Mysql::OPT_GET_SERVER_PUBLIC_KEY,
43
- Mysql::OPT_LOAD_DATA_LOCAL_DIR,
44
- Mysql::OPT_LOCAL_INFILE, Mysql::OPT_READ_TIMEOUT,
45
- Mysql::OPT_SSL_MODE,
46
- Mysql::OPT_WRITE_TIMEOUT, Mysql::SET_CHARSET_NAME.
47
- これら以外を指定すると "option not implementted" という warning が標準エラー出力に出力されます。
48
-
49
- * Mysql#use_result は Mysql#store_result と同じです。つまりサーバーから一気に結果セットを読み込みます。
50
-
51
- == Improvement from MySQL/Ruby 2.8.x
52
-
53
- * Ruby 1.9.x の M17N に対応しています。
54
- mysqld へのクエリ文字列やプリペアドステートメントで与える値は mysqld との接続の文字コードに自動的に変換されます。
55
- mysqld からの結果文字列は接続文字コードとして取り出されます。
56
-
57
- * Mysql::Result, Mysql::Stmt が Enumerable を include しています。
58
-
59
- * ブロックなしの Mysql::Result#each, each_hash Mysql::Stmt#each, each_hash が Enumerator を返します。
60
-
61
- * Mysql#charset= で接続 charset を指定できます。
62
-
63
- * Mysql::Error だけでなく、エラー種別ごとにエラークラスが用意されてます。たとえば、構文エラーの場合は Mysql::ServerError::ParseError など。これらのエラーは Mysql::Error の継承クラスです。
64
-
65
- == Copyright
66
-
67
- Author :: TOMITA Masahiro <tommy@tmtm.org>
68
- Copyright :: Copyright (c) 2008 TOMITA Masahiro
69
- License :: Ruby's