Public Gists by snusnu

Gravatar
Thu Oct 01 20:04:50 -0700 2009
1
2
3
# setup new rubygem environment for merb 1.0.x
gem install extlib rspec rake memcache-client mongrel ruby-debug hpricot --no-rdoc --no-ri
gem install webrat --version=0.3.1 --no-rdoc --no-ri
Gravatar
Thu Sep 24 18:26:22 -0700 2009
1
2
3
## no idea
 
'Merb::Controller#cookies creating should append secure to the end of the cookie header when marked as such' FAILED
Gravatar
Tue Sep 22 19:56:48 -0700 2009
1
2
3
require 'rubygems'
require 'dm-core'
 
Gravatar
Tue Sep 01 15:54:50 -0700 2009
1
2
3
module DataMapper
 
  module Types
Gravatar
Mon Aug 24 10:16:15 -0700 2009
1
2
3
# local dev box in austria
 
mungo:alfred snusnu$ git ls-remote origin
Gravatar
Sun Aug 23 07:33:54 -0700 2009
1
2
3
#!/usr/bin/env ruby
#
# A one file test to show ...
Gravatar
Tue Aug 04 19:01:09 -0700 2009
1
2
3
# This is all you need to setup datamapper on a given repository
# (the sqlite3 in memory adapter in this case).
#
Gravatar
Tue Aug 04 17:56:55 -0700 2009
1
2
3
require 'rubygems'
require 'dm-core'
 
Gravatar
Wed Jul 08 13:35:49 -0700 2009
1
2
3
module Addressable
  include DataMapper::Resource
  is :remixable
Gravatar
Thu Jul 02 15:13:25 -0700 2009
1
2
3
require 'rubygems'
 
require 'pathname'
Gravatar
Fri Jun 26 10:25:09 -0700 2009
1
2
3
require "rubygems"
require "dm-core"
require "dm-constraints"
Gravatar
Fri Jun 12 07:46:35 -0700 2009
1
2
3
require "rubygems"
require "dm-core"
require "spec"
Gravatar
Fri Jun 12 07:37:46 -0700 2009
1
2
3
require "rubygems"
require "dm-core"
require "dm-validations"
Gravatar
Tue Jun 02 15:46:49 -0700 2009
1
2
3
Merb::BootLoader.before_app_loads do
  # This will get executed after dependencies have been loaded but before your app's classes have loaded.
  Date.add_format(:tranzaction_date, '%m/%d/%y')
Gravatar
Sat May 23 22:00:57 -0700 2009
1
2
3
require "rubygems"
require "spec"
require "dm-core"
Gravatar
Thu May 07 20:22:20 -0700 2009
1
2
3
 
 
require 'rubygems'
Gravatar
Thu May 07 20:22:13 -0700 2009
1
2
3
 
irb(main):001:0> class Foo; end
=> nil
Gravatar
Thu May 07 20:22:07 -0700 2009
1
2
3
 
# stick this in spec_helper.rb
# this will append a <br /> to every logged message, which produces
Gravatar
Thu May 07 20:22:00 -0700 2009
1
2
3
 
require 'rubygems'
 
Gravatar
Thu May 07 20:21:55 -0700 2009
1
2
3
 
require "rubygems"
require "dm-core"