Displaying 20 results from an estimated 2000 matches similar to: "Tarball anyone"
2007 Aug 10
3
Using rcov and ouput to screen
I''d like to output my rcov data to the screen in ascii instead of
html...is that possible using the rake spec:rcov command?
Also, is there somewhere that will allow me to search the mail
archives...I''m pretty sure someone else has asked similar questions.
Thanks for the help.
Mike B.
----------------------------------------------------------------
This message was sent
2007 Jun 20
2
Rspec for the svn-less
Here is a short bash script I wrote to install rspec if your just using
the tarballs like me. I probably should have written it in ruby, but
there it is:
#!/bin/bash
RSPEC=rspec-1.0.4-pre-release.tgz
RSPECRAILS=rspec_on_rails-1.0.4-pre-release.tgz
[ -z "$1" ] && {
echo
echo "You must include a pathname"
echo
exit 1
}
if [ -d $1/vendor/plugins ]; then
cd
2007 Sep 27
2
1.0.8 tarball problem.
When I untar 1.0.8 after having downloaded it from rubyforge, I get
these errors:
<snip>
rspec-1.0.8/spec/spec/runner/spec_parser_spec.rb
rspec-1.0.8/spec/spec/spec_classes.rb
gzip: stdin: decompression OK, trailing garbage ignored
rspec-1.0.8/spec/spec/translator_spec.rb
rspec-1.0.8/spec/spec_helper.rb
rspec-1.0.8/UPGRADE
tar: Child returned status 2
tar: Error exit delayed from
2007 Nov 15
2
MissingSourceFile spec/rails/story_adapter.rb
I can see that the file story_adapter.rb isn''t where it is supposed to
be, however, I don''t know where it comes from in the first place.
Can someone give me a hint here?
I installed using:
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install
svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
The above is
2007 Jul 01
1
rspec for the svn-less (ruby version)
A couple of things:
- it is defaulted to 1.0.5, but if there was a "current" I could
probably use that instead.
- it seems like everyone might not use the rspec_on_rails piece...what
do other think?
- there are some other checks I could put in here, suggestions are welcome.
- general code suggestions are welcome as well.
Mike B.
Here is my ruby version:
#!/usr/bin/ruby -w
2007 Jun 18
7
Testing for cross site scripting, etc.
Being new to testing and ruby, are there "standard" tests that can be
done that test for things like cross site scripting and friends?
If not, anyone have ideas on what I might do about testing those sorts
of things?
I''ll be using rails, also.
Mike B.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging
2007 Jul 31
11
helper spec not finding rails core helpers
Hi,
My helper specs were going ok until I added a call to a rails
DateHelper method in one of my helpers
http://api.rubyonrails.com/classes/ActionView/Helpers/
DateHelper.html#M000574
The helper runs fine from my view templates, just dies in the spec test.
I boiled my question down to a simple (not too useful) example. I''m
not sure what I''m missing.
#
2007 Oct 30
7
RSpec Texmate Bundle errors
I''ve the same problem as Alastair when running rspec command :
http://lists.macromates.com/pipermail/textmate/2007-October/022585.html
../spec/mate/runner.rb:34:in `run'': undefined method `parse'' for
Spec::Runner::OptionParser:Class
I fixed this for me by changing the offending line to :
::Spec::Runner::CommandLine.run(argv, STDERR, stdout)
(see
2007 May 30
4
Using mocks
I''ve just started doing TDD/BDD and like the idea of mocks. So I set
out to use them. The doc pages seem great, I setup the mock and then
it just works. Here is what I am trying to do:
Myuser is a non-rails model of user attributes. We are going to be
mocking the connection to the ldap server. The user class has a login
method that connects to the ldap server and if successful,
2007 Sep 17
4
Mongrel clusters are not being started on reboot
I''ve done a clean install of Ubuntu 7.04 server in 2 different
machines and everytime I reboot the machine or manually run /etc/
init.d/mongrel_cluster restart/start the mongrels won''t start correctly.
I have to manually start them by using mongrel_rails cluster::start
from each app folder. I''ve been searching around and it looks like
mongrel has some problems
2007 Nov 15
2
Digest Auth and Mongrel
If I have a low volume application and I want to use DigestAuth to
limit access to the site, is it possible to do this with just
mongrel/mongrel_cluster?
I''m thinking I''m going to have to include Apache to make this work, and
I heard that Rails 2 has methods to do this, but thought I''d ask.
Mike B.
----------------------------------------------------------------
2007 Jul 05
10
Does Puppet ensure that a service is up and running?
Just curious as to the functionality of puppet. Does Puppet ensure that a service is up and running as long as puppet is running?
Ie, I want to make sure ssh is always running, if for some reason ssh get''s shut down, does puppet start it back up when it does it''s config sync run?
Thanks!
---------------------------------
Pinpoint customers who are looking for
2007 Jul 16
3
learning the cron module
OK. I thought I would start by looking at how cron.rb in the puppet
lib/type works because what I''m trying to accomplish is similar.
However, when looking through that, it wasn''t immediately obvious to me
how or when the resulting cron file was getting written out.
Is this getting stored up in some instance var or something? Maybe
getting sent to standard out and some
2007 Aug 29
2
Ideas about learning
I''m looking for some ideas about how to learn how to use puppet. One
of my main concerns is dorking up the machine I''m testing it on.
For this I''m using a VM. So that concern is mainly taken care of.
If some of you experienced puppet users where going to do it all over,
what parts would you try to learn first?
I have successfully been able to get a cronjob added
2007 Jun 08
5
autotest bug?
Autotest is running continuously - even when the files mtimes aren''t
changing. I believe this only happens if using a failures file.
autotest -v gives me:
euclid% autotest -v
loading autotest/rails_rspec
/opt/local/bin/ruby -S script/spec -O spec/spec.opts spec/
controllers/log_entries_controller_spec.rb spec/views/login/
new_spec.rb spec/controllers/login_controller_spec.rb
2007 Jul 20
1
hosting Perl CGI and rails together
I read this article
(http://rubyforge.org/pipermail/mongrel-users/2006-April/000084.html)
and it encouraged me to ask if it was possible to host a rails app that
had parts of it that were perl cgi.
Is there any possibility of getting something like this working using mongrel?
The goal would be to have the rails app control the authentication and
authorization, then execute some of the cgi
2007 Aug 27
2
Puppet Documentation
I''ve been watching the thread where Luke is having to spend time
defending his position about documentation. Can we get off that?
From my perspective, Luke, I''m glad you have documented as much as you
have. I''m one of the few who have been a little stymied by what
documentation is available, but in no way do I believe berating you for
your lack of documentation is a
2007 Sep 08
3
template.expects_render?
Hi All,
I''m trying to make use of template.expects_render, is outlined in
David''s post(http://blog.davidchelimsky.net/articles/2007/06/28/
template-expects_render). I get an undefined method error on
expects_render. I made sure I had the 1.0.8 gem as well as
reinstalling the plugin and redoing the bootstrap. Still no luck. So
I created a clean project, installed the
2007 Aug 13
3
RSpec-1.0.8
The RSpec Development Team is pleased to announce the release of RSpec-1.0.8.
RSpec 1.0.6 is the "holy cow, batman, it''s been a long time since we
released and there are a ton of bug fixes, patches and even new
features" release. RSpec 1.0.7 and 1.0.8 deal with a regression
introduced in 1.0.6 and a hiccup in releasing 1.0.7, respectively.
== RSpec
RSpec is a Behaviour Driven
2007 Oct 11
2
Incompatibility Issues after updating CURRENT
Hi,
I''m using piston to manage rspec and rspec_on_rails in vendor/plugins.
----
~/work/simplify_md $ piston st vendor/plugins/
vendor/plugins/rspec
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec)
vendor/plugins/rspec_on_rails
(svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails)
----
After I ''piston update''d rspec and