Gerard Caulfield
ce934093b3
Fix string inconsistency
...
Only using double quoted strings when needing interpolation.
If git-blame brought you here you may want to read this, the
problem is with git-blame, not this change.
Try running these two lines just once:
```
git config --global alias.praise 'log -p -M --follow --stat --'
git config --global alias.praise-line 'log -p -M --pretty=format:"%h (%an %ai)" -L'
```
Now in future you can use
`git praise <path/to/your/file>`
or if you want to see the evolution of a specific line or range of lines
`git praise-line <start-line>:<end-line>:<path/to/your/file>`
Some examples you should try:
```
git praise lib/awesome_print/version.rb
git praise-line 8:8:lib/awesome_print/version.rb
```
Inspiration for these aliases:
http://blog.andrewray.me/a-better-git-blame/
2016-11-08 17:30:17 +11:00
Waldyr de Souza
eef3caf546
Update copyright header based on Michael's comment on #242
2016-06-08 20:39:57 -03:00
James Cox
67a065b299
remove executable bit
2014-12-18 12:24:30 -05:00
Michael Dvorkin
3723f677cf
Happy new year ;-)
2013-09-19 21:24:38 -07:00
Mike Dvorkin
4462fce5fd
Updated copyright year
2012-09-11 15:43:41 -07:00
Mike Dvorkin
c88594a811
Keep lib/ap.rb for backwards compatibility
2011-11-08 22:03:16 -08:00
Gudleik Rasch
e410508b2a
mongoid adapter
2011-10-26 23:47:15 +02:00
Mike Dvorkin
b538cca4c5
Renamed directories
2011-05-13 16:37:24 -07:00
Mike Dvorkin
7a35496b7f
Resolved merge conflicts
2011-05-13 16:24:01 -07:00
Mike Dvorkin
24b6192f57
Avoid loading awesome_print more than once (ex. ~/.irbrc and then Rails console)
2011-05-13 14:42:04 -07:00
fuJiin
ff85bcab55
load mongo_mapper mixin for ap too
2011-03-28 18:04:52 -07:00
Mike Dvorkin
dfbebd4887
Major refactoring: split AwesomePrint class into Inspector and Formatter
2011-02-05 11:31:51 -08:00
Mike Dvorkin
d71b885e6d
Updated copyright year
2011-02-02 22:48:27 -08:00
Mike Dvorkin
f7fb11ed85
Make sure active_record and active_support mixins get loaded in Rails console when required from .irbrc
2011-02-02 22:19:05 -08:00
Mike Dvorkin
934d294592
Copied ap.rb to awesome_print.rb to match gem name; removed redundant logic for Logger
2010-11-13 09:24:26 -08:00
Mike Dvorkin
fcbd18377a
Ruby 1.8.6 compatibility fixes (undefined Method#name and Fixnum#times without block)
2010-11-13 09:12:54 -08:00
Mike Dvorkin
c38b70cad4
Implemented -, &, and grep for method arrays
2010-11-06 12:45:27 -07:00
Mike Dvorkin
5f78c06a05
Display object.methods in human readable format
2010-10-31 15:05:08 -07:00
Mike Dvorkin
fe58321517
Final cleanup before 0.2.1 release
2010-06-03 19:39:44 -07:00
Mike Dvorkin
5ee3eaeb57
Added ap support within Rails templates (ex. <%= ap @obj =>)
2010-05-21 22:53:03 -07:00
Daniel Bretoi
a42d00ad33
adding ActionHelper ap_debug
2010-05-21 10:55:38 -07:00
Tobias Crawley
6dc67a2cff
Added logger.ap
2010-04-22 00:57:21 -04:00
Tobias Crawley
97d8bb71d7
Factored active_record and active_support enhancements to separate modules.
2010-04-21 21:27:26 -04:00
Mike Dvorkin
0fddf1e5b5
Refactored to move #ai (aka ##awesome_inspect) to Kernel
2010-04-05 20:24:46 -07:00
Daniel Bretoi
e415db6e70
add awesome_inspect to object class
2010-04-05 15:57:21 -07:00
Mike Dvorkin
4ac2bfd653
Initial public commit
2010-04-02 21:43:46 -07:00
Mike Dvorkin
25786aacd8
Initial commit to ap.
2010-03-24 21:31:59 -07:00