1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Update regexp_parser requirement

This commit is contained in:
Thomas Walpole 2019-05-23 16:29:05 -07:00
parent 63af1963b2
commit 62cd6ed773
2 changed files with 3 additions and 3 deletions

View file

@ -32,7 +32,7 @@ Gem::Specification.new do |s|
s.add_runtime_dependency('nokogiri', ['~> 1.8'])
s.add_runtime_dependency('rack', ['>= 1.6.0'])
s.add_runtime_dependency('rack-test', ['>= 0.6.3'])
s.add_runtime_dependency('regexp_parser', ['~>1.2'])
s.add_runtime_dependency('regexp_parser', ['~>1.5'])
s.add_runtime_dependency('xpath', ['~>3.2'])
s.add_development_dependency('byebug') unless RUBY_PLATFORM == 'java'

View file

@ -166,11 +166,11 @@ module Capybara
end
def min_repeat
@exp.quantifier&.min || 1
@exp.repetitions.begin
end
def max_repeat
@exp.quantifier&.max || 1
@exp.repetitions.end
end
def fixed_repeat?