similar to: application plugin architecture

Displaying 20 results from an estimated 50000 matches similar to: "application plugin architecture"

2007 Sep 24
3
rcov including ruby lib
When I run spec:rcov on my continuous integration server, the rcov report is including many other libraries in the report, including some from standard lib and gems. Has anyone else had this problem or have any ideas for how to limit it just to coverage of code in app/ and lib/? Thanks, Brandon -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig
2006 Nov 21
6
Spec Naming (was: Rspec Brown Bag)
Thanks for posting your specdoc, Brandon -- they''re a great example. On 11/21/06, Brandon Keepers <bkeepers at gmail.com> wrote: > > A user purchasing items > - should create an order > - should add to the user''s orders > - should create line items > - should set line item amount to the item''s price > - should set line item amount to 0 if
2006 Dec 06
1
shared hosting for an ISP
A hosting company has contacted me and is interested in providing Ruby on Rails hosting for their customers. They provide both dedicated and shared hosting. I know there are a lot of shared hosts that support Rails, but most of them (that I''ve seen) are using mod_fastcgi, or a similar setup. I''m curious what people think about accomplishing this with mongrel with
2007 Jun 08
4
Still recommend the plugins over the gems?
> We strongly recommend you install RSpec and Spec::Rails as plugins > (as opposed to relying on an RSpec gem). See special instructions > below if you want to install the HEAD of the trunk, or an older > version. (from http://rspec.rubyforge.org/documentation/rails/install.html) Is this still the case? Why? Is the rspec_on_rails available in gem form? Does rspec_generator
2007 May 21
4
Spec''ing redirect with arbitrary parameters
I''ve got the following expectation: response.should redirect_to(:action => "new", :video_id => "1", :process_id => "2", :origin_id => "3") that fails with this error message: expected redirect to {:video_id=>"1", :process_id=>"2", :origin_id=>"3", :action=>"new"}, got redirect to
2007 Apr 26
2
looking for a worker that''s gone
In my app, I store the job key when a worker is fired off and then check back in periodically to see how its doing. The workers delete themselves when they''re done. I would expect when I try to get a worker that has been deleted, I would get nil or a proper exception, but instead I get: >> MiddleMan.worker(''foobar'') NoMethodError: undefined method
2006 Nov 10
3
Specifying views
I''m trying to spec my views with 0.7.1 on edge rails per the instructions on the rspec site [1] and David''s blog [2], but I''m not having much luck. Here''s my spec in specs/views/accounts/ new_view_spec.rb: require File.dirname(__FILE__) + ''/../../spec_helper'' context "The new account form" do specify "should have an
2007 Oct 18
4
Mocking models provided in Rails plugins
Hey folks, How do I mock a model that is given to me by a Rails plugin? I''m trying to mock Session from the restful_authentication plugin but I get a number of errors telling me RSpec doesn''t recognize Session. NameError in ''SessionsController handling GET /sessions/new should be successful'' uninitialized constant Session An example of my usage:
2007 Apr 18
0
[PATCH] Update lguest's patch code for new paravirt patch architecture
The new patching code means that we don't actually have to do as much work in lguest's patcher. We use paravirt_patch_default() for cases we don't want to patch inline, which automatically handles the "patch iret to use a direct jump" case. There's no measurable effect on lguest's virtbench scores tho. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> ---
2007 Apr 18
0
[PATCH] Update lguest's patch code for new paravirt patch architecture
The new patching code means that we don't actually have to do as much work in lguest's patcher. We use paravirt_patch_default() for cases we don't want to patch inline, which automatically handles the "patch iret to use a direct jump" case. There's no measurable effect on lguest's virtbench scores tho. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> ---
2007 Oct 10
9
Rspec Textmate bundle errors
Hello all, Having a problem with the Rspec textmate bundle and having quizzed the guys in #textmate to no success about the errors, I''ve been suggested to try you guys! When I run the "Run Behaviour Description" command, I get the following errors: /Users/alastair/Library/Application Support/TextMate/Bundles/ RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in
2007 Dec 07
4
strange error on mock proxy
I''m banging my head over this really strange error in a view test when I run "rake spec". The weird thing is that I don''t get the error when I run the spec file by itself. Here is the spec (I know, fixtures are the devil): describe "/units/new.html.erb here" do fixtures :units, :accounts, :groups it_should_behave_like
2008 Jul 24
3
Delivery notifications
I'm working on an application that is backed by Postfix 2.3.8 and Dovecot 1.0.13, configured with virtual domains, for handling messaging. I need to be able to send the notification (such as "You've received a new message on SomeAwesomeService. Click here to check it out", It's evil, I know) to a different email address, such as a mobile device. Eventually, we want
2007 Apr 28
1
backgroundrb and fastthread
I was just curious if anyone noticed any significant performance improvements using fastthread (or Ruby 1.8.6) with BackgrounDRb Brandon -------------- next part -------------- A non-text attachment was scrubbed... Name: PGP.sig Type: application/pgp-signature Size: 186 bytes Desc: This is a digitally signed message part Url :
2007 Jun 20
1
RSpec getting too intimate?
I have a new blog post about some thoughts that I''ve had as I''ve been using rspec lately. I would love to hear your thoughts: http://opensoul.org/2007/6/20/rspec-is-getting-too-intimate-with- my-code Brandon
2009 Mar 03
1
shoulda tested better
We''ve made quite a few contributions in our facebooker fork (http://github.com/collectiveidea/facebooker ), but unfortunately, one thing some of our contributions have in common with many others is the lack of testing. I want to change that. I''d like to help lead an effort to make the facebooker tests better. One thing that I think would help is a little better
2010 Sep 29
4
Best image upload plugin?
Hey everyone, I''ve been dealing with Rails 3, Paperclip and Windows 7 for a few nights now and don''t feel like I''m actually getting anywhere. I''ve hit config issue after config issue and it''s a bit of a nightmare. Can anyone recommend any other gems that will accomplish the same thing? Thanks, Brandon -- Posted via http://www.ruby-forum.com/. --
2009 Sep 23
2
Segfault in quota-fs plugin
Hi all, We recently attempted to update our Dovecot installation to version 1.2.5. After doing so, we noticed a constant stream of crash messages in our log file: Sep 22 15:58:41 hostname dovecot: imap-login: Login: user=<USERNAME>, method=PLAIN, rip=X.X.X.X, lip=X.X.X.X, TLS Sep 22 15:58:41 hostname dovecot: dovecot: child 6339 (imap) killed with signal 11 (core dumps disabled) We rolled
2006 Sep 26
0
Code coverage of a rails plugin
Guys I''ve been struggling with this one for a couple of hours, and nothing seems to work here, any advice would be duly appreciated... Background: I''m busy working on a plugin called "shared_models", allowing you to easily share models between different applications, running different database or on the same database. The plugin is nearly complete, offering a
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
I found Brandon''s 2.3 branch for Facebooker and thought I''d give that a try to get around the problems I ran into starting script/server with Rails Edge. Unfortunately, no go. The error I get on start up is: > /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:440:in `load_missing_constant'': uninitialized > constant