summaryrefslogtreecommitdiff
path: root/Gemfile
Commit message (Collapse)AuthorAgeFilesLines
* Fix failing build on 2.4 & 2.5Kyrylo Silin2021-07-091-1/+0
| | | | | | | | | | | | Example failure: https://github.com/pry/pry/runs/3010680604 ``` ArgumentError: wrong number of arguments (given 4, expected 1) /home/runner/work/pry/pry/vendor/bundle/ruby/2.4.0/gems/psych-4.0.1/lib/psych.rb:323:in `safe_load' ``` I am not sure what exactly causes the failure but deleting simplecov dependency fixes (I guess?) this problem.
* Gemfile: bump rspec & rspec-expectations to v3.10Kyrylo Silin2021-07-041-6/+1
|
* Update rake to suppress the warningtaki2020-03-081-1/+1
|
* rubocop: enable the Style/FrozenStringLiteralComment copKyrylo Silin2019-05-081-0/+2
| | | | This will greatly ease Pry support on Ruby 3.0 (when it's out).
* Gemfile: lock rspec-expectations to v3.8.2Kyrylo Silin2019-04-281-0/+5
| | | | | | | | | | | v3.8.2 has a bug on Ruby 1.9.3: https://github.com/rspec/rspec-expectations/issues/1113 ``` TypeError: bind argument must be an instance of Kernel ``` Lock for now, unlock when (if) fixed version is released.
* Bump rubocop to v0.66.0 and update rubocop_todoKyrylo Silin2019-03-211-1/+1
|
* Delete the `gist` commandKyrylo Silin2019-03-121-1/+0
| | | | | | | | | | | | This command was moved to the [pry-jist][1] plugin. Pry allows good extensibility and this command doesn't feel like something that should be in Pry Core. I suspect not many people use it, let alone know about it. The concept of optional dependencies also feels awkward (the `gist` gem). It's a strong indication that the command should be moved outside Pry Core (or we should just depend on `gist`). [1]: https://github.com/pry/pry-jist
* Configure SimpleCov properlyKyrylo Silin2019-03-081-0/+1
| | | | | | * Update the requirement to latest version * Make sure we actually *check* code coverage. Previously, we were only checking files in `spec/`, but not we also check `lib/`
* Gemfile: remove groupsKyrylo Silin2019-03-081-16/+7
| | | | | | | | We plan to use SimpleCov and Bundler.require gets in the way. Without it Gemfile groups are useless, so I am removing them. I am also removing the silly `Bundler/OrderedGems` cop, one of the most useless cops you can add.
* rubocop: fix offences of the Metrics/LineLength copKyrylo Silin2019-03-031-1/+3
| | | | | | I realise that some code might be less readable now, but now that we set a good default limit, we protect the codebase from further mess. It's important to do this to prevent adding more mess to already messy code that we have. :doctor:
* rubocop: fix offences of the Style/IfUnlessModifier copKyrylo Silin2019-03-021-3/+1
|
* Bump rubocop to v0.65.0 and generate configKyrylo Silin2019-02-241-1/+1
|
* Update rspec to 3.8.0yui-knk2018-12-121-1/+1
|
* Gemfile: delete gems that were needed for GuardKyrylo Silin2018-10-161-3/+0
| | | | | | | | `rb-inotify` has a dependency on `ffi`, which fails to compile on Ruby 1.9.3 while running on CircleCI. I don't think anyone who develops Pry (seems to be just me so far) uses Guard in their worfklow. Our repo is missing an obligatory Guardfile, too, which makes me think it's a very safe change to make (rather than wasting time with`ffi` and CircleCI).
* rubocop: fix offences of the Style/HashSyntax copKyrylo Silin2018-10-131-3/+3
|
* rubocop: fix offences of the Layout/ExtraSpacing copKyrylo Silin2018-10-131-1/+1
|
* Drop support for RubiniusKyrylo Silin2018-10-071-6/+0
| | | | | | | Fixes #1775 (Drop support for Rubinius) I am amazed how many hacks we've had just to support Rubinius. It feels good to be able to remove them and reduce the complexity of the codebase.
* Gemfile: add rubocop 0.59.2 and lock itKyrylo Silin2018-10-061-0/+5
| | | | | | 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.
* Update RSpec version to 3.7 (#1712)Fernando Seror Garcia2017-11-171-1/+1
|
* fix failing specs.robert2016-07-091-2/+2
| | | | | | 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.
* Switch test suite to RSpecJosh Cheek2014-08-101-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Move back to 'gist' gemConrad Irwin2014-04-271-1/+1
|
* unbreak pry builds on < ruby 2.1.1robert2014-04-271-1/+0
|
* support deprecated method for HEAD support with pry-doc.Robert Gleeson2014-03-231-0/+1
| | | | | | 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.
* remove attempt at bond support from pry and move to `pry-bond` project.Robert Gleeson2014-03-171-1/+0
| | | | | | | | | 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
* add `yard` to GemfileRobert Gleeson2014-03-161-0/+1
|
* use false literal in place of stringRobert Gleeson2014-03-151-2/+2
|
* move development dependencies to Gemfile, & use Bundler.require().Robert Gleeson2014-03-151-0/+11
|
* use 'platform' on rubinius (over RbConfig) in Gemfile.Robert Gleeson2014-01-261-1/+1
|
* Add rubysl-prettyprint to Gemfile for rbxRyan Fitzgerald2013-11-231-0/+1
|
* Fix specs on rbx-2.1.0Ryan Fitzgerald2013-11-231-0/+5
|
* Avoid warning with warny rubygems☈king2013-02-261-1/+1
|
* Dev dep on 'jist' + better Guard deps☈king2012-12-061-5/+4
|
* Add simple GuardfileRyan Fitzgerald2012-09-081-0/+8
|
* added bundler gemfileShawn Anderson2011-09-131-0/+2