Displaying 10 results from an estimated 10 matches for "timcharp".
Did you mean:
timchar
2008 Jan 04
1
patch for html display
All,
I''ve found that the html view for the rspec formatter falls to pieces with
Rails 2.02 and rspec 1.10. Has anyone else run into this trouble?
Here''s a monkey patch that fixes the problem. A more elegant fix would be
in order, but this gets the job done:
Index:
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
===================================================================
---
/Users/timcharper/www/exchange/vendor/plugins/rspec/lib/spec/runner/formatter/text_mate_formatter.rb
(revision 906)
+++
/Users/timcharper/www/...
2008 Dec 31
6
tlsv1 alert decrypt error
I''m using the standard webrick server with puppet, and I just started
getting this today (for no apparent reason).
info: Loading fact custom_facts
info: Retrieving plugins
err: /File[/var/puppet/lib]: Failed to generate additional resources during
transaction: Certificates were not trusted: tlsv1 alert decrypt error
err: /File[/var/puppet/lib]: Failed to retrieve current state of
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails
(rev 7187). When I attempt to run the doc:rails taask (or any doc:*
task), I get the following error:
-- BEGIN --
rake aborted!
uninitialized constant RubyToken::AlreadyDefinedToken
/Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:263:in
2011 Mar 02
6
calbacks on models
Hi, I''m having some strange behavior on callbacks when testing with
RSpec2. On my test, when I create a resource using the #create method
the callbacks related to #before_create are not called. If I go to the
console and I try to type the command Resource.create(client_uri:
"http://example.com") all works fine.
There are no mocks around, and I can''t understand if this
2008 Sep 27
6
Why no rspec-rails gem?
I was getting a little tired of adding 2 plugins every time I create a
new rails project, so I just built an rspec-rails gemspec, and it
works perfectly well. Does anybody know why there isn''t a public
rspec-rails gem?
Tim
2011 Mar 10
1
Rspec single file
Hi Guys,
How can run the single spec file without loading the environment.
I know ruby spec commands will load the total environment.
I want to run the files one by one those are not in same folder and i want
to load test environment once for all 10 files.
Can we run single file through the Rspec:Core:Runner or some other class?
Can you guys please help me?
-Thanks
-------------- next part
2008 May 06
15
Unix Domain Sockets + Fork for improved scalability
Hello All,
Ticket #30 (http://mongrel.rubyforge.org/ticket/30) has a set of
changes to mongrel that I''ve written on behalf of
my employer, Raritan Computer, Inc. Also, these changes are released
under the existing Ruby license used for Mongrel.
Raritan is using mongrel internally for product development and was
not able to get the level of scalability desired due to limitations
2007 Aug 29
0
Patch - bug fix for RedCloth when using !image! and :filter_html in combination
RedCloth.new("!image!", [:filter_html]).to_html will cause the following
error:
"error occurred while evaluating nil.gsub"
This patch will fix it. Can you apply this please to next release of
RedCloth?
Thanks!
Tim
--- redcloth_old.rb 2007-08-29 17:02:51.537099600 -0600
+++ redcloth.rb 2007-08-29 17:04:34.666099600 -0600
@@ -1115,7 +1115,7 @@
2007 Dec 11
0
rspec and rad-rails
Quick announcement:
I wrote a small enhancement to TestUnitRunner.rb to allow RadRails to run
both Test::Unit cases and RSpec examples in the fancy pants GUI runner.
Chris will be merging it in with future releases of RadRails, and we''re
going to work on getting the integration better (some limitations with the
Java GUI component are preventing fuller integration).
More info at the
2008 Nov 04
2
way to create a parent directory if it doesn't exist?
Is there any way to create a parent directory for a file if it doesn''t
exist?
Trying this:
file { "/etc/crontabs/$title.crontab":
source => "puppet:///crontabs/$title.crontab",
ensure => present,
owner => $user,
recurse => true
}
but it''s failing because /etc/crontabs doesn''t exist.
Thanks :)
Tim