<commit_before>= Blank

Blank is GiraffeSoft's blank rails app.

It makes heavy use of our standard toolset. Controllers are mostly written using <tt>resource_controller</tt>, and it is tested entirely with <tt>shoulda</tt>.

Tools we use in nearly all of our apps are vendored, as is rails:

  - active_presenter
  - andand
  - attribute_fu
  - hoptoad
  - mocha
  - rake
  - restful_authentication
  - ruby-openid
  - will_paginate
  
== Installation

Installing blank is as easy as running a rake task. Except that blank uses thor instead, because it's the new hotness, and it supports remote tasks.

Just install thor:

  $ sudo gem install thor
  
...then install blank's thor tasks:

  $ thor install http://github.com/giraffesoft/blank/tree/master%2Fthorfiles%2Fblank.thor?raw=true
  
...then you're ready to create a new app with blank:

  $ thor blank:new_app the_name_of_my_app the_git_repo_it_will_live_in
  
That's it! There are a few rake notes that will inform you about some places that you replace blank app with your app's name.

Also, you need to go fill in your hoptoad api key in config/initializers/hoptoad.rb

If we improve the thor file, all you have to do is run

  $ thor update blank
  
before creating your next app, and you'll get the changes automagically.

== Merging Upstream Changes

Your app will share a git history with blank. That means that when blank gets patched, you'll be able to merge our commits back in to your app. Like when we get around to implementing openid, you'll get it for free in your app, if you started with blank. Just pull from the blank repo (set up as a remote called 'blank' in your app).

  $ git fetch blank
  $ git merge blank/master
  
== Development

All development will be done at the {github repo}[https://github.com/giraffesoft/blank/tree/master]. Fork away :)
  
== Credits

  Blank was created by {<NAME>}[http://jamesgolick.com]. Its development is funded by GiraffeSoft Inc.
  
  {<NAME>}[http://danielharan.com] also contributed several patches, and his ongoing thoughts and critiques.
  
== License

Blank is available under the {MIT License}[http://en.wikipedia.org/wiki/MIT_License], as is all of the code generated by the rails generator.<commit_msg>tests aren't green after pulling; added fix to readme<commit_after>= Blank

Blank is GiraffeSoft's blank rails app.

It makes heavy use of our standard toolset. Controllers are mostly written using <tt>resource_controller</tt>, and it is tested entirely with <tt>shoulda</tt>.

Tools we use in nearly all of our apps are vendored, as is rails:

  - active_presenter
  - andand
  - attribute_fu
  - hoptoad
  - mocha
  - rake
  - restful_authentication
  - ruby-openid
  - will_paginate
  
== Installation

Installing blank is as easy as running a rake task. Except that blank uses thor instead, because it's the new hotness, and it supports remote tasks.

Just install thor:

  $ sudo gem install thor
  
...then install blank's thor tasks:

  $ thor install http://github.com/giraffesoft/blank/tree/master%2Fthorfiles%2Fblank.thor?raw=true
  
...then you're ready to create a new app with blank:

  $ thor blank:new_app the_name_of_my_app the_git_repo_it_will_live_in
  
That's it! There are a few rake notes that will inform you about some places that you replace blank app with your app's name.

Also, you need to go fill in your hoptoad api key in config/initializers/hoptoad.rb

If we improve the thor file, all you have to do is run

  $ thor update blank
  
before creating your next app, and you'll get the changes automagically.

== Merging Upstream Changes

Your app will share a git history with blank. That means that when blank gets patched, you'll be able to merge our commits back in to your app. Like when we get around to implementing openid, you'll get it for free in your app, if you started with blank. Just pull from the blank repo (set up as a remote called 'blank' in your app).

  $ git fetch blank
  $ git merge blank/master
  
== Development

All development will be done at the {github repo}[https://github.com/giraffesoft/blank/tree/master]. Fork away :)

After cloning, to get tests passing:
  
  $ rake blank:session_config
  $ rake db:migrate
  $ rake auth:gen:site_key

== Credits

  Blank was created by {<NAME>}[http://jamesgolick.com]. Its development is funded by GiraffeSoft Inc.
  
  {<NAME>}[http://danielharan.com] also contributed several patches, and his ongoing thoughts and critiques.
  
== License

Blank is available under the {MIT License}[http://en.wikipedia.org/wiki/MIT_License], as is all of the code generated by the rails generator.
{'fraction_non_alphanumeric': 0.06957087126137841, 'fraction_numerical': 0.0008669267446900737, 'mean_word_length': 3.7972972972972974, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5670765', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1341, 'n_words': 621}