Sha256: fc4ace4f3d8087e0cf492775c70da816b1ac831f719c12ce65b049423ddab7a7

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

## Method Log

Trace the history of an individual method in a git repository.

### Install

    gem install method_log

### Run

    method_log <method-signature> # e.g. Foo::Bar#baz

### Todo

* Support earlier versions of Ruby
* Support class methods
* Support namespaced classes e.g. `class Foo::Bar`
* Support for Rspec tests
* Display diffs in method implementation between commits
* Only display diffs when method implementation has changed
* Default to looking for git repo in current working directory
* Default to looking for commits in current git branch
* Maybe add as new git command or extension to existing command e.g. `git log`
* Optimise search for method definitions:
  * First look in file where method was last defined
  * Simple text search for files containing method name to narrow files that need to be parsed

### Credits

Written by [James Mead](http://jamesmead.org) and the other members of [Go Free Range](http://gofreerange.com).

### License

Released under the [MIT License](https://github.com/freerange/method_log/blob/master/LICENSE).

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
method_log-0.0.1 README.md