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

Tim H. wrote:

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


rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Hey Tim,
I actually added a ‘gem’ task to the rspec-rails project a while ago…
It was soon deprecated in favor of using Hoe however. Either way though
rspec-rails on github allows you to build the gem yourself using rake
and install it locally. I think the reason for not making it an
official gem is that it really meant to be a rails plugin and the fact
that it is usually a good idea to freeze both rspec and rspec-rails in
your app to avoid dependency problems between teams and projects. I
suppose with the new rails gem management feature those reasons are
somewhat mitigated… I think it would be a good idea to make the
rspec-rails available as a gem as well because I have needed it as a gem
in the past for merb apps. (You can reuse some of the AR specific
helpers in other non-rails AR projects.) So +1 on making it a public
gem (at least just on github.)

-Ben

On Sat, Sep 27, 2008 at 3:11 PM, Ben M. [email protected] wrote:

http://rubyforge.org/mailman/listinfo/rspec-users
suppose with the new rails gem management feature those reasons are
somewhat mitigated… I think it would be a good idea to make the
rspec-rails available as a gem as well because I have needed it as a gem
in the past for merb apps. (You can reuse some of the AR specific
helpers in other non-rails AR projects.) So +1 on making it a public
gem (at least just on github.)

We are definitely planning to release an rspec-rails gem, but not
until we do a release :slight_smile:

With Rails-2.2.0 around the corner, we’ll release shortly after that
(once we’re able to resolve any incompatibilities with edge rails).

Cheers,
David

Tim H. [email protected] writes:

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?

I don’t know if I should be ashamed to admit this or not…but I use the
rspec-rails gem :open_mouth: It’s not available from RubyForge because we haven’t
had a release since it’s been added, afaik. Build it from trunk.

Pat

in
until we do a release :slight_smile:

With Rails-2.2.0 around the corner, we’ll release shortly after that
(once we’re able to resolve any incompatibilities with edge rails).

Cheers,
David

Fantastic news, thanks to both of you. Until further notice, I’ll use
the Hoe route (why does that sound dirty?)

Tim

On Sun, Sep 28, 2008 at 3:54 PM, Pat M. [email protected] wrote:

Tim H. [email protected] writes:

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?

I don’t know if I should be ashamed to admit this or not…but I use the
rspec-rails gem :open_mouth: It’s not available from RubyForge because we haven’t
had a release since it’s been added, afaik. Build it from trunk.

I released 1.1.5 yesterday, including rspec-1.1.5 and rspec-rails-1.1.5
gems.

Cheers,
David

I released 1.1.5 yesterday, including rspec-1.1.5 and rspec-
rails-1.1.5 gems.

It works fantastic. Thanks for a quality release. I’ve freed up
about 100 of megs on my hard drive already.