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 Harper 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 > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-usersHey 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 Mabey <ben at benmabey.com> wrote:> Tim Harper 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 >> rspec-users at rubyforge.org >> 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.)We are definitely planning to release an rspec-rails gem, but not until we do a release :) 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> > -Ben > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > 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.) > > We are definitely planning to release an rspec-rails gem, but not > until we do a release :) > > 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, > DavidFantastic news, thanks to both of you. Until further notice, I''ll use the Hoe route (why does that sound dirty?) Tim
Tim Harper <timcharper at gmail.com> 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 :O It''s not available from RubyForge because we haven''t had a release since it''s been added, afaik. Build it from trunk. Pat
On Sun, Sep 28, 2008 at 3:54 PM, Pat Maddox <pergesu at gmail.com> wrote:> Tim Harper <timcharper at gmail.com> 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 :O 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> > Pat