This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Day job: Software Engineer at Swipely | |
Your Rails contributions (if any): Around six or so bug fixes to rails. Have also fixed bugs in a bunch of other gems. Recent contributor to rubygems.org. | |
What's your Ruby/Rails experience?: Been working with rails off and on since around 2006. Full time Rails developer currently. | |
How do you use GitHub?: All of my source code, dotfiles, projects in progress, contributing to other projects. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coffeescript issue | |
vows = require('vows') | |
tobi = require('tobi') | |
should = require('should') | |
getBrowser = () -> | |
tobi.createBrowser(80, 'www.google.com') | |
vows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vows = require('vows') | |
tobi = require('tobi') | |
should = require('should') | |
vows | |
.describe('Test') | |
.addBatch | |
'A hit': | |
topic: () -> | |
browser = tobi.createBrowser(80, 'www.yahoo.com') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"author": "drip <drip@drip.io>", | |
"name": "drip", | |
"description": "npm continuous integration", | |
"version": "0.0.1-5", | |
"repository": { | |
"url": "https://github.com/drip/drip.git" | |
}, | |
"engines": { | |
"node": "~v0.4.7" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.--.-. | |
( ( )__ | |
(_, \ ) ,_) | | |
'-'--`--' ~~| , \ _ / | |
,|`-._/| -== (_) ==- | |
^^ .' | /||\ / \ | |
^^ .' | ./ ||`\ | | |
/ `-. |/._ || \ | |
/ `|| `|;-._\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.--.-. | |
( ( )__ | |
(_, \ ) ,_) | | |
'-'--`--' ~~| , \ _ / | |
,|`-._/| -== (_) ==- | |
^^ .' | /||\ / \ | |
^^ .' | ./ ||`\ | | |
/ `-. |/._ || \ | |
/ `|| `|;-._\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test_helper' | |
require 'minitest/autorun' | |
module Tenderlove | |
class Spec < MiniTest::Spec | |
include ActiveSupport::Testing::SetupAndTeardown | |
include ActiveRecord::TestFixtures | |
alias :method_name :__name__ if defined? :__name__ | |
self.fixture_path = File.join(Rails.root, 'test', 'fixtures') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config/locales/en.yml | |
en: | |
errors: | |
messages: | |
wrong_size: "is the wrong size (should be %{file_size})" | |
size_too_small: "is too small (should be at least %{file_size})" | |
size_too_big: "is too big (should be at most %{file_size})" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#http://eggsonbread.com/2010/03/28/my-rspec-best-practices-and-tips/ | |
describe User do | |
subject { user } | |
let(:user) { User.new } | |
context "when name empty" do | |
it { should_not be_valid } | |
specify { user.save.should be_false } | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test_helper' | |
require 'minitest/autorun' | |
module Tenderlove | |
class Spec < MiniTest::Spec | |
include ActiveSupport::Testing::SetupAndTeardown | |
include ActiveRecord::TestFixtures | |
alias :method_name :__name__ if defined? :__name__ | |
self.fixture_path = File.join(Rails.root, 'test', 'fixtures') |