Browse Source

Use Rspec from rubygems

pull/184/head
baarkerlounger 3 years ago
parent
commit
e9fb386d68
  1. 10
      Gemfile
  2. 70
      Gemfile.lock

10
Gemfile

@ -53,10 +53,10 @@ end
group :development do group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code. # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem "web-console", ">= 4.1.0" gem "web-console", ">= 4.1.0"
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem "listen", "~> 3.3" gem "listen", "~> 3.3"
gem "overcommit", ">= 0.37.0" gem "overcommit", ">= 0.37.0"
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem "rack-mini-profiler", "~> 2.0" gem "rack-mini-profiler", "~> 2.0"
gem "rubocop-govuk", require: false gem "rubocop-govuk", require: false
gem "rubocop-performance", require: false gem "rubocop-performance", require: false
@ -70,10 +70,8 @@ group :test do
gem "factory_bot_rails" gem "factory_bot_rails"
gem "selenium-webdriver", require: false gem "selenium-webdriver", require: false
gem "simplecov", require: false gem "simplecov", require: false
gem "webmock" gem "webmock", require: false
%w[rspec-core rspec-expectations rspec-mocks rspec-rails rspec-support].each do |lib| gem "rspec-rails", require: false
gem lib, git: "https://github.com/rspec/#{lib}.git", branch: "main", require: false
end
end end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem # Windows does not include zoneinfo files, so bundle the tzinfo-data gem

70
Gemfile.lock

@ -28,53 +28,6 @@ GIT
responders responders
warden (~> 1.2.3) warden (~> 1.2.3)
GIT
remote: https://github.com/rspec/rspec-core.git
revision: e3bda9da1e625a428fd005f0d1a633531f5da749
branch: main
specs:
rspec-core (3.11.0.pre)
rspec-support (= 3.11.0.pre)
GIT
remote: https://github.com/rspec/rspec-expectations.git
revision: d9fd9a5589e3914bcd25d66560eccadd75493727
branch: main
specs:
rspec-expectations (3.11.0.pre)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (= 3.11.0.pre)
GIT
remote: https://github.com/rspec/rspec-mocks.git
revision: 17cf86ab61544b93232c4e9ca9784ab212dccbf6
branch: main
specs:
rspec-mocks (3.11.0.pre)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (= 3.11.0.pre)
GIT
remote: https://github.com/rspec/rspec-rails.git
revision: 84d3ba39770e341f6e19d65f5ecce83a8842bff9
branch: main
specs:
rspec-rails (5.1.0.pre)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (= 3.11.0.pre)
rspec-expectations (= 3.11.0.pre)
rspec-mocks (= 3.11.0.pre)
rspec-support (= 3.11.0.pre)
GIT
remote: https://github.com/rspec/rspec-support.git
revision: 321dc7227df43cd682c293fa31fa427b94b2ea74
branch: main
specs:
rspec-support (3.11.0.pre)
GIT GIT
remote: https://github.com/tagliala/activeadmin.git remote: https://github.com/tagliala/activeadmin.git
revision: 12ef798e1a02084565fa2ea698e26334dbc56e42 revision: 12ef798e1a02084565fa2ea698e26334dbc56e42
@ -334,6 +287,23 @@ GEM
roo (2.8.3) roo (2.8.3)
nokogiri (~> 1) nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0) rubyzip (>= 1.3.0, < 3.0.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-rails (5.0.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
railties (>= 5.2)
rspec-core (~> 3.10)
rspec-expectations (~> 3.10)
rspec-mocks (~> 3.10)
rspec-support (~> 3.10)
rspec-support (3.10.3)
rubocop (1.23.0) rubocop (1.23.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.0.0.0) parser (>= 3.0.0.0)
@ -453,11 +423,7 @@ DEPENDENCIES
rack-mini-profiler (~> 2.0) rack-mini-profiler (~> 2.0)
rails (~> 7.0.0) rails (~> 7.0.0)
roo roo
rspec-core! rspec-rails
rspec-expectations!
rspec-mocks!
rspec-rails!
rspec-support!
rubocop-govuk rubocop-govuk
rubocop-performance rubocop-performance
rubocop-rails rubocop-rails

Loading…
Cancel
Save