Re: [rspec-users] Missing method implementation_backtrace

2008-11-20 Thread rubyphunk
Hi,

same problem here. I always used "example.implementation_backtrace" in
a custom formatter to find out to which spec file a passing example
belongs to.
Is there another way to get the file path?


lg // andreas


On 20 Nov., 20:37, Scott Taylor <[EMAIL PROTECTED]> wrote:
> On Nov 20, 2008, at 2:35 PM, David Chelimsky wrote:
>
>
>
> > On Thu, Nov 20, 2008 at 12:44 PM, Ben Fyvie <[EMAIL PROTECTED]
> > > wrote:
> >> We just upgraded from rspec version 1.1.4 to rspec version 1.1.11  
> >> and found
> >> that this no longer exists:
>
> >> # File lib/spec/example/example_methods.rb, line 84
>
> >>      def implementation_backtrace
>
> >>        eval("caller", @_implementation)
>
> >>      end
>
> >> I don't really know what this method is for and don't really care  
> >> that it is
> >> gone; however, Netbeans 6.5 does care that it is gone and is not  
> >> able to run
> >> tests without it.  As a temporary band-aid I have added the method  
> >> back
> >> locally.  I was wondering if someone could enlighten me as to why  
> >> the method
> >> was removed?
>
> > Unfortunately we don't yet have a formal API for tool vendors to use,
> > so NetBeans apparently used a method that we view as internal and it
> > got moved or renamed during a refactoring.
>
> > This is something we plan to address over the coming months:
> > formalizing an API for extension and tool use.
>
> Also, check out this:
>
> http://metaclass.org/2008/6/7/calling-in-the-dark
>
> Scott
>
> ___
> rspec-users mailing list
> [EMAIL PROTECTED]://rubyforge.org/mailman/listinfo/rspec-users
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


[rspec-users] Backtrace for passing specs

2008-11-21 Thread rubyphunk
Hi,

I'm using example.implementation_backtrace in a custom formatter to
get the path of the file a passing spec belongs to. Following rspec on
github I saw that implementation_backtrace is now deprecated and
replaced by example.backtrace. Sadly it always returns nil for passed
specs. So I had a look at the source and found that backtrace only
gets assigned if line_number was set.

Can anybody tell me why this was changed to only work with line_number
set and if there is another way to get the file a spec belongs to.


Thanks for your help!


lg // andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


[rspec-users] [ANN] RSpactor 1.0.1

2009-01-02 Thread rubyphunk
Hi all,

I'm happy to announce the first public RSpactor release 1.0.1.
RSpactor is an autotest/autospec like Mac OS X 10.5 gui application
that takes care  of your rspec examples. It watches for changes and
runs these files.

You can download 1.0.1 here: 
http://rspactorapp.com/assets/downloads/rspactor-1_0_1.dmg
Read the blog post for more information:
http://rubyphunk.com/articles/2009/01/02/happy-new-year-rspactor-1-0-1


lg // andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


[rspec-users] [ANN] RSpec mailing list Google Group mirror

2008-02-21 Thread rubyphunk
Hi.
I've created a Google Group 'rspec' that acts as a mirror to the RSpec-
users mailing list.
You can find the group at http://groups.google.com/group/rspec.


lg
-- andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


[rspec-users] [ANN] RSpactor 0.0.2 : autorun your spec files

2008-03-11 Thread rubyphunk
Hi all. I want to introduce RSpactor and its "draft" release 0.2.0.

RSpactor is a little command line tool to automatically run your
changed specs (much like autotest). As you may expect, it concentrates
on the use of RSpec. It was especially designed to use filesystem
events like FSEvent on Leopard (Mac OS X 10.5) instead of permanently
polling a directory structure. RSpactor is currently only working on
Mac OS 10.5, but I'm very confident that the next version of RSpactor
will work on Linux boxes, too.

I would really appreciate if you give it try: "sudo gem install
rspactor",
to help me find bugs and make it a good working application.

You can read the rest of this introduction at:
http://rubyphunk.com/2008/3/11/hello-world-introducing-rspactor
Project page and bug tracker: http://rubyforge.org/projects/rspactor/


bye,
  - andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


[rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-28 Thread rubyphunk
Hey all.

I've just release a first preview/beta of the upcoming RSpactor.app; a
spec runner for Mac OS X Leopard. This is just some kind of test
version and I'm looking for people who love to sit on the edge :) I
need some help to find bugs and polish the interface/interaction.

RSpactor is basically a tool like 'autotest' but runs on Cocoa and
focuses on RSpec. Instead of constantly polling your files it uses
FSEvents to listen to changes in your project directory. Growl support
is build in..

So if you are interested have a look at:
http://rubyphunk.com/2008/4/28/ann-rspactor-0-9-10-some-people-call-it-beta


thanks.
- Andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-29 Thread rubyphunk
If you have setup the binary as described in INSTALL.txt you can even
run rspactor from command line.
'cd' in your project directory and run 'rspactor'..

- andreas


On 29 Apr., 05:03, "Zach Dennis" <[EMAIL PROTECTED]> wrote:
> Just put a directory path to a project in the text field, and click Run. It
> will do the rest as far as I can tell,
> Zach
>
>
>
> On Mon, Apr 28, 2008 at 8:46 PM, Corey Haines <[EMAIL PROTECTED]> wrote:
> > Well, I got it running (seemingly), but I'm not 100% sure how to use it.
> > -Corey
>
> > On Mon, Apr 28, 2008 at 8:08 PM, Corey Haines <[EMAIL PROTECTED]>
> > wrote:
>
> > > I'm using rspactor now over autotest. I'll give the beta a shot.
> > > -Corey
>
> > > On Mon, Apr 28, 2008 at 3:51 PM, rubyphunk <[EMAIL PROTECTED]>
> > > wrote:
>
> > > > Hey all.
>
> > > > I've just release a first preview/beta of the upcoming RSpactor.app; a
> > > > spec runner for Mac OS X Leopard. This is just some kind of test
> > > > version and I'm looking for people who love to sit on the edge :) I
> > > > need some help to find bugs and polish the interface/interaction.
>
> > > > RSpactor is basically a tool like 'autotest' but runs on Cocoa and
> > > > focuses on RSpec. Instead of constantly polling your files it uses
> > > > FSEvents to listen to changes in your project directory. Growl support
> > > > is build in..
>
> > > > So if you are interested have a look at:
>
> > > >http://rubyphunk.com/2008/4/28/ann-rspactor-0-9-10-some-people-call-i...
>
> > > > thanks.
> > > > - Andreas
> > > > ___
> > > > rspec-users mailing list
> > > > [EMAIL PROTECTED]
> > > >http://rubyforge.org/mailman/listinfo/rspec-users
>
> > > --
> > >http://www.coreyhaines.com
> > > The Internet's Premiere source of information about Corey Haines
>
> > --
> >http://www.coreyhaines.com
> > The Internet's Premiere source of information about Corey Haines
>
> > ___
> > rspec-users mailing list
> > [EMAIL PROTECTED]
> >http://rubyforge.org/mailman/listinfo/rspec-users
>
> --
> Zach Dennishttp://www.continuousthinking.com
>
> ___
> rspec-users mailing list
> [EMAIL PROTECTED]://rubyforge.org/mailman/listinfo/rspec-users
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread rubyphunk
Hi.

On 30 Apr., 14:49, Glenn Ford <[EMAIL PROTECTED]> wrote:
> Works for me!  However I have a feature request.  Currently I exclude  
> certain files like so:
> Autotest.add_hook :initialize do |at|
>    %w{this_kind that_kind .git vendor .blah}.each {|exception|  
> at.add_exception(exception)}
> end
>
> Will there be a way to do something like this with RSpactor?  I like  
> having the ability to ignore certain files.  Some I skip because they  
> don't work with my setup and to use RSpactor I have to comment out the  
> whole file and remember not to accidentally commit it :)

Yes. This is one of the features I want to implement before the 1.0
release.

- andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] ANN: RSpactor 0.9.10 (aka. beta)

2008-04-30 Thread rubyphunk
On 30 Apr., 15:54, Ben Mabey <[EMAIL PROTECTED]> wrote:
> This is great.  I have been using it since Monday and I am loving it.  
> Is there a mailing list setup just for RSpactor?

Since shortly :)
http://groups.google.com/group/rspactor

- andreas
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] Do you remember RSpactor?

2008-08-14 Thread rubyphunk
On 8 Aug., 19:11, "Mark Wilden" <[EMAIL PROTECTED]> wrote:
> I've been using RSpactor (the gem version, not the GUI) fairly happily for a
> month or so. However, when trying the GUI version out, it became clear that
> RSpactor loads things differently than 'rake spec'. Today, using the gem
> version, I found that I get a MissingSourceFile trying to require json.
> 'rake spec' works fine.

RSpactor loads things the same way as 'rake spec' does. The problem
comes from the environment RSpactor.app is running in.
I haven't figured out yet how to change that..

> So I'd suggest that RSpactor is not quite ready for primetime, in case
> anyone's thinking of using it.

You're right RSpactor is not a final release, its a first beta. So if
you encounter problems please report them to the lighthouse project
http://rspactor.lighthouseapp.com or simply fork, fix, commit :)
However, you can use RSpactor already for your daily work. I do, and a
lot of other people too.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users


Re: [rspec-users] RSpactor: Black is the new green?

2008-08-14 Thread rubyphunk
On 8 Aug., 17:55, Jay Levitt <[EMAIL PROTECTED]> wrote:
> Failing specs do show up as red, but passing ones show up as black in the
> lefthand drawer (though the "bar" is green in the main display pane) - known
> bug?

No its not a bug. The lefthand drawer shows all your spec files. The
right, main view shows up the content of a specific file. I don't
won't _passing files_ to be shown up as green because its distracting
colorful.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users