./databases/ruby-mysql, Ruby extension for MySQL

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.1, Package name: ruby31-mysql-3.0.1, Maintainer: neumann

This is the extension library to access a MySQL database from Ruby,
which provides the same function as C API.


Required to run:
[databases/mariadb106-client] [lang/ruby31-base]

Master sites:

Filesize: 46.5 KB

Version history: (Expand)


CVS history: (Expand)


   2022-09-01 17:29:29 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
databases/ruby-mysql: update to 3.0.1

pkgsrc change:
* Switch to use gem, 3.0 release.
* Change HOMEPAGE to github page.

[3.0.1] - 2022-06-18

* LICENSE: correct author
* FIX: correct LOAD DATA LOCAL INFILE result information.
* FIX: reset SERVER_MORE_RESULTS_EXISTS when error packet is received.
* FIX: close the socket when the connection is disconnected.
* FIX: allow multiple results by default.

[3.0.0] - 2021-11-16

* Mysql.new no longer connect. use Mysql.connect or Mysql#connect.
* Mysql.init is removed. use Mysql.new instead.

* Mysql.new, Mysql.conncet and Mysql#connect takes URI object or URI string
  or Hash object.

  example:
  Mysql.connect('mysql://user:password@hostname:port/dbname?charset=ascii')
  \ 
Mysql.connect('mysql://user:password@%2Ftmp%2Fmysql.sock/dbname?charset=ascii') \ 
# for UNIX socket
  Mysql.connect('hostname', 'user', 'password', 'dbname')
  Mysql.connect(host: 'hostname', username: 'user', password: 'password', \ 
database: 'dbname')

* Mysql.options is removed. use Mysql#param = value instead. For example:

	m = Mysql.init m.options(Mysql::OPT_LOCAL_INFILE, true)
	m.connect(host, user, passwd)

  change to

	m = Mysql.new m.local_infile = true
	m.connect(host, user, passwd)

  or

	m = Mysql.connect(host, user, passwd, local_infile: true)

* Mysql::Time is removed. Instead, Time object is returned for the DATE,
  DATETIME, TIMESTAMP data, and Integer object is returned for the TIME
  data.  If DATE, DATETIME, TIMESTAMP are invalid values for Time, nil is
  returned.

* meaningless methods are removed:

     bind_result
     client_info
     client_version
     get_proto_info
     get_server_info
     get_server_version
     proto_info
     query_with_result

* alias method are removed:

     get_host_info: use host_info
     real_connect: use connect
     real_query: use query

* methods corresponding to deprecated APIs in MySQL are removed:

     list_dbs: use SHOW DATABASES
     list_fields: use SHOW COLUMNS
     list_processes: use SHOW PROCESSLIST
     list_tables: use SHOW TABLES
   2021-10-26 12:10:08 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (some may be only fetched
conditionally):

./databases/cstore/distinfo D6.data.ros.gz
./databases/cstore/distinfo cstore0.2.tar.gz
./databases/cstore/distinfo data4.tar.gz
   2021-10-07 15:35:53 by Nia Alarie | Files touched by this commit (417)
Log message:
databases: Remove SHA1 distfile hashes
   2021-06-23 22:33:18 by Nia Alarie | Files touched by this commit (103)
Log message:
Revbump for MySQL default change
   2017-09-18 04:48:09 by Takahiro Kambe | Files touched by this commit (2)
Log message:
databases/ruby-mysql: udpate to 2.9.14

Better support for MySQL 5.7.

* avoid warning
* add collations and constants from MySQL 5.7.10
* support JSON type on MySQL 5.7
   2015-11-03 02:56:36 by Alistair G. Crooks | Files touched by this commit (368)
Log message:
Add SHA512 digests for distfiles for databases category

Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-19 15:32:38 by Ryo ONODERA | Files touched by this commit (4)
Log message:
Update to 2.9.13

* Fix build with Ruby 2.2.
* Use setup.rb instead of extconf.rb.
* Use GITHUB framework.

Changelog:
Not available.
   2013-03-02 21:33:35 by Thomas Klausner | Files touched by this commit (83)
Log message:
Bump PKGREVISION for mysql default change to 55.