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
let's make a list of sinatra-based apps! | |
apps: | |
- http://github.com/cschneid/irclogger "Sinatra based irclogger.com" | |
- http://github.com/rtomayko/wink "minimalist blogging engine" | |
- http://github.com/foca/integrity "The easy and fun Continuous Integration server" | |
- http://github.com/sr/git-wiki "git-powered wiki" | |
- http://github.com/entp/seinfeld "Seinfeld-inspired productivity calendar to track your public github commits." | |
- http://github.com/karmi/marley "Marley, the blog engine without <textareas>. See in action @ www.restafari.org" | |
- http://github.com/ichverstehe/gaze "Serve up your Markdown files with this tiny Sinatra app!" |
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
# Rack RSpec HTML is a simple Rack application to: | |
## browse your spec and features directories | |
## run *_spec.rb and *.feature files living there. | |
# I only use it for rails, but should not be difficult to extend | |
# INSTALL: copy rack_rspec_html.rb into your #{RAILS_ROOT}/spec directory | |
# START: ruby -Ilib spec/rack_rspec_html.rb | |
# visit http://localhost:9292 to see your specs and features | |
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
# trying out the scenario outlines cucumber feature | |
$ gem list cucumber; gem list webrat | |
*** LOCAL GEMS *** | |
cucumber (0.1.16) | |
webrat (0.4.1) | |
# the feature we are trying features/manage_cukes.feature | |
Feature: Manage cukes | |
In order to use scenario outlines |
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
testing culerity, everything goes really cool, except the memory consume: too many (?) java/ruby processes remain in memory leaving my debian lenny wasted | |
THIS ARE EXPERIMENTS IN PROGRESS, cant seem to repeat the results in a way to provide more accurate testing bed. This seems to happen in one of my projects that extends insoshi http://github.com/joahking/insoshi/tree/master and heavily uses javascript (at the time some broken ones) and Google GMap API | |
after several running of cucumber feature with some javascript errors I end up with java proccesses eating my CPUs | |
$ uname -a; java -version; jruby -v | |
Linux pinar 2.6.26-1-686 #1 SMP Sat Jan 10 18:29:31 UTC 2009 i686 GNU/Linux | |
java version "1.6.0_0" |
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
# | |
# cucumber.yml | |
# | |
# Filter which features are run with each profile by the file extension | |
webrat: --require features/steps/common --require features/support/webrat_env.rb --exclude selenium.feature --format progress | |
selenium: --require features/steps/common --require features/support/selenium_env.rb --exclude webrat.feature --format progress | |
# | |
# features/support/env.rb |
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
# celerity is not getting the ajax response back | |
# this is a stack trace from http://github.com/joahking/cukes/tree/master/ where we are | |
# running cucumber features for webrat together with celerity | |
# please refer to project to see details | |
# we ran this: | |
$ cucumber -p celerity | |
(rdb:1) c | |
When I follow "ajax link" # features/step_definitions/culerity_steps.rb:40 |
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
#!/usr/bin/env jruby | |
# fast script for running javascript unit tests | |
# requires a bit of setup, as it uses jruby | |
# see http://celerity.rubyforge.org/ | |
require "rubygems" | |
require "celerity" | |
module Javascript |
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
h1. We are spec-ing that celerity (HtmlUnit) does not break after a call to GMap API | |
Does specs pass for you??? any help would be appreciated :-) | |
on files you find the web app and the celerity specs. | |
h2. The rack app. | |
celerack.rb is a rack that returns a simple page with a form and 3 buttons: | |
# 1. submit one |
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
insoshi searches_controller_spec.rb fail, are you seing this too? | |
$ git log -n1 | |
commit 8764d0977c15fe360e34b82e54ca76639c73472f | |
Author: Michael Hartl <[email protected]> | |
Date: Thu Apr 9 12:06:26 2009 -0700 | |
Switched to the MIT License | |
$ rake ultrasphinx:configure RAILS_ENV=test |
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
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearch/1.1/' xmlns:gml='http://www.opengis.net/gml' xmlns:georss='http://www.georss.org/georss' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:gCal='http://schemas.google.com/gCal/2005' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/"A04BQH47eCp7I2A9WxJTFEQ."'><id>http://www.google.com/calendar/feeds/calendar%40minuevavida.es/private/full</id><updated>2009-04-23T15:19:11.000Z</updated><category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/g/2005#event'/><title>[email protected]</title><subtitle>Calendario de Reuniones de La Iglesia Evangelica Nueva Vida</subtitle><link rel='alternate' type='text/html' href='http://www.google.com/calendar/[email protected]'/><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.google.com/calendar/feeds/calendar%40minuevavida.es/private/full' |
OlderNewer