Skip to content

Commit

Permalink
Pulling in the original repository
Browse files Browse the repository at this point in the history
Signed-off-by: Kurtis Rainbolt-Greene <kurtisrainboltgreene@gmail.com>
  • Loading branch information
Kurtis Rainbolt-Greene committed Jun 5, 2011
2 parents 7880ec7 + 81a133d commit 4c9a5e6
Show file tree
Hide file tree
Showing 83 changed files with 2,521 additions and 13 deletions.
46 changes: 46 additions & 0 deletions .rvmrc
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/usr/bin/env bash

# This is an RVM Project .rvmrc file, used to automatically load the ruby
# development environment upon cd'ing into the directory

# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
environment_id="ruby-1.9.2-p180@learn-you-the-ruby-for-awesome-power"

#
# First we attempt to load the desired environment directly from the environment
# file, this is very fast and efficicent compared to running through the entire
# CLI and selector. If you want feedback on which environment was used then
# insert the word 'use' after --create as this triggers verbose mode.
#
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]] ; then
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
else
# If the environment file has not yet been created, use the RVM CLI to select.
rvm --create "$environment_id"
fi

#
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
# it be automatically loaded, uncomment the following and adjust the filename if
# necessary.
#
# filename=".gems"
# if [[ -s "$filename" ]] ; then
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
# fi

#
# If you use bundler and would like to run bundle each time you enter the
# directory you can uncomment the following code.
#
# # Ensure that Bundler is installed, install it if it is not.
# if ! command -v bundle ; then
# printf "The rubygem 'bundler' is not installed, installing it now.\n"
# gem install bundler
# fi
#
# # Bundle while redcing excess noise.
# printf "Bundling your gems this may take a few minutes on a fresh clone.\n"
# bundle | grep -v 'Using' | grep -v 'complete' | sed '/^$/d'
#
44 changes: 44 additions & 0 deletions COPYRIGHT
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,44 @@
Copyright(s)
============
This work is split into two parts: Literature and Source Code. Each part has a
different copyright license attached.


Literature
----------
Simplified:
http://creativecommons.org/licenses/by-sa/3.0/
Standard:
> [Learn You The Ruby For Awesome Power][0] by [Kurtis Rainbolt-Greene][1] is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][2].
> Based on a work at [learnyoutheruby.com][3].


Source Code
-----------
Simplified:
http://creativecommons.org/licenses/MIT/
Standard:
> Copyright (c) 2010 Kurtis Rainbolt-Greene

> Permission is hereby granted, free of charge, to any person obtaining a copy
> of this software and associated documentation files (the "Software"), to deal
> in the Software without restriction, including without limitation the rights
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
> copies of the Software, and to permit persons to whom the Software is
> furnished to do so, subject to the following conditions:

> The above copyright notice and this permission notice shall be included in
> all copies or substantial portions of the Software.

> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
> THE SOFTWARE.

[0]: http://learnyoutheruby.com
[1]: http://krainboltgreene.github.com/resume
[2]: http://creativecommons.org/licenses/by-sa/3.0/
[3]: http://learnyoutheruby.com/source.tar.gz
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ gem 'sass', '~> 3.1.1'
gem 'rdiscount', '~> 1.6.8' gem 'rdiscount', '~> 1.6.8'
gem 'highlight', '~> 1.1.2' gem 'highlight', '~> 1.1.2'


gem 'heroku', '2.1.4' gem 'heroku', '~> 2.1.4'


gem 'rspec', '2.6.0' gem 'rspec', '~> 2.6.0'
gem 'capybara', '0.4.1.2' gem 'capybara', '~> 0.4.1.2'
gem 'delorean', '1.0.0' gem 'delorean', '~> 1.0.0'
gem 'rbtrace', '0.3.13' gem 'rbtrace', '~> 0.3.13'
gem 'ruby-debug19', '0.11.6', :require => 'ruby-debug' gem 'ruby-debug19', '~> 0.11.6', :require => 'ruby-debug'
14 changes: 7 additions & 7 deletions Gemfile.lock
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ GEM
configuration (1.2.0) configuration (1.2.0)
cri (1.0.1) cri (1.0.1)
culerity (0.2.15) culerity (0.2.15)
delorean (1.0.0) delorean (1.0.1)
chronic chronic
diff-lcs (1.1.2) diff-lcs (1.1.2)
ffi (1.0.9) ffi (1.0.9)
Expand Down Expand Up @@ -89,14 +89,14 @@ PLATFORMS
ruby ruby


DEPENDENCIES DEPENDENCIES
capybara (= 0.4.1.2) capybara (~> 0.4.1.2)
delorean (= 1.0.0) delorean (~> 1.0.0)
haml (~> 3.1.1) haml (~> 3.1.1)
heroku (= 2.1.4) heroku (~> 2.1.4)
highlight (~> 1.1.2) highlight (~> 1.1.2)
nanoc (~> 3.1.7) nanoc (~> 3.1.7)
rbtrace (= 0.3.13) rbtrace (~> 0.3.13)
rdiscount (~> 1.6.8) rdiscount (~> 1.6.8)
rspec (= 2.6.0) rspec (~> 2.6.0)
ruby-debug19 (= 0.11.6) ruby-debug19 (~> 0.11.6)
sass (~> 3.1.1) sass (~> 3.1.1)
31 changes: 31 additions & 0 deletions README
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,31 @@
README
======

This is a book I am writing,
called Learn You The Ruby For
Awesome Power. Learn You The
Ruby For Awesome Power is a
book for those who want to
hack with the Ruby Programming
Language. The book attempts to
be similar to Learn You A
Haskell, Learn You Some Erlang,
and Learn Python The Hard Way.
This book also attempts to be
funny, but never really had
the nack for telling jokes.
The book constantly wonders
what life would have been like
if things had been different.

This book takes the reader from
zero to developer by having them
complete tasks that over time
take what the reader has learned
and adds new layers. This book
also gives the reader pep talks,
and advice concerning girls. The
conversations get awkward and the
book will, at times, start ranting
about some woman called "Vickey"
and how it all really went down.
Loading

0 comments on commit 4c9a5e6

Please sign in to comment.