Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

The rake constraint in the Gemfile (>= 12.3.3) is more restrictive than the runtime dependency defined in the gemspec (>= 10.3.2). This prevents testing the gem against the full range of supported Rake versions in the development environment. Consider aligning the lower bound with the gemspec to ensure compatibility across all supported versions.

gem "rake", ">= 10.3.2", "< 14"


# Add dependencies to develop your gem here.
# Include everything needed to run rake, tests, features, etc.
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.6
0.2.7
14 changes: 7 additions & 7 deletions cando.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

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.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"
Expand Down Expand Up @@ -47,15 +47,15 @@ Gem::Specification.new do |s|

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_runtime_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_runtime_dependency(%q<rake>, ">= 10.3.2", "< 14")
s.add_development_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_development_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_development_dependency(%q<bundler>, ["~> 1.0"])
s.add_development_dependency(%q<jeweler>, ["~> 2.0.1"])
s.add_development_dependency(%q<simplecov>, ["~> 0.8.1"])
else
s.add_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_dependency(%q<rake>, ">= 10.3.2", "< 14")
s.add_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_dependency(%q<bundler>, ["~> 1.0"])
Expand All @@ -64,7 +64,7 @@ Gem::Specification.new do |s|
end
else
s.add_dependency(%q<sequel>, ["~> 4.10.0"])
s.add_dependency(%q<rake>, ">= 10.3.2", "< 13.1.0")
s.add_dependency(%q<rake>, ">= 10.3.2", "< 14")
s.add_dependency(%q<rspec>, ["~> 2.14.1"])
s.add_dependency(%q<rdoc>, ["~> 4.1.1"])
s.add_dependency(%q<bundler>, ["~> 1.0"])
Expand Down