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

18 commits

Author SHA1 Message Date
Kyrylo Silin
9ffa460548 Gemfile: add rubocop 0.59.2 and lock it
Rubocop is a really nice tool when configured properly. A lot of default rules
are very opinionated but the good thing is that it's very easy to disable them.
With help of Rubocop I'd like to improve the quality of Pry's code.
2018-10-06 20:07:25 +08:00
Fernando Seror Garcia
3bd43b9db4 Update RSpec version to 3.7 (#1712) 2017-11-17 22:03:55 +01:00
robert
fdccded0ef fix failing specs.
revert to rspec ~> 3.4.0, and simplecov ~> 0.8.0.
rspec 3.5.0 causes random test failures in the test suite.
simplecov 0.12.0 cannot be installed on ruby 1.9 or earlier.
2016-07-09 02:57:28 +01:00
Josh Cheek
144d32e1d6 Switch test suite to RSpec
Removes Bacon and Mocha

Reasoning explained in this comment: https://github.com/pry/pry/issues/277#issuecomment-51708712

Mostly this went smoothly. There were a few errors that I fixed along
the way, e.g. tests that were failing but for various reasons still
passed. Should have documented them, but didn't think about it until
very near the end. But generaly, I remember 2 reasons this would happen:
`lambda { raise "omg" }.should.raise(RuntimeError, /not-omg/)` will pass
because the second argument is ignored by Bacon. And `1.should == 2`
will return false instead of raising an error when it is not in an it
block (e.g. if stuck in a describe block, that would just return false)

The only one that I felt unsure about was spec/helpers/table_spec.rb
`Pry::Helpers.tablify_or_one_line('head', %w(ing)).should == 'head: ing'`
This is wrong, but was not failing because it was in a describe block
instead of an it block.  In reality, it returns `"head: ing\n"`,
I updated the test to reflect this, though I don't know for sure
this is the right thing to do

This will fail on master until https://github.com/pry/pry/pull/1281 is merged.
This makes https://github.com/pry/pry/pull/1278 unnecessary.
2014-08-10 17:37:21 -06:00
Conrad Irwin
f27e718cfe Move back to 'gist' gem 2014-04-27 22:24:20 -07:00
robert
a550491fca unbreak pry builds on < ruby 2.1.1 2014-04-27 14:13:24 -07:00
Robert Gleeson
89666001da support deprecated method for HEAD support with pry-doc.
closes #1152.
related to #1136 but `? File.exists?` is still not showing me documentation.
thanks to @yui-knk for finding the bug & providing a solution.
2014-03-23 14:16:08 +01:00
Robert Gleeson
1c6a145ba7 remove attempt at bond support from pry and move to pry-bond project.
https://github.com/johnny5-/pry-bond project adds the enable-bond! and disable-bond! commands,
as well as other features, that enhance the pry&bond experience and make it easier to use and
setup without a manual effort.

see #1165
closes #1160
2014-03-17 09:37:23 +01:00
Robert Gleeson
f27802fec4 add yard to Gemfile 2014-03-16 11:17:33 +01:00
Robert Gleeson
7e3933e848 use false literal in place of string 2014-03-15 01:57:30 +01:00
Robert Gleeson
45cbc55c9f move development dependencies to Gemfile, & use Bundler.require(). 2014-03-15 01:50:21 +01:00
Robert Gleeson
7d0a8e3513 use 'platform' on rubinius (over RbConfig) in Gemfile. 2014-01-26 21:33:03 +01:00
Ryan Fitzgerald
3e31d01d0b Add rubysl-prettyprint to Gemfile for rbx 2013-11-23 18:23:34 -08:00
Ryan Fitzgerald
eb150b71d7 Fix specs on rbx-2.1.0 2013-11-23 18:11:29 -08:00
☈king
552b7e18e5 Avoid warning with warny rubygems 2013-02-26 07:27:51 -06:00
☈king
9e6269c1da Dev dep on 'jist' + better Guard deps 2012-12-06 22:45:07 -06:00
Ryan Fitzgerald
981f12ddc2 Add simple Guardfile 2012-09-08 20:27:41 -07:00
Shawn Anderson
f87c54bd79 added bundler gemfile 2011-09-13 11:39:04 -04:00