Bump cancancan from 2.3.0 to 3.3.0

Bumps [cancancan](https://github.com/CanCanCommunity/cancancan) from 2.3.0 to 3.3.0.
- [Release notes](https://github.com/CanCanCommunity/cancancan/releases)
- [Changelog](https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/CanCanCommunity/cancancan/compare/2.3.0...3.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot]
2021-08-11 01:12:37 +00:00
committed by Javi Martín
parent e9ffb712cc
commit 0929eab188
6 changed files with 11 additions and 11 deletions

View File

@@ -9,7 +9,7 @@ gem "airbrake", "~> 7.4.0"
gem "ancestry", "~> 3.2.1" gem "ancestry", "~> 3.2.1"
gem "audited", "~> 5.0.1" gem "audited", "~> 5.0.1"
gem "autoprefixer-rails", "~> 8.2.0" gem "autoprefixer-rails", "~> 8.2.0"
gem "cancancan", "~> 2.3.0" gem "cancancan", "~> 3.3.0"
gem "caxlsx", "~> 3.0.2" gem "caxlsx", "~> 3.0.2"
gem "caxlsx_rails", "~> 0.6.2" gem "caxlsx_rails", "~> 0.6.2"
gem "ckeditor", "~> 4.3.0" gem "ckeditor", "~> 4.3.0"

View File

@@ -95,7 +95,7 @@ GEM
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
uniform_notifier (~> 1.11) uniform_notifier (~> 1.11)
byebug (11.1.3) byebug (11.1.3)
cancancan (2.3.0) cancancan (3.3.0)
capistrano (3.16.0) capistrano (3.16.0)
airbrussh (>= 1.0.0) airbrussh (>= 1.0.0)
i18n i18n
@@ -711,7 +711,7 @@ DEPENDENCIES
autoprefixer-rails (~> 8.2.0) autoprefixer-rails (~> 8.2.0)
bullet (~> 6.1.4) bullet (~> 6.1.4)
byebug (~> 11.1.3) byebug (~> 11.1.3)
cancancan (~> 2.3.0) cancancan (~> 3.3.0)
capistrano (~> 3.16.0) capistrano (~> 3.16.0)
capistrano-bundler (~> 2.0) capistrano-bundler (~> 2.0)
capistrano-rails (~> 1.6.1) capistrano-rails (~> 1.6.1)

View File

@@ -657,7 +657,7 @@ describe "Budget Investments" do
end end
scenario "Another User can't edit budget investment", :admin do scenario "Another User can't edit budget investment", :admin do
message_error = "You do not have permission to carry out the action 'edit' on budget/investment" message_error = "You do not have permission to carry out the action 'edit' on Investment"
daniel = create(:user, :level_two) daniel = create(:user, :level_two)
investment = create(:budget_investment, heading: heading, author: daniel) investment = create(:budget_investment, heading: heading, author: daniel)

View File

@@ -321,7 +321,7 @@ describe "Debates" do
visit edit_debate_path(debate) visit edit_debate_path(debate)
expect(page).not_to have_current_path(edit_debate_path(debate)) expect(page).not_to have_current_path(edit_debate_path(debate))
expect(page).to have_current_path(root_path) expect(page).to have_current_path(root_path)
expect(page).to have_content "You do not have permission to carry out the action 'edit' on debate." expect(page).to have_content "You do not have permission to carry out the action 'edit' on Debate."
end end
scenario "Update should not be posible if debate is not editable" do scenario "Update should not be posible if debate is not editable" do

View File

@@ -499,10 +499,10 @@ describe "Polls" do
expect(page).not_to have_content("Participation statistics") expect(page).not_to have_content("Participation statistics")
visit results_poll_path(poll) visit results_poll_path(poll)
expect(page).to have_content("You do not have permission to carry out the action 'results' on poll.") expect(page).to have_content("You do not have permission to carry out the action 'results' on Poll.")
visit stats_poll_path(poll) visit stats_poll_path(poll)
expect(page).to have_content("You do not have permission to carry out the action 'stats' on poll.") expect(page).to have_content("You do not have permission to carry out the action 'stats' on Poll.")
end end
scenario "Do not show poll results or stats to admins if disabled", :admin do scenario "Do not show poll results or stats to admins if disabled", :admin do
@@ -525,10 +525,10 @@ describe "Polls" do
expect(page).not_to have_content("Participation statistics") expect(page).not_to have_content("Participation statistics")
visit results_poll_path(poll) visit results_poll_path(poll)
expect(page).to have_content("You do not have permission to carry out the action 'results' on poll.") expect(page).to have_content("You do not have permission to carry out the action 'results' on Poll.")
visit stats_poll_path(poll) visit stats_poll_path(poll)
expect(page).to have_content("You do not have permission to carry out the action 'stats' on poll.") expect(page).to have_content("You do not have permission to carry out the action 'stats' on Poll.")
end end
scenario "Generates navigation links for polls without a slug" do scenario "Generates navigation links for polls without a slug" do

View File

@@ -71,7 +71,7 @@ describe "Topics" do
visit new_community_topic_path(community) visit new_community_topic_path(community)
expect(page).to have_content "You do not have permission to carry out the action 'new' on topic." expect(page).to have_content "You do not have permission to carry out the action 'new' on Topic."
end end
end end
@@ -101,7 +101,7 @@ describe "Topics" do
visit edit_community_topic_path(community, topic) visit edit_community_topic_path(community, topic)
expect(page).to have_content "You do not have permission to carry out the action 'edit' on topic." expect(page).to have_content "You do not have permission to carry out the action 'edit' on Topic."
end end
end end