Skip to content

Commit

Permalink
remove runtime dependency on slop ~> v3.4, fix specs that depended on it
Browse files Browse the repository at this point in the history
  • Loading branch information
strcmp committed Dec 11, 2015
1 parent 52d88cd commit 1fc5e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion pry.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Gem::Specification.new do |s|
s.files = `git ls-files bin lib *.md LICENSE`.split("\n")

s.add_dependency 'coderay', '~> 1.1.0'
s.add_dependency 'slop', '~> 3.4'
s.add_dependency 'method_source', '~> 0.8.1'
s.add_development_dependency 'bundler', '~> 1.0'
end
5 changes: 2 additions & 3 deletions spec/commands/gem_list_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@

it 'should work arglessly' do
list = pry_eval('gem-list')
expect(list).to match(/slop \(/)
expect(list).to match(/rspec \(/)
end

it 'should find arg' do
prylist = pry_eval('gem-list slop')
expect(prylist).to match(/slop \(/)
prylist = pry_eval('gem-list method_source')
expect(prylist).to match(/method_source \(/)
expect(prylist).not_to match(/rspec/)
end

Expand Down

0 comments on commit 1fc5e7f

Please sign in to comment.