search for: rhnh

Displaying 4 results from an estimated 4 matches for "rhnh".

Did you mean: rhn
2006 Jul 12
4
error when using plugin discover
When I run ./script/plugin discover to register new plugin sites I get stopped at this point with the following error. ... http://svn.northpub.com/plugins/ http://rhnh.svnrepository.com/svn/public/rails/plugins/ (eval):3:in `each'': undefined method `[]'' for nil:NilClass (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/commands/plugin.rb:658:in `scrape'' ... How do I get past this? -- Best Regards, -Larry "Wo...
2006 Sep 23
1
Fwd: [PATCH] Remove warning in expectation.rb
Begin forwarded message: > From: Xavier Shay <xshay at rhnh.net> > Date: 23 September 2006 05:53:57 BDT > To: james.mead at mail.com > Subject: [PATCH] Remove warning in expectation.rb > > Hi James, > Please find below a one line addition to lib/mocha/expectation.rb > to remove the following warning: > > mocha-0.3.2/lib/mocha...
2011 Feb 16
5
validates_inclusion_of with range on ruby 1.9
I found out today that Range#include? behaves differently on 1.9 than on 1.8 ( http://rhnh.net/2009/08/03/range-include-in-ruby-1-9 ) In order to deal with various edge cases, instead of just checking whether range.first <= value <= range.last, in ruby 1.9 include? steps through all the values in the range, checking for equality. This is of course a lot slower - in my case, checki...
2007 Jan 24
0
Mocha 0.4 released
...s to allow mocking of these methods. - Added at_least, at_most, at_most_once methods to expectation. - Allow expects and stubs to take a hash of method and return values. - Eliminate warning: "instance variable @yield not initialized" (patch from Xavier Shay <http://blog.rhnh.net/>). - Restore instance methods on partial mocks (patch from Chris Roos<http://blog.seagul.co.uk/> ). - Allow stubbing of a method with non-word chars in its name (patch from Paul Battley <http://po-ru.com/>). - Removed coupling to Test::Unit<http://www.ruby-doc....