Skip to content

Commit

Permalink
test: Fixes rspec-rails issues on rails edge
Browse files Browse the repository at this point in the history
itsmechlark committed Sep 8, 2023
1 parent b82655d commit ea4a050
Showing 8 changed files with 48 additions and 31 deletions.
3 changes: 3 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -18,6 +18,7 @@ end

appraise "rails-6.1-stable" do
gem "rails", github: "rails/rails", branch: "6-1-stable"
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"
@@ -27,6 +28,7 @@ end
appraise "rails-7.0-stable" do
gem "rails", github: "rails/rails", branch: "7-0-stable"
gem "responders", "~> 3.0"
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"
@@ -36,6 +38,7 @@ end
appraise "rails-edge" do
gem "rails", github: "rails/rails", branch: :main
gem "responders", "~> 3.0"
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"
66 changes: 36 additions & 30 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -141,7 +141,7 @@ GEM
dry-core (~> 0.6)
dry-core (0.7.1)
concurrent-ruby (~> 1.0)
erubi (1.10.0)
erubi (1.12.0)
faker (2.21.0)
i18n (>= 1.8.11, < 2)
faraday (1.10.0)
@@ -181,9 +181,9 @@ GEM
json (2.6.3)
jwt (2.3.0)
language_server-protocol (3.17.0.3)
loofah (2.18.0)
loofah (2.21.3)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
nokogiri (>= 1.12.0)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.2)
@@ -192,7 +192,6 @@ GEM
mime-types-data (~> 3.2015)
mime-types-data (3.2022.0105)
mini_mime (1.1.2)
mini_portile2 (2.8.4)
minitest (5.20.0)
multi_json (1.15.0)
multi_xml (0.6.0)
@@ -206,8 +205,13 @@ GEM
timeout
netrc (0.11.0)
nio4r (2.5.8)
nokogiri (1.13.6)
mini_portile2 (~> 2.8.0)
nokogiri (1.15.4-aarch64-linux)
racc (~> 1.4)
nokogiri (1.15.4-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
racc (~> 1.4)
oauth2 (1.4.9)
faraday (>= 0.17.3, < 3.0)
@@ -241,20 +245,22 @@ GEM
byebug (~> 11.0)
pry (~> 0.13.0)
public_suffix (4.0.7)
racc (1.6.0)
racc (1.7.1)
rack (2.2.8)
rack-protection (2.2.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-test (2.1.0)
rack (>= 1.3)
rack_session_access (0.2.0)
builder (>= 2.0.0)
rack (>= 1.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.1)
@@ -268,23 +274,23 @@ GEM
netrc (~> 0.8)
retryable (3.0.5)
rexml (3.2.6)
rspec-core (3.11.0)
rspec-support (~> 3.11.0)
rspec-expectations (3.11.0)
rspec-core (3.12.2)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.3)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-mocks (3.11.1)
rspec-support (~> 3.12.0)
rspec-mocks (3.12.6)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-rails (4.1.2)
actionpack (>= 4.2)
activesupport (>= 4.2)
railties (>= 4.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.11.0)
rspec-support (~> 3.12.0)
rspec-rails (6.0.3)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.12)
rspec-expectations (~> 3.12)
rspec-mocks (~> 3.12)
rspec-support (~> 3.12)
rspec-support (3.12.1)
rubocop (1.56.2)
base64 (~> 0.1.1)
json (~> 2.3)
@@ -342,7 +348,7 @@ GEM
sqlite3 (1.4.2)
syntax_tree (6.1.1)
prettier_print (>= 1.2.0)
thor (1.2.1)
thor (1.2.2)
timecop (0.9.5)
timeout (0.3.0)
tzinfo (2.0.6)
@@ -384,7 +390,7 @@ DEPENDENCIES
rack_session_access
rails!
rake (~> 13.0)
rspec-rails (~> 4.0)
rspec-rails
rubocop-performance
rubocop-rails
rubocop-rake
2 changes: 1 addition & 1 deletion devise-auth0.gemspec
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ Gem::Specification.new do |s|
s.add_development_dependency("pry-byebug", "~> 3.7")
s.add_development_dependency("rack_session_access")
s.add_development_dependency("rake", "~> 13.0")
s.add_development_dependency("rspec-rails", "~> 4.0")
s.add_development_dependency("rspec-rails")
s.add_development_dependency("rubocop-performance")
s.add_development_dependency("rubocop-rails")
s.add_development_dependency("rubocop-rake")
1 change: 1 addition & 0 deletions gemfiles/rails_5.2_stable.gemfile
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: "5-2-stable"
gem "ruby-lsp", require: false

platforms :ruby do
gem "sqlite3", "~> 1.3.6"
1 change: 1 addition & 0 deletions gemfiles/rails_6.0_stable.gemfile
Original file line number Diff line number Diff line change
@@ -3,6 +3,7 @@
source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: "6-0-stable"
gem "ruby-lsp", require: false

platforms :ruby do
gem "sqlite3", "~> 1.4"
2 changes: 2 additions & 0 deletions gemfiles/rails_6.1_stable.gemfile
Original file line number Diff line number Diff line change
@@ -3,6 +3,8 @@
source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: "6-1-stable"
gem "ruby-lsp", require: false
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"
2 changes: 2 additions & 0 deletions gemfiles/rails_7.0_stable.gemfile
Original file line number Diff line number Diff line change
@@ -3,7 +3,9 @@
source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: "7-0-stable"
gem "ruby-lsp", require: false
gem "responders", "~> 3.0"
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"
2 changes: 2 additions & 0 deletions gemfiles/rails_edge.gemfile
Original file line number Diff line number Diff line change
@@ -3,7 +3,9 @@
source "https://rubygems.org"

gem "rails", github: "rails/rails", branch: :main
gem "ruby-lsp", require: false
gem "responders", "~> 3.0"
gem "rspec-rails", "~> 6.0"

platforms :ruby do
gem "sqlite3", "~> 1.4"

0 comments on commit ea4a050

Please sign in to comment.