DG MS; queue works. just need to move some tests over.

This commit is contained in:
danielvincent 2010-06-17 11:32:13 -07:00
parent 4cecb522b6
commit 3371b87fff
4 changed files with 8 additions and 10 deletions

View file

@ -5,18 +5,17 @@ gem 'mongrel'
gem 'thin'
gem 'em-http-request'
gem 'addressable'
gem "mongoid", :git => "http://github.com/durran/mongoid.git"
gem "mongoid", :git => "git://github.com/durran/mongoid.git"
gem "bson_ext", "1.0.1"
gem "haml"
gem "devise", :git => "git://github.com/plataformatec/devise.git"
gem 'roxml', :git => "git://github.com/Empact/roxml.git"
gem "dm-core"
gem 'dm-core'
group :test do
gem 'rspec', '>= 2.0.0.beta.10'
gem 'rspec', '>= 2.0.0.beta.12'
gem 'rspec-rails', ">= 2.0.0.beta.8"
gem "mocha"
gem 'webrat'

View file

@ -1,10 +1,11 @@
class ApplicationController < ActionController::Base
protect_from_forgery
protect_from_forgery :except => :receive
layout 'application'
def receive
puts response.inspect
puts params.inspect
puts "holy boner batman"
render :nothing => true
end
end

View file

@ -1,7 +1,4 @@
require 'active_support'
require 'active_support/core_ext'
require 'roxml'
require 'dm-core'
require 'addressable/uri'
require 'eventmachine'
require 'em-http'

View file

@ -1,6 +1,7 @@
class Curl
def self.post(s)
`curl -X POST -d #{s}`;;
true
end
def self.get(s)