Project

pry-bond

0.01
No commit activity in last 3 years
No release in over 3 years
pry-bond provides input completion in pry through the `bond` rubygem.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.5
 Project Readme

pry-bond

pry-bond offers input completion in the pry repl through the bond rubygem. the default input completion for pry has been inherited from IRB but bond offers more extensibility options through gems like bond-yard.

Features

  • provides input completion in pry through the bond rubygem.
  • provides enable-bond! command for switching to bond completion inside a repl session.
  • provides disable-bond! command for switching back the pry default inside a repl session.
  • provides a file for require to change pry default(Pry::InputCompleter) to Pry::BondCompleter.

Examples

enable/disable in a repl session

[1] pry(main)> enable-bond!
bond input completion has been enabled and is ready to use!
--

[2] pry(main)> disable-bond!
bond input completion has been disabled and the pry default has been restored.
--

Dependencies

pry-bond depends on:

  • pry ~> 0.10
    the repl!

  • bond ~> 0.5
    provides input completion

  • rb-readline ~> 0.5
    provides pure ruby implementation of readline that removes platform compatibility issues with C version and editline(OSX).

Contribute

  1. fork it
  2. clone forked repository (git clone https://github.com/your-name/pry-bond.git)
  3. create feature branch (git checkout -b new-feature)
  4. commit your changes (git commit -am 'Add new feature')
  5. push to the branch (git push origin new-feature)
  6. create new Pull Request

Tips

install runtime and development dependencies with bundler.

$ git clone https://github.com/pry/pry-bond.git
$ cd pry-bond
$ bundle install

run the tests.

$ [bundle exec] rake test

Install

gem install pry-bond

License

MIT. See LICENSE.txt.