From 6717715b50df050e6855b43a1003c29a6eda16da Mon Sep 17 00:00:00 2001 From: Jan Lelis Date: Mon, 8 Apr 2024 21:39:13 +0200 Subject: [PATCH] Release v2.0.0 --- CHANGELOG.md | 2 +- clipboard.gemspec | 5 ++--- lib/clipboard/version.rb | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc0629c..0df3c43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # CHANGELOG -## 2.0.0 (unreleased) +## 2.0.0 ### Major Changes * Requires Ruby 3.0 diff --git a/clipboard.gemspec b/clipboard.gemspec index de9999a..c9eb16c 100644 --- a/clipboard.gemspec +++ b/clipboard.gemspec @@ -1,7 +1,6 @@ # frozen_string_literal: true -$:.unshift File.expand_path("../lib", __FILE__) -require 'clipboard/version' +require_relative 'lib/clipboard/version' Gem::Specification.new do |s| s.name = 'clipboard' @@ -18,7 +17,7 @@ Gem::Specification.new do |s| "Linux-Wayland: wl-clipboard", "Windows: ffi gem", ] - s.files = Dir.glob(%w[{lib,spec}/**/*.rb [A-Z]*.txt [A-Z]*.md]) + %w{clipboard.gemspec} + s.files = Dir.glob(%w[{lib,spec}/**/*.rb [A-Z]*.txt [A-Z]*.md]) + %w[clipboard.gemspec Gemfile Rakefile] s.required_ruby_version = '>= 3.0' s.add_development_dependency 'rake', '~> 13.2' diff --git a/lib/clipboard/version.rb b/lib/clipboard/version.rb index 4fef221..0a45311 100644 --- a/lib/clipboard/version.rb +++ b/lib/clipboard/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Clipboard - VERSION = "1.9.9" + VERSION = "2.0.0" end