railsbp.com - online rails projects code quality check service

flyerhzm Posted by flyerhzm on February 11, 2012

0 Comments

I have created rails_best_practices gem for more than 2 years, based on ruby_parser. But after ruby 1.9.2 released, more and more developers complained ruby_parser can't work well with hew hash syntax {key: "value"}, then I did a lot refactors to use ripper instead of ruby_parser. It works really well in ruby 1.9.2, but not compatible with 1.8.7 and 1.9.3. JRuby isn't working as well as there is no ripper in JRuby.

It's also difficult to share the analyze report with other collaborators, every time I have to send emails with analyze report attached to collaborators.  I also think it would be better to track each analyze report to see if code quality is improved or not.

So I released a new service, railsbp.com, it provides online rails project code quality check service. It is integrated with github so far, every time a developer pushes codes to github, railsbp.com will be triggered to analyze the source codes and generate report, railsbp.com saves all reports, so you can easily track the status of your code quality. And you can easily share the analyze report to your collaborators.

The most important thing is that you don't need to worry about ruby platform/version any more, railsbp.com runs on ruby 1.9.2 now, it just analyzes your source codes statically.

Before you start using the service, please read it first, https://railsbp.com/page/how-it-works. If you have any ideas, suggestions or questions, please feel free to ping me flyerhzm@railsbp.com.

[ANN] move to railsbp organization

flyerhzm Posted by flyerhzm on December 28, 2011

2 Comments

Today I created a organization railsbp on githubhttps://github.com/railsbp

Then I moved two repositories rails_best_practices and rails-bestpractices.com from my personal account to railsbp organization, https://github.com/railsbp/rails_best_practices and https://github.com/railsbp/rails-bestpractices.com

I'm glad to create more and more useful gems and websites in railsbp organization in the future.

[ANN] rails_best_practices 1.7.0 released

flyerhzm Posted by flyerhzm on December 14, 2011

1 Comments

 

I just released rails_best_practices 1.7.0, the changes are as follows:

1. add slim template support

2. add rxml support

3. add mongomapper support

Check it here https://github.com/flyerhzm/rails_best_practices

[ANN] rails_best_practices 1.6.0 released

flyerhzm Posted by flyerhzm on December 10, 2011

1 Comments

I just released rails_best_practices 1.6.0, the changes are as follows:

1. add remove unused methods in helpers check

2. add helper prepare

3. add mercurial support

4. add option --output-file OUTPUT_FILE to specify output html file for the analyzing result

5. add option --silent not to display progress bar in console

6. add option --template TEMPLATE to customize output erb template

Check it here https://github.com/flyerhzm/rails_best_practices

[ANN] rails_best_practices 1.5.0 released

flyerhzm Posted by flyerhzm on November 26, 2011

1 Comments

I just released rails_best_practices 1.5.0, the changes are as follows:

1. besides activerecord, it supports mongoid as well.

2. support cells gem, treat it as controllers/views as well.

3. better erb parser, avoid parser errors.

4. use guard instead of watchr for automated test.

5. fix some errors in RoutePrepare

Check it here https://github.com/flyerhzm/rails_best_practices

Fork me on GitHub