<commit_before># Pugita Header #

A Rails gem / engine to make any Rails 3 app look like engineyard.com.

## Installation ##

Add `pugita_header` to your Gemfile
    
    gem 'pugita_header'

## Usage ##

Get the latest assets so that you can test locally (you can add `public/pugita_header/*` to your .gitignore if you like):

    bundle exec rails generate pugita_header:assets

Wrap your application.html `yield` with the header and footer helpers:

    <% # application.html.erb %>
    <%= pugita_header %>
    <%= yield %>
    <%= pugita_footer %>

If you want to add anything within the `<head></head>` tags or just before the `</body>` tag, you can pass a block to the helpers:

    <%= pugita_header do %>
      <%= stylesheet_link_tag 'additional_styles' %>
    <% end %>
    <%= yield %>
    <%= pugita_footer do %>
      <!--  this comment only appears on my sub-site -->
    <% end %>

## Modifying / Testing ##

Inside this repo is a `dummy` folder, containing a Rails 3 app configured to load the gem. You can use this to add any changes in styles. You can also run:

    `bundle exec cucumber features`
  
...within that folder to test the gem as though it was installed in a Rails app, so that you know it still works.

== Copyright

Copyright (c) 2011 <NAME>. See LICENSE.txt for
further details.
<commit_msg>On the modesty of Dr. Nic<commit_after># Pugita Header #

A Rails gem / engine to make any Rails 3 app look like engineyard.com.

## Installation ##

Add `pugita_header` to your Gemfile
    
    gem 'pugita_header'

## Usage ##

Get the latest assets so that you can test locally (you can add `public/pugita_header/*` to your .gitignore if you like):

    bundle exec rails generate pugita_header:assets

Wrap your application.html `yield` with the header and footer helpers:

    <% # application.html.erb %>
    <%= pugita_header %>
    <%= yield %>
    <%= pugita_footer %>

If you want to add anything within the `<head></head>` tags or just before the `</body>` tag, you can pass a block to the helpers:

    <%= pugita_header do %>
      <%= stylesheet_link_tag 'additional_styles' %>
    <% end %>
    <%= yield %>
    <%= pugita_footer do %>
      <!--  this comment only appears on my sub-site -->
    <% end %>

## Modifying / Testing ##

Inside this repo is a `dummy` folder, containing a Rails 3 app configured to load the gem. You can use this to add any changes in styles. You can also run:

    `bundle exec cucumber features`
  
...within that folder to test the gem as though it was installed in a Rails app, so that you know it still works.

## Copyright ##

Copyright (c) 2011 Engine Yard Inc. See LICENSE.txt for
further details.

{'fraction_non_alphanumeric': 0.10127055306427504, 'fraction_numerical': 0.004484304932735426, 'mean_word_length': 3.156832298136646, 'pattern_counts': {'":': 0, '<': 32, '<?xml version=': 0, '>': 32, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4274586', 'n_tokens_mistral': 879, 'n_tokens_neox': 785, 'n_words': 355}