<commit_before>h1. About Pupu

"Pupu":http://github.com/botanicus/pupu is a framework-agnostic plugin system for media stuff like JS/CSS frameworks and its plugins, icon sets etc. It provides CLI interface for searching, installing and updating pupus from GitHub and it also provides a helper for including static files from pupu into your HTML page. Both CLI and helper can handle dependencies.

CLI example:

<pre>
pupu install botanicus/autocompleter
~ Downloading botanicus/autocompleter
~ Downloading dependency botanicus/mootools
</pre>

h1. About ratings

Rating pupu is based on Michelle Steigerwalt's "Rabid Ratings":http://msteigerwalt.com/widgets/ratings/v1.4.

h1. Usage

h2. Layout

<pre>
# for basic functionality, star will be used by default
plugin :ratings

# ratings with hearts instead of stars
plugin :ratings, :style => "heart"
</pre>

h2. Initializers

Edit the public/javascripts/initializers/ratings.js<commit_msg>Added link to GitHub search<commit_after>h1. About Pupu

"Pupu":http://github.com/botanicus/pupu is a framework-agnostic plugin system for media stuff like JS/CSS frameworks and its plugins, icon sets etc. You can "search GitHub":http://github.com/search?type=Repositories&language=&q=pupu&repo=&langOverride=&x=9&y=24&start_value=1 for more examples. It provides CLI interface for searching, installing and updating pupus from GitHub and it also provides a helper for including static files from pupu into your HTML page. Both CLI and helper can handle dependencies.

CLI example:

<pre>
pupu install botanicus/autocompleter
~ Downloading botanicus/autocompleter
~ Downloading dependency botanicus/mootools
</pre>

h1. About ratings

Rating pupu is based on Michelle Steigerwalt's "Rabid Ratings":http://msteigerwalt.com/widgets/ratings/v1.4.

h1. Usage

h2. Layout

<pre>
# for basic functionality, star will be used by default
pupu :ratings

# ratings with hearts instead of stars
pupu :ratings, :style => "heart"
</pre>

h2. Initializers

Edit the public/javascripts/initializers/ratings.js
{'fraction_non_alphanumeric': 0.07923228346456693, 'fraction_numerical': 0.008858267716535433, 'mean_word_length': 5.068656716417911, 'pattern_counts': {'":': 5, '<': 11, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6222444', 'n_tokens_mistral': 639, 'n_tokens_neox': 614, 'n_words': 234}