My Recent Pastes (51 and counting)
Pastes by Chris Mcgrath (51 and counting)
Below are the 15 most recent pasties by Chris Mcgrath.
July 17, 2008
9:49AM EDT
by Chris McGrath
View all 79 lines
Index: lib/mocha/module_method.rb =================================================================== --- lib/mocha/module_method.rb (revision 334) +++ lib/mocha/module_method.rb (working copy) @@ -5,11 +5,9 @@
July 17, 2008
9:30AM EDT
by Chris McGrath
View all 76 lines
Index: lib/mocha/module_method.rb =================================================================== --- lib/mocha/module_method.rb (revision 334) +++ lib/mocha/module_method.rb (working copy) @@ -5,11 +5,9 @@
June 19, 2008
3:53PM EDT
by Chris McGrath
View all 13 lines
diff --git a/instruby.rb b/instruby.rb index 8bbadf1..ce7be8d 100755 --- a/instruby.rb +++ b/instruby.rb @@ -435,6 +435,8 @@ unless $installing_rdoc
January 05, 2008
3:12PM EDT
by Chris McGrath
View all 37 lines
diff --git a/test/test_helper.rb b/test/test_helper.rb index c8a8af0..f819248 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -376,4 +376,21 @@ class XmlLoginProxy < BaseLoginProxy
December 19, 2007
4:27PM EDT
by Chris McGrath
View all 9 lines
### current git branch ### modified from http://madism.org/~madcoder/dotfiles/zsh/60_prompt if which git > /dev/null; then if [[ $(git-rev-parse --git-dir 2> /dev/null) != '' ]]; then PR_GIT=":${$(git-symbolic-ref HEAD 2> /dev/null):t}"
November 26, 2007
6:49PM EDT
by Chris McGrath
View all 50 lines
#!/usr/bin/env ruby -wKU require 'osx/cocoa' include OSX class Connection
June 15, 2007
7:57AM EDT
by Chris Mcgrath
View all 19 lines
class Pool < ActiveRecord::Base belongs_to :client has_many :assignments has_many :human_resources, :through => :assignments end
June 11, 2007
6:54PM EDT
by Chris Mcgrath
View all 21 lines
# merb rather than rails in mind for the moment # total made up code, no idea if it's practical # testing framework: # 1. calls normal setups # 2. figures out controller from request line and instantiates
June 11, 2007
6:43PM EDT
by Chris Mcgrath
View all 18 lines
# merb rather than rails in mind for the moment # total made up code, no idea if it's practical # testing framework: # 1. calls normal setups # 2. figures out controller from request line and instantiates
June 11, 2007
6:00PM EDT
by Chris Mcgrath
View all 21 lines
Index: lib/fake_request.rb =================================================================== --- lib/fake_request.rb (revision 101) +++ lib/fake_request.rb (working copy) @@ -26,13 +26,15 @@
June 11, 2007
5:52PM EDT
by Chris Mcgrath
View all 22 lines
Index: lib/fake_request.rb =================================================================== --- lib/fake_request.rb (revision 101) +++ lib/fake_request.rb (working copy) @@ -26,13 +26,16 @@
June 11, 2007
5:34PM EDT
by Chris Mcgrath
View all 15 lines
Index: lib/merb/merb_server.rb =================================================================== --- lib/merb/merb_server.rb (revision 280) +++ lib/merb/merb_server.rb (working copy) @@ -83,6 +83,10 @@
June 11, 2007
5:25PM EDT
by Chris Mcgrath
View all 15 lines
Index: lib/merb/merb_server.rb =================================================================== --- lib/merb/merb_server.rb (revision 280) +++ lib/merb/merb_server.rb (working copy) @@ -83,6 +83,10 @@
June 11, 2007
5:19PM EDT
by Chris Mcgrath
View all 12 lines
Index: lib/merb/session/merb_ar_session.rb =================================================================== --- lib/merb/session/merb_ar_session.rb (revision 278) +++ lib/merb/session/merb_ar_session.rb (working copy) @@ -14,6 +14,7 @@
June 11, 2007
5:16PM EDT
by Chris Mcgrath
View all 32 lines
Index: lib/merb.rb =================================================================== --- lib/merb.rb (revision 278) +++ lib/merb.rb (working copy) @@ -89,8 +89,10 @@
