I hereby claim:
- I am blowmage on github.
- I am blowmage (https://keybase.io/blowmage) on keybase.
- I have a public key whose fingerprint is 7FC4 001A B3B0 FFBA 60FD E278 861B B5BD 2A72 06AF
To claim this, I am signing this object:
# my preferred prompt - ☣ [pairwithme:rails4] $ | |
PS1='\[\e[1;31m\]☣ [\W$(if [ -n "$OMG_NAME" ]; then eval "echo :$OMG_NAME"; fi)] $\[\e[0m\] ' | |
# chruby configuration | |
source /usr/local/share/chruby/chruby.sh | |
source /usr/local/share/chruby/auto.sh | |
# set default ruby | |
chruby 2.1 |
require "minitest/autorun" | |
require "thor" | |
require "fakefs/safe" | |
class SampleGenerator < Thor::Group | |
include Thor::Actions | |
def start *args | |
template "foo.erb", "new/path/here/foo.rb" | |
end | |
end |
I hereby claim:
To claim this, I am signing this object:
diff --git a/lib/minitest/spec.rb b/lib/minitest/spec.rb | |
index 40b5e6a..c5b334d 100644 | |
--- a/lib/minitest/spec.rb | |
+++ b/lib/minitest/spec.rb | |
@@ -22,6 +22,25 @@ module Kernel # :nodoc: | |
## | |
# Describe a series of expectations for a given target +desc+. | |
# | |
+ # You can describe your test by passing the object under test: | |
+ # |
namespace :docs do | |
desc "Updates the documentation on the gh-pages branch" | |
task :update do | |
branch = `git symbolic-ref --short HEAD`.chomp | |
if "master" != branch | |
puts "You are on the #{branch} branch. You must be on the master branch to run this rake task." | |
exit | |
end | |
require_relative "../lib/my_gem/version.rb" |
require 'rubygems' | |
require 'gosu' | |
class LittleBrat < Gosu::Window | |
LETTER_LIMIT = 100 | |
def initialize | |
# Full resolution, fullscreen | |
super(Gosu.screen_width, Gosu.screen_height, true) | |
self.caption = "Leave me alone you little brat!" | |
# The letters the little brat hits on the keyboard |
a = [1, 2, 3] | |
b = [3, 2, 1] | |
class Array | |
def =~(other) | |
self.sort == other.sort | |
end | |
end | |
puts a =~ b #=> true |
class Foo | |
def start | |
# Do something important here | |
perform :start | |
end | |
def finish | |
perform :finish | |
# Clean up stuff here | |
end |
require "rake" | |
Gem::Specification.new do |s| | |
s.name = "GEM_NAME" | |
s.version = "0.1.0" | |
s.summary = "GEM_SUMMARY (short)" | |
s.description = "GEM_DESCRIPTION (longer)" | |
s.homepage = "http://example.com/GEM_NAME" | |
s.authors = ["GEM_AUTHOR_NAME"] | |
s.email = "GEM_AUTHOR_EMAIL" |