Skip to content

Commit 8d23d1e

Browse files
author
Brent Cook
committed
move the xpath pin to test group instead
1 parent 456bf80 commit 8d23d1e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,7 @@ group :test do
4444
gem 'shoulda-matchers'
4545
# Manipulate Time.now in specs
4646
gem 'timecop'
47+
# Needed to work around a regression between capybara 2.7.1 and xpath 2.1
48+
# XXX remove when capybara is updated to work with xpath 2.1
49+
gem 'xpath', '2.0'
4750
end

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ PATH
6666
windows_error
6767
xdr
6868
xmlrpc
69-
xpath (= 2.0)
7069

7170
GEM
7271
remote: https://rubygems.org/
@@ -410,6 +409,7 @@ DEPENDENCIES
410409
shoulda-matchers
411410
simplecov
412411
timecop
412+
xpath (= 2.0)
413413
yard
414414

415415
BUNDLED WITH

metasploit-framework.gemspec

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,4 @@ Gem::Specification.new do |spec|
184184
spec.add_runtime_dependency 'nexpose'
185185
# Needed for NDMP sockets
186186
spec.add_runtime_dependency 'xdr'
187-
# Needed to work around a regression between capybara 2.7.1 and xpath 2.1
188-
# XXX remove when capybara is updated to work with xpath 2.1
189-
spec.add_runtime_dependency 'xpath', '2.0'
190187
end

0 commit comments

Comments
 (0)