Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ruby-mysql requirement from ~> 2.9 to >= 2.9, < 4.0 #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 5, 2022

Updates the requirements on ruby-mysql to permit the latest version.

Changelog

Sourced from ruby-mysql's changelog.

[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

... (truncated)

Commits
  • d52f7ca 3.0.1
  • accc8e7 bundle update
  • 2ee8979 omit local infile test if local_infile is false.
  • 7cfe372 allow multiple results by default.
  • 68c0710 close the socket when the connection is disconnected.
  • 95160b3 reset SERVER_MORE_RESULTS_EXISTS when error packet is received.
  • 841c2e9 correct LOAD DATA LOCAL INFILE result information.
  • 01f1830 change document uri
  • 612834e correct author
  • 321d253 gemspec 3.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Updates the requirements on [ruby-mysql](https://github.com/tmtm/ruby-mysql) to permit the latest version.
- [Release notes](https://github.com/tmtm/ruby-mysql/releases)
- [Changelog](https://github.com/tmtm/ruby-mysql/blob/master/CHANGELOG.md)
- [Commits](tmtm/ruby-mysql@2.9.14...v3.0.1)

---
updated-dependencies:
- dependency-name: ruby-mysql
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 5, 2022
@codeclimate
Copy link

codeclimate bot commented Jul 5, 2022

Code Climate has analyzed commit 759c145 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 90.5% (0.0% change).

View more on Code Climate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants