Skip to content

Update clipboard requirement from ~> 1.1, >= 1.1.0 to >= 1.1, < 3.0#42

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/clipboard-2.0.0
Open

Update clipboard requirement from ~> 1.1, >= 1.1.0 to >= 1.1, < 3.0#42
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/bundler/clipboard-2.0.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 12, 2026

Updates the requirements on clipboard to permit the latest version.

Changelog

Sourced from clipboard's changelog.

2.0.0

Major Changes

  • Requires Ruby 3.0
  • Clipboard.copy and .clear now always return true instead of the pasted string

New Features

  • Add experimental OSC52 implementation (only Clipboard.copy)
  • Linux-based Clipboard.copy methods now take a clipboard argument clipboard: to choose which clipboard to copy to (default is "all"). For example: Clipboard.copy("data", clipboard: "primary") copies only to primary clipboard
  • Linux-based Clipboard.paste methods use either the clipboard: keyword argument or the single positional argument for choosing the clipboard to paste from
  • Allow setting the clipboard implementation with snake-cased symbol/string: Clipboard.implementation = :linux_wayland

Refactorings / Minor API Changes

  • Change copy, paste, and clear to always accept keyword arguments
  • All implementations are now based on Clipboard::Implementation
  • Move implementation detection to utils.rb
  • Be sure to pass a valid lowercase clipboard selection name (or "all") when choosing clipboards, it will now raise an ArgumentError if the clipboard name is not supported by the implementation

Other

  • Add more specs and run them on GitHub Actions CI
Commits
  • 6717715 Release v2.0.0
  • ffe590f Improve specs
  • 7bb398f Improve CHANGELOG and README and some other details
  • 35464e4 Allow clipboard: keyword argument for paste + validate selection name
  • 276f41a Update LinuxWayland to latest conventions
  • 2734b5c RuboCop
  • e564a98 Streamline clipboard selection code + allow copying to specific clipboard
  • ded4035 Working on OSC52
  • 6757d6c Gemspec updates
  • 9ba81b6 Change camel case test so that it runs on non-wayland
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [clipboard](https://github.com/janlelis/clipboard) to permit the latest version.
- [Changelog](https://github.com/janlelis/clipboard/blob/main/CHANGELOG.md)
- [Commits](janlelis/clipboard@v1.4.1...v2.0.0)

---
updated-dependencies:
- dependency-name: clipboard
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Feb 12, 2026
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 ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants