abhshkdz / graf Goto Github PK
View Code? Open in Web Editor NEWA simple git log analyzer gem
License: MIT License
A simple git log analyzer gem
License: MIT License
The unicode 'bar' icon causes a SyntaxError when using Ruby 1.9.3 p327.
Adding # encoding: utf-8
fixes the error. Really not enough for a pull request, though.
Otherwise, works really well!
/Users/oliver/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': /Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/lib/graf/source.rb:11: invalid multibyte char (US-ASCII) (SyntaxError)
/Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/lib/graf/source.rb:11: invalid multibyte char (US-ASCII)
/Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/lib/graf/source.rb:11: syntax error, unexpected $end, expecting keyword_end
TICK = '▇'
^
from /Users/oliver/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/lib/graf.rb:2:in `<top (required)>'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/bin/graf:6:in `require_relative'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/gems/graf-0.0.1/bin/graf:6:in `<top (required)>'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/bin/graf:19:in `load'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/bin/graf:19:in `<main>'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/oliver/.rvm/gems/ruby-1.9.3-p327/bin/ruby_noexec_wrapper:14:in `<main>'
/home/gautambt/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require': /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/lib/graf/source.rb:11: invalid multibyte char (US-ASCII) (SyntaxError) /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/lib/graf/source.rb:11: invalid multibyte char (US-ASCII) /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/lib/graf/source.rb:11: syntax error, unexpected $end, expecting keyword_end TICK = '▇' ^ from /home/gautambt/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
require'
from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/lib/graf.rb:2:in <top (required)>' from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/bin/graf:6:in
require_relative'
from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/gems/graf-0.0.1/bin/graf:6:in <top (required)>' from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/bin/graf:19:in
load'
from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/bin/graf:19:in <main>' from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in
eval'
from /home/gautambt/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `
Adding the following at the top of source.rb fixes it for me
#!/bin/env ruby
If a user has changed their username at some point in git config, then they will show up as two people.
Consider using email address (%ae) instead, and maybe picking the last username that is used with that email.
For example: git log --pretty=format:'%ae;%an'
Just because I looked at that and went "omg, that's cool" and I'm betting other people did as well, so a one line note pointing at the creation software would be a really nice thing to have.
/Library/Ruby/Gems/1.8/gems/graf-0.0.1/bin/graf:6: undefined method require_relative' for main:Object (NoMethodError) from /usr/bin/graf:23:in
load'
from /usr/bin/graf:23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.