The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0). RSpec is a framework that provides programmers with a Domain Specific Language to describe the behaviour of Ruby code with readable, executable examples that guide you in the design process and serve well as both documentation as tests. This release includes a complete overhaul of the API, which can be summarised as follows: * "context" is now "describe" (we call the blocks behaviours) * "specify" is now "it" (we call the blocks examples) * "should_something" is now "should something" (magic underscores are gone) In order to ease the transition from older specs, RSpec also includes a translator that will translate your old specs. In addition to these major changes, this release has over 60 applied RFEs and bug fixes, many of them related to Spec::Rails - the Ruby on Rails plugin for RSpec. To install RSpec: gem install rspec (you may have to wait a few hours for the gems to replicate) To translate old specs: spec_translator from_dir to_dir (can be the same dir if you use source control and know how to revert) To see the full list of changes: http://rspec.rubyforge.org/rdoc/files/CHANGES.html The RSpec home page: http://rspec.rubyforge.org/ How to use RSpec with Rails: http://rspec.rubyforge.org/documentation/rails/index.html [Regards, The RSpec team]
Hello, I am currently on the HEAD of the svn repository, and I am trying to run the spec_translator. I chmod''d, shabanged, and tried to execute the following: ./vendor/plugins/rspec/bin/spec_translator spec spec And got the following response: : No such file or directory I should note that I''m doing this within a rails directory tree. Is there something I''m missing? Thanks. -Chris On 5/1/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote:> The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0). > > RSpec is a framework that provides programmers with a Domain Specific > Language to describe the behaviour of Ruby code with readable, > executable examples that guide you in the > design process and serve well as both documentation as tests. > > This release includes a complete overhaul of the API, which can be > summarised as follows: > * "context" is now "describe" (we call the blocks behaviours) > * "specify" is now "it" (we call the blocks examples) > * "should_something" is now "should something" (magic underscores are gone) > > In order to ease the transition from older specs, RSpec also includes > a translator that will translate your old specs. > > In addition to these major changes, this release has over 60 applied > RFEs and bug fixes, many of them related to Spec::Rails - the Ruby on > Rails plugin for RSpec. > > To install RSpec: > > gem install rspec (you may have to wait a few hours for the gems to replicate) > > To translate old specs: > > spec_translator from_dir to_dir (can be the same dir if you use > source control and know how to revert) > > To see the full list of changes: > > http://rspec.rubyforge.org/rdoc/files/CHANGES.html > > The RSpec home page: > > http://rspec.rubyforge.org/ > > How to use RSpec with Rails: > > http://rspec.rubyforge.org/documentation/rails/index.html > > [Regards, The RSpec team] > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
I have attached a patch file, which adds a rake task for this translation. As this is my first rake task, it is very likely in need of rework, but hopefully someone finds it useful. On 5/1/07, Chris Hoffman <chris.c.hoffman at gmail.com> wrote:> Hello, > I am currently on the HEAD of the svn repository, and I am trying to > run the spec_translator. I chmod''d, shabanged, and tried to execute > the following: > > ./vendor/plugins/rspec/bin/spec_translator spec spec > > And got the following response: > : No such file or directory > > I should note that I''m doing this within a rails directory tree. Is > there something I''m missing? Thanks. > > -Chris > > On 5/1/07, aslak hellesoy <aslak.hellesoy at gmail.com> wrote: > > The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0). > > > > RSpec is a framework that provides programmers with a Domain Specific > > Language to describe the behaviour of Ruby code with readable, > > executable examples that guide you in the > > design process and serve well as both documentation as tests. > > > > This release includes a complete overhaul of the API, which can be > > summarised as follows: > > * "context" is now "describe" (we call the blocks behaviours) > > * "specify" is now "it" (we call the blocks examples) > > * "should_something" is now "should something" (magic underscores are gone) > > > > In order to ease the transition from older specs, RSpec also includes > > a translator that will translate your old specs. > > > > In addition to these major changes, this release has over 60 applied > > RFEs and bug fixes, many of them related to Spec::Rails - the Ruby on > > Rails plugin for RSpec. > > > > To install RSpec: > > > > gem install rspec (you may have to wait a few hours for the gems to replicate) > > > > To translate old specs: > > > > spec_translator from_dir to_dir (can be the same dir if you use > > source control and know how to revert) > > > > To see the full list of changes: > > > > http://rspec.rubyforge.org/rdoc/files/CHANGES.html > > > > The RSpec home page: > > > > http://rspec.rubyforge.org/ > > > > How to use RSpec with Rails: > > > > http://rspec.rubyforge.org/documentation/rails/index.html > > > > [Regards, The RSpec team] > > _______________________________________________ > > rspec-users mailing list > > rspec-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/rspec-users > > >-------------- next part -------------- A non-text attachment was scrubbed... Name: translator_rake_task.patch Type: text/x-patch Size: 663 bytes Desc: not available Url : http://rubyforge.org/pipermail/rspec-users/attachments/20070501/1e64bef5/attachment.bin
Hello, I am missing in the subversion history: tags/REL_0_9_1/rspec tags/REL_0_9_1/rspec_on_rails Regards, Armin
On 5/1/07, Armin Joellenbeck <armin.joellenbeck at googlemail.com> wrote:> Hello, > > I am missing in the subversion history: >What do you mean? Aslak> tags/REL_0_9_1/rspec > tags/REL_0_9_1/rspec_on_rails > > Regards, Armin > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
> > I am missing in the subversion history: > > > > What do you mean? > > Aslak > > > tags/REL_0_9_1/rspec > > tags/REL_0_9_1/rspec_on_rails > > > > Regards, ArminI want to install rspec and rspec_on_rails with version 0.9.1 as rails plugins. When I took a look in the subversion repository at rubyforge, see http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/tags/?root=rspec I missed the tag REL_0_9_1. The last one is REL_0_9_0_BETA_2. I hope, I have now better explained what I am missing. Regards, Armin
On 5/1/07, Armin Joellenbeck <armin.joellenbeck at googlemail.com> wrote:> > > I am missing in the subversion history: > > > > > > > What do you mean? > > > > Aslak > > > > > tags/REL_0_9_1/rspec > > > tags/REL_0_9_1/rspec_on_rails > > > > > > Regards, Armin > > I want to install rspec and rspec_on_rails with version 0.9.1 as rails > plugins. When I took a look in the subversion repository at rubyforge, > see > > http://viewvc.rubyforge.mmmultiworks.com/cgi/viewvc.cgi/tags/?root=rspec >It looks like the ViewVC on RubyForge is running against a copy of the subversion repo that is about 24 hours old - probably for performance reasons - I don''t know. Anyway, the tag is really there. Proof: svn ls svn://rubyforge.org/var/svn/rspec/tags REL_0_5_10/ REL_0_5_11/ REL_0_5_12/ REL_0_5_13/ REL_0_5_14/ REL_0_5_15/ REL_0_5_16/ REL_0_5_6/ REL_0_5_7/ REL_0_5_8/ REL_0_5_9/ REL_0_6_0/ REL_0_6_1/ REL_0_6_2/ REL_0_6_3/ REL_0_6_4/ REL_0_7_0/ REL_0_7_1/ REL_0_7_2/ REL_0_7_3/ REL_0_7_4/ REL_0_7_5/ REL_0_7_5_1/ REL_0_8_0/ REL_0_8_0_RC1/ REL_0_8_1/ REL_0_8_2/ REL_0_9_0_BETA_1/ REL_0_9_0_BETA_2/ REL_0_9_1/ Are you having problems checking out the tag? Aslak> I missed the tag REL_0_9_1. The last one is REL_0_9_0_BETA_2. > > I hope, I have now better explained what I am missing. > > Regards, Armin > _______________________________________________ > rspec-users mailing list > rspec-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users >
> It looks like the ViewVC on RubyForge is running against a copy of the > subversion repo that is about 24 hours old - probably for performance > reasons - I don''t know.Sorry, my fault to trust an out of date repository viewer. I have checked out version 0.9.1 without problems. Regards, Armin