From e18aaa2a4cbf659733d6d927f1886400074be284 Mon Sep 17 00:00:00 2001 From: 00cyre Date: Sat, 2 May 2026 22:35:15 +0100 Subject: [PATCH 1/2] Release 0.2.7: bump rake constraint to allow rake 13.x Widens the rake runtime dependency from `< 13.1.0` to `< 14` so that downstream consumers (e.g. soundcloud/sonar#2077) can update rake to `~> 13.0` without dropping cando. - VERSION: 0.2.6 -> 0.2.7 - Gemfile: rake `~> 12.3.3` -> `>= 12.3.3, < 14` - cando.gemspec: rake `>= 10.3.2, < 13.1.0` -> `>= 10.3.2, < 14` Co-Authored-By: Claude Opus 4.7 (1M context) --- Gemfile | 2 +- VERSION | 2 +- cando.gemspec | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 42acf7e..6f5a713 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ source "http://rubygems.org" # gem "activesupport", ">= 2.3.5" gem "sequel", "~> 4.10.0" -gem "rake", "~> 12.3.3" +gem "rake", ">= 12.3.3", "< 14" # Add dependencies to develop your gem here. # Include everything needed to run rake, tests, features, etc. diff --git a/VERSION b/VERSION index a53741c..967b33f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.6 \ No newline at end of file +0.2.7 \ No newline at end of file diff --git a/cando.gemspec b/cando.gemspec index f34e34a..6e4fe99 100644 --- a/cando.gemspec +++ b/cando.gemspec @@ -5,11 +5,11 @@ Gem::Specification.new do |s| s.name = "cando" - s.version = "0.2.6" + s.version = "0.2.7" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= s.authors = ["Daniel Bornkessel"] - s.date = "2014-06-02" + s.date = "2026-05-02" s.description = "CanDo is a small gem to implement a simple user access system based on users, roles & capabilites, where:\n\n each user can have 0, 1 or many roles\n each role can have 0, 1 or many capabilites\n\nUsers have capabilities by getting roles assigned (role == collection of capabilities). Within the code, the can helper method can be used to test whether a user has a certain capability or not (see below for a working code example)." s.email = "daniel@soundcloud.com" s.extra_rdoc_files = [ @@ -47,7 +47,7 @@ Gem::Specification.new do |s| if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then s.add_runtime_dependency(%q, ["~> 4.10.0"]) - s.add_runtime_dependency(%q, ">= 10.3.2", "< 13.1.0") + s.add_runtime_dependency(%q, ">= 10.3.2", "< 14") s.add_development_dependency(%q, ["~> 2.14.1"]) s.add_development_dependency(%q, ["~> 4.1.1"]) s.add_development_dependency(%q, ["~> 1.0"]) @@ -55,7 +55,7 @@ Gem::Specification.new do |s| s.add_development_dependency(%q, ["~> 0.8.1"]) else s.add_dependency(%q, ["~> 4.10.0"]) - s.add_dependency(%q, ">= 10.3.2", "< 13.1.0") + s.add_dependency(%q, ">= 10.3.2", "< 14") s.add_dependency(%q, ["~> 2.14.1"]) s.add_dependency(%q, ["~> 4.1.1"]) s.add_dependency(%q, ["~> 1.0"]) @@ -64,7 +64,7 @@ Gem::Specification.new do |s| end else s.add_dependency(%q, ["~> 4.10.0"]) - s.add_dependency(%q, ">= 10.3.2", "< 13.1.0") + s.add_dependency(%q, ">= 10.3.2", "< 14") s.add_dependency(%q, ["~> 2.14.1"]) s.add_dependency(%q, ["~> 4.1.1"]) s.add_dependency(%q, ["~> 1.0"]) From 228c2e1590fb9fe7354b4de7d4c3c892ed09e0e2 Mon Sep 17 00:00:00 2001 From: 00cyre Date: Mon, 4 May 2026 17:50:41 +0100 Subject: [PATCH 2/2] Update gem author to Pedro Henrique Replaces the original (no-longer-active) author/email with the current maintainer for the 0.2.7 release. Co-Authored-By: Claude Opus 4.7 (1M context) --- Rakefile | 4 ++-- cando.gemspec | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Rakefile b/Rakefile index 9dc4dac..9224882 100644 --- a/Rakefile +++ b/Rakefile @@ -25,8 +25,8 @@ Jeweler::Tasks.new do |gem| each role can have 0, 1 or many capabilites Users have capabilities by getting roles assigned (role == collection of capabilities). Within the code, the can helper method can be used to test whether a user has a certain capability or not (see below for a working code example).} - gem.email = "daniel@soundcloud.com" - gem.authors = ["Daniel Bornkessel"] + gem.email = "pedro.henrique@soundcloud.com" + gem.authors = ["Pedro Henrique"] # dependencies defined in Gemfile end Jeweler::RubygemsDotOrgTasks.new diff --git a/cando.gemspec b/cando.gemspec index 6e4fe99..8d6c34e 100644 --- a/cando.gemspec +++ b/cando.gemspec @@ -8,10 +8,10 @@ Gem::Specification.new do |s| s.version = "0.2.7" s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Daniel Bornkessel"] + s.authors = ["Pedro Henrique"] s.date = "2026-05-02" s.description = "CanDo is a small gem to implement a simple user access system based on users, roles & capabilites, where:\n\n each user can have 0, 1 or many roles\n each role can have 0, 1 or many capabilites\n\nUsers have capabilities by getting roles assigned (role == collection of capabilities). Within the code, the can helper method can be used to test whether a user has a certain capability or not (see below for a working code example)." - s.email = "daniel@soundcloud.com" + s.email = "pedro.henrique@soundcloud.com" s.extra_rdoc_files = [ "LICENSE.txt", "README.md"