1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

remove runtime dependency on slop ~> v3.4, fix specs that depended on it

This commit is contained in:
strcmp 2015-12-11 06:06:03 +00:00
parent 52d88cdd6b
commit 1fc5e7f1d5
2 changed files with 2 additions and 4 deletions

View file

@ -19,7 +19,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files bin lib *.md LICENSE`.split("\n") s.files = `git ls-files bin lib *.md LICENSE`.split("\n")
s.add_dependency 'coderay', '~> 1.1.0' s.add_dependency 'coderay', '~> 1.1.0'
s.add_dependency 'slop', '~> 3.4'
s.add_dependency 'method_source', '~> 0.8.1' s.add_dependency 'method_source', '~> 0.8.1'
s.add_development_dependency 'bundler', '~> 1.0' s.add_development_dependency 'bundler', '~> 1.0'
end end

View file

@ -7,13 +7,12 @@ describe "gem-list" do
it 'should work arglessly' do it 'should work arglessly' do
list = pry_eval('gem-list') list = pry_eval('gem-list')
expect(list).to match(/slop \(/)
expect(list).to match(/rspec \(/) expect(list).to match(/rspec \(/)
end end
it 'should find arg' do it 'should find arg' do
prylist = pry_eval('gem-list slop') prylist = pry_eval('gem-list method_source')
expect(prylist).to match(/slop \(/) expect(prylist).to match(/method_source \(/)
expect(prylist).not_to match(/rspec/) expect(prylist).not_to match(/rspec/)
end end