<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Meta Bates &#187; rspec</title>
	<atom:link href="http://www.metabates.com/tag/rspec/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metabates.com</link>
	<description>The technical ramblings of Mark Bates.</description>
	<lastBuildDate>Sun, 15 Aug 2010 12:49:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CoverMe &#8211; Code Coverage for Ruby 1.9</title>
		<link>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/</link>
		<comments>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 17:49:44 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rcov]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=343</guid>
		<description><![CDATA[Ruby 1.9(.2) is an amazing language to develop applications in. It&#8217;s faster, more powerful, cleaner, and a huge improvement over Ruby 1.8.x. Because of those reasons every Ruby developer should move to this exciting new version of our language. When making a move of this size it&#8217;s important to have the right tools to help [...]]]></description>
			<content:encoded><![CDATA[<p>Ruby 1.9(.2) is an amazing language to develop applications in. It&#8217;s faster, more powerful, cleaner, and a huge improvement over Ruby 1.8.x. Because of those reasons every Ruby developer should move to this exciting new version of our language.</p>
<div id="_mcePaste">When making a move of this size it&#8217;s important to have the right tools to help us along. Unfortunately, one of the most useful tools as a Ruby developer, <a href="http://github.com/relevance/rcov">RCov</a>, does not work with Ruby 1.9.</div>
<div id="_mcePaste">RCov, for those unfamiliar analyzes your code and tells you which part of your code was not executed. This is INCREDIBLY useful when hooked up to your test suite. While, it&#8217;s not the only metric you should use when determining how good your test coverage it, it certainly is a great first step to point out exactly which parts of your code haven&#8217;t been touched at all!</div>
<p>Enter <a href="http://github.com/markbates/cover_me">CoverMe</a>.</p>
<h2>History</h2>
<p>While working on a Ruby 1.9/Rails 3 project, and loving everything about it (except for the lack of RCov), I came across a <a href="http://engineering.attinteractive.com/2010/08/code-coverage-in-ruby-1-9/">post</a> by Aaron Patterson (of <a href="http://github.com/tenderlove/nokogiri">Nokogiri</a> fame). In this post he quickly outlined a very basic coverage tool using the new built-in Coverage module in Ruby 1.9.</p>
<p>After spending a morning playing with it, I was quickly able to grow the idea into something useful for the project. Later that day the company I was consulting for (<a href="http://www.biddingforgood.com">BiddingForGood.com</a>), and in particular their chief architect, <a href="http://twitter.com/stuartmg">Stuart Garner</a>, told me to take a day or two and clean it up and release it for the world to use, and so <a href="http://github.com/markbates/cover_me">here</a> it is.</p>
<h2>Features</h2>
<p>Here is a brief overview of the features of CoverMe:</p>
<h3>Index Page</h3>
<ul>
<li>Sortable column headers (File, Lines, Lines of Code, Tested %).</li>
<li>Searching/filtering by file name.</li>
<li>Filtering by coverage percent.</li>
<li>Color coded list of files to quickly see which ones are 100% covered, &gt; 90% covered, or less than 90% covered.</li>
<li>Large color coded average coverage percent, for quick reference.</li>
</ul>
<h3>Detail Page</h3>
<ul>
<li>Line by line coverage report</li>
<li>Color coded lines to quickly see which lines where executed and which ones were not.</li>
<li>Side by side viewing with the corresponding test/spec file (if one exists).</li>
</ul>
<p>See the <a href="http://github.com/markbates/cover_me">README</a> file for more information on installation and usage.</p>
<h2>Thanks</h2>
<p>I would just quickly like to give another quick thanks to Aaron Patterson for pointing out the Coverage module in Ruby 1.9 and inspiring this, hopefully, helpful little gem. Also another big thanks to Stuart Garner for pushing me to package this up and release it to the world.</p>
<h2>Screenshots</h2>

<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/detail_side_by_side/' title='detail_side_by_side'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/detail_side_by_side-150x150.png" class="attachment-thumbnail" alt="detail_side_by_side" title="detail_side_by_side" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/detail/' title='detail'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/detail-150x150.png" class="attachment-thumbnail" alt="detail" title="detail" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index_filter/' title='index_filter'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index_filter-150x150.png" class="attachment-thumbnail" alt="index_filter" title="index_filter" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index_search/' title='index_search'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index_search-150x150.png" class="attachment-thumbnail" alt="index_search" title="index_search" /></a>
<a href='http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/index/' title='index'><img width="150" height="150" src="http://www.metabates.com/wp-content/uploads/2010/08/index-150x150.png" class="attachment-thumbnail" alt="index" title="index" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2010/08/13/coverme-code-coverage-for-ruby-1-9/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Testing is NOT an Option</title>
		<link>http://www.metabates.com/2010/07/01/testing-is-not-an-option/</link>
		<comments>http://www.metabates.com/2010/07/01/testing-is-not-an-option/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 14:04:38 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[cucumber]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://www.metabates.com/?p=337</guid>
		<description><![CDATA[Five years ago I left the world of contracting and reentered the world of the full time employee, and I enjoyed every minute of it (well, almost). Now fast forward five years and I find myself once again at a crossroads. Do I continue on as an FTE or do I become a contractor, and [...]]]></description>
			<content:encoded><![CDATA[<p>Five years ago I left the world of contracting and reentered the world of the full time employee, and I enjoyed every minute of it (well, almost). Now fast forward five years and I find myself once again at a crossroads. Do I continue on as an FTE or do I become a contractor, and play the field, so to speak? Looks like I&#8217;m going to go with the hired gun route for a little while, but that&#8217;s not really the point of this post.</p>
<p>During the past week or so I&#8217;ve spoken with many great companies and people. I&#8217;ve been fortunate enough to have a high degree of interest in what I can bring to the table. During those discussions I talked with a really nice guy at a what seems to be a really cool company, I won&#8217;t name names, because this isn&#8217;t about either the person or the company, but rather something the engineer said during our phone conversation that got me to thinking.</p>
<p><img class="alignleft" title="Failure Testing" src="http://www.commercialventvac.com/finao/failure_testing.jpg" alt="" width="400" height="240" />&#8220;We don&#8217;t have any tests because I couldn&#8217;t convince the company to allocate the time for them.&#8221; That statement really hung with me. After I got off the phone I started thinking really hard about that statement, and all I could think of was how testing is not an option and people shouldn&#8217;t need to be convinced to have time allocated to them.</p>
<p>As developers it is our responsibility to insist on testing. Always include testing in your time estimates. Never give the client (or your company) an option that includes a time estimate without testing. If a feature takes 2 days to code and a day to write tests, then your estimate is 3 days, never 2. You should never say, &#8220;Well, I can get it done in two days if I don&#8217;t write any tests.&#8221; That&#8217;s just an unacceptable thing to say. What you should be saying is, &#8220;That feature will take three days to code&#8221;.</p>
<p>I don&#8217;t feel I should sit here and tell you all the reasons why you should test, you should know them already, and frankly, they&#8217;re all very obvious! But, if you need a few bullet points to &#8216;convince&#8217; your client, here are a few:</p>
<ul>
<li>Less bugs &#8211; The more tests you have the less bugs you will have. It&#8217;s just a fact. You won&#8217;t have 100% bug free code, that&#8217;s a nearly impossible goal, but you highly reduce the likely hood that as soon as you get your code into production your users will find all the breaking points of your code.</li>
<li>Better maintainability, means faster feature turn around &#8211; When you have a large test suite it means adding, updating, or even removing features because a whole lot easier, which means it SAVES time! Why? Simple, you don&#8217;t have to go through and manually test every aspect of your code to make sure you didn&#8217;t break something elsewhere by adding that validation, or by refactoring that bit of code, etc&#8230; That translates into real $ savings.</li>
<li>Test driven development saves time &#8211; this isn&#8217;t quite the same as my last bullet point. Imagine, if you will, you are writing a four step wizard in your application. If you write a few test scripts using something like Cucumber first before you write your code you can simply keep re-running those to make sure your code is working. If you don&#8217;t have those test scripts written then you continually have to keep going to a browser and entering all the information in each of the steps so you can test something in step four. Which one do you think takes longer, having a few test scripts you can run, or manually going through the four page wizard each time you make a change?</li>
<li>It&#8217;s an investment &#8211; thinking of having test scripts like owning a house. When you don&#8217;t have tests and you just keep testing in the browser or the command line what you are doing is a kin to &#8220;renting&#8221;. There is money being spent, but at the end of the day you have nothing to show for it. You&#8217;ve spent hours &#8220;testing&#8221;, but tomorrow when you come in you have to do it all over again. When you spend those hours writing tests you are actually &#8220;buying&#8221; something. You have something to show for that time and money you&#8217;ve spent. Tomorrow, next week, next month, next year, those scripts will still be there, they&#8217;ll still be working for you, giving  you a return on your investment.</li>
</ul>
<p>Well, I hope I have hopefully made a case to you the engineer as to why you should insist on testing. It&#8217;s the right thing to do, for you, for your application and for you client. If if anyone tries to give you grief about it, send them my way, I&#8217;ll sort em out!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2010/07/01/testing-is-not-an-option/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configatron 2.2.0 Released, now with Ruby 1.9 and JRuby support!</title>
		<link>http://www.metabates.com/2009/01/01/configatron-220-released-now-with-ruby-19-and-jruby-support/</link>
		<comments>http://www.metabates.com/2009/01/01/configatron-220-released-now-with-ruby-19-and-jruby-support/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 16:31:00 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[cachetastic]]></category>
		<category><![CDATA[configatron]]></category>
		<category><![CDATA[genosaurus]]></category>
		<category><![CDATA[jruby]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[multiruby]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[ruby 1.9]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=210</guid>
		<description><![CDATA[Happy New Year everyone! With the help of the absolutely amazing multiruby library and an edge version of rspec from GitHub, the latest version of Configatron now supports JRuby 1.1.6 and Ruby 1.9.1rc1. There are no other functional changes to the library, so it&#8217;s a full drop in replacement for vesion 2.1.6. I highly encourage [...]]]></description>
			<content:encoded><![CDATA[<p>Happy New Year everyone!</p>
<p>With the help of the absolutely amazing <a href="http://blog.robseaman.com/2008/12/20/switching-between-ruby-1-8-1-9-with-multiruby" target="_blank">multiruby</a> library and an edge version of rspec from GitHub, the latest version of Configatron now supports JRuby 1.1.6 and Ruby 1.9.1rc1. There are no other functional changes to the library, so it&#8217;s a full drop in replacement for vesion 2.1.6.</p>
<p>I highly encourage everyone to checkout multiruby and start upgrading their libraries so we can all move to 1.9 quicker, which means more speed and more power. Once we&#8217;re all in 1.9 land we can really make use of some of the amazing features it provides.</p>
<p>Anyway, I&#8217;ll be working on upgrading all my libraries and applications to work on 1.8 and 1.9, and hopefully JRuby, over the next couple of months. So be on the look out for a new versions of Cachetastic, Genosaurus [update: Genosaurus already works with 1.9 and JRuby. Hoorah!], and, of course, Mack.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2009/01/01/configatron-220-released-now-with-ruby-19-and-jruby-support/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Release 0.8.2</title>
		<link>http://www.metabates.com/2008/11/30/release-082/</link>
		<comments>http://www.metabates.com/2008/11/30/release-082/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 02:57:12 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[addressable]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[deferred? routes]]></category>
		<category><![CDATA[ebb]]></category>
		<category><![CDATA[english]]></category>
		<category><![CDATA[Ezra Zygmuntowicz]]></category>
		<category><![CDATA[facets]]></category>
		<category><![CDATA[gems]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[merb]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[thin]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=206</guid>
		<description><![CDATA[Hey there folks, sorry for the long wait for this release, but it&#8217;s here. It&#8217;s been a long November for yours truly. I&#8217;ve had to find a new job. I&#8217;ve had pneumonia. We, at least in America, have celebrated Thanksgiving. And, of course, who can forget RubyConf 2008? So with that said, what&#8217;s in 0.8.2? [...]]]></description>
			<content:encoded><![CDATA[<p>Hey there folks, sorry for the long wait for this release, but it&#8217;s here. It&#8217;s been a long November for yours truly. I&#8217;ve had to find a new job. I&#8217;ve had pneumonia. We, at least in America, have celebrated Thanksgiving. And, of course, who can forget RubyConf 2008?</p>
<p>So with that said, what&#8217;s in 0.8.2? Honestly, not a whole lot. There are a couple of bug fixes, a button_to_remote (think submit_to_remote in Rails) helper, and deferred routes. More on deferred routes in a moment, as it&#8217;s actually a pretty cool feature that only Mack and Merb share. And finally there is bundled gems.</p>
<h3>Bundled Gems</h3>
<p>What do I mean I say &#8216;bundled gems&#8217;? Well, because of the rather large number of gems that get installed with Mack, and because of some gem version dependency issues, Mack is now bundling it&#8217;s third party dependency gems inside itself. For example, mack-facets used to rely on the gems &#8216;facets&#8217; and &#8216;english&#8217;. Those gems are now bundled inside the mack-facets gem and now longer need to be downloaded and installed by end users. This should make installing Mack super easy. It should also make dealing with having multiple versions of Mack installed on your system easier to deal with and maintain.</p>
<h3>Deferred? Routes</h3>
<p>So what are deferred routes? Ezra wrote a really great write up back in <a href="http://brainspl.at/articles/2008/04/18/deferred-requests-with-merb-ebb-and-thin" target="_blank">April</a>. The idea is simple, with newer web servers such as Thin and Ebb, you can tell them to spawn a new thread to handle particular requests, such as long running processes like file uploads. This can really help speed things up as server can process regular requests using an event machine model, which is very fast, but can be really slow and block the server for longer processes. Now those processes can spawn into their own threads and not block the server.</p>
<p>In Mack 0.8.2 you can mark your routes with a deferred? =&gt; true option which will trigger this behavior. It&#8217;s much more advanced than the similar feature that can be found in Merb, which requires a separate configuration for your deferred actions, and the urls have to be &#8216;hard coded&#8217;. Mack let&#8217;s you use all the dynamic power of your routes, like you would want to. It&#8217;s just another option on the route itself. For a great tutorial on using deferred routes, check out the following page on www.mackery.com:</p>
<p><a href="http://www.mackery.com/routing/deferred_routes">http://www.mackery.com/routing/deferred_routes</a></p>
<h3>Upgraded Dependencies</h3>
<p>A few gems have been upgraded as part of this release, the big ones include DataMapper to 0.9.7, ActiveRecord to 2.2.2, and Haml to 2.0.4.</p>
<p>Changelog:</p>
<ul>
<li>[#237] Fixed render :rjs throws errors</li>
<li>[#236] Upgraded to ActiveRecord 2.2.2</li>
<li>[#235] Upgraded to DataMapper 0.9.7</li>
<li>[#230] Upgraded to facets 2.4.5</li>
<li>[#229] Upgraded to english 0.3.1</li>
<li>[#227] Removed WEBrick logging</li>
<li>[#226] Bundled gems.</li>
<li>[#225] Removed dependency on Thin</li>
<li>[#223] Fixed mackery console fails</li>
<li>[#148] Added button_to_remote helper method.</li>
<li>[#16] Added deferred? routes.</li>
<li>gem: active_record 2.2.2</li>
<li>gem: data_mapper 0.9.7</li>
<li>gem: addressable 2.0.0</li>
<li>gem: facets 2.4.5</li>
<li>gem: english 0.3.1</li>
<li>gem: rspec 1.1.11</li>
<li>gem: haml 2.0.4</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/11/30/release-082/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Release 0.6.0</title>
		<link>http://www.metabates.com/2008/07/16/release-060/</link>
		<comments>http://www.metabates.com/2008/07/16/release-060/#comments</comments>
		<pubDate>Wed, 16 Jul 2008 14:04:22 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[active record]]></category>
		<category><![CDATA[darsono sutedja]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[haml]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[mack-more]]></category>
		<category><![CDATA[markaby]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[rspec]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=110</guid>
		<description><![CDATA[Well, it&#8217;s finally here, Mack 0.6.0! This release has taken a long time, but I feel that it&#8217;s definitely worth it. This has to be the best release of Mack to date. During this release the Mack dev team grew by 100%, Darsono Sutedja, previously a contributor to Mack, is now a full time Mack [...]]]></description>
			<content:encoded><![CDATA[<p>Well, it&#8217;s finally here, Mack 0.6.0! This release has taken a long time, but I feel that it&#8217;s definitely worth it. This has to be the best release of Mack to date. During this release the Mack dev team grew by 100%, Darsono Sutedja, previously a contributor to Mack, is now a full time Mack core team developer! Darsono has done an absolutely great job on this release, thanks Darsono. With that out of the way, let&#8217;s jump straight to the good stuff, shall we?</p>
<h3>DataMapper 0.9.2 Support</h3>
<p>At long last Mack supports DataMapper 0.9.2. Because previous versions of Mack used DataMapper 0.3.2, there is some upgrade work that you&#8217;ll need to do, but trust me, it&#8217;s worth it. DataMapper 0.9.2 is a gigantic leap forward from 0.3.2. If you have problems installing the data_mapper gem, make sure that you don&#8217;t have gems.datamapper.org in your source path for rubygems. You can remove it with the following command:</p>
<pre>gem source -r http://gems.datamapper.orgÂ </pre>
<h3>RSpec Testing Support</h3>
<p>RSpec is now the default testing framework for new Mack applications. This innovative testing framework makes it fun, and simple, to do behavior driven development. If you haven&#8217;t yet played with RSpec, I would highly recommend it. I wasn&#8217;t a big fan of &#8216;spec&#8217; testing prior to meeting Adam French, of DataMapper fame, and he turned me on to the joys of rspec. I think you&#8217;ll like it too, if you give it a chance. <img src='http://www.metabates.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>mack-more</h3>
<p>There is now a mack-more package. This will house all the optional gems available to the Mack framework. This include things like HAML and Markaby support, localization, etc&#8230; Use what you want, ignore the rest. This will help keep the core code clean, light, and of course, fast.</p>
<h3>Localization/l10n Support</h3>
<p>Darsono did a great job with the mack-localization gem. There is now optional support for internationalization in Mack applications. Check out the gem, it&#8217;s definitely worth it if you need to support multiple languages for your web application.</p>
<h3>Much, much more!</h3>
<p>Of course, there&#8217;s a lot more Mack than the stuff I just mentioned, there&#8217;s tons of bug fixes, some code clean up, some API changes, transactional testing support, the ability to catch specific errors in routes and have them diverted to a controller/action for handling.</p>
<p>There is a great wiki entry on upgrading your existing Mack project to 0.6.0 <a href="http://wiki.mackframework.com/index.php/en/Upgrading%20from%200.5.x%20to%200.6.x" target="_blank">here</a>. I highly recommend reading it whether or not you have an existing Mack application.</p>
<p>With this release the Mack team is also fully embracing Lighthouse. If you find bugs, or have suggestions please visit <a href="http://lighthouse.mackframework.com" target="_blank">http://lighthouse.mackframework.com</a>Â and log them there. You&#8217;ll also find the list of features that will eventually be added to Mack.</p>
<p>Changelog:</p>
<ul>
<li>INCOMPATIBILITY NOTICE: Moved Mack::Configuration.root to Mack.root</li>
<li>INCOMPATIBILITY NOTICE: Moved Mack::Configuration.env to Mack.env</li>
<li>INCOMPATIBILITY NOTICE: Mack::Configuration.* path methods no longer exist. Use mack-paths instead.</li>
<li>INCOMPATIBILITY NOTICE: Dropped mack_ruby_core_extensions in favor or mack-facets</li>
<li>INCOMPATIBILITY NOTICE: Mack::Controller::Base is now Mack::Controller (and it&#8217;s now a module)</li>
<li>INCOMPATIBILITY NOTICE: Haml renderer is now part of mack-more.</li>
<li>INCOMPATIBILITY NOTICE: Markaby renderer is now part of mack-more.</li>
<li>INCOMPATIBILITY NOTICE: Changed request param&#8217;s accessor routine, from params(key) to params[key]</li>
<li>INCOMPATIBILITY NOTICE: Test::Unit::TestCase is no longer the default testing framework, RSpec is. If you wish to useÂ Test::Unit::TestCase add the following config parameter to your config/app_config/default.yml file:<br />
Â Â mack::testing_framework: test_case</li>
<li>INCOMPATIBILITY NOTICE: ENV["_mack_env"] and ENV["_mack_root"] are no longer supported, please use ENV["MACK_ENV"] and ENV["MACK_ROOT"], or just Mack.env and Mack.root</li>
<li>INCOMPATIBILITY NOTICE: MACK_DEFAULT_LOGGER constant is no longer available. Please use Mack.logger instead.</li>
<li>INCOMPATIBILITY NOTICE: The ApplicationHelper module is now deprecated. Please move view level helpers into Mack::ViewHelpers::* and controller helpers into Mack::ControllerHelpers::&lt;controller_name&gt;</li>
<li>thin.ru and thin.yml are no longer needed, you may delete them.</li>
<li>RSpec assertions are now automatically added.</li>
<li>Added a Mack::Testing::Response class to make testing of responses easier.</li>
<li>moved test_extensions to testing and added the module Testing to the files in it.</li>
<li>Added a dependency on mack-more</li>
<li>Added a set of Rake tasks to update existing Mack applications.</li>
<li>[#30] Added Mack::Logging::Filter to filter out unwanted parameters from the logs.</li>
<li>In routing you can now define a route that will catch an Exception from another controller.</li>
<li>ORM will not be initialized if the app never specify which ORM to use.</li>
<li>All Mack unit tests are now written using rspec-1.1.4.</li>
<li>mack command now takes an optional -t flag to determine which testing framework to use&#8211;value could be test_case or rspec [default]</li>
<li>new setting added to app_config: testing_framework</li>
<li>gem: cachetastic 1.7.2</li>
<li>gem: application_configuration 1.5.0</li>
<li>gem: erubis 2.6.2</li>
<li>gem: genosaurus 1.2.1</li>
<li>gem: thin 0.8.2</li>
<li>gem: rspec 1.1.4</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/07/16/release-060/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>0.6.0 Coming VERY soon!</title>
		<link>http://www.metabates.com/2008/07/10/060-coming-very-soon/</link>
		<comments>http://www.metabates.com/2008/07/10/060-coming-very-soon/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 18:40:59 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[data mapper]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[mack-more]]></category>
		<category><![CDATA[routing]]></category>
		<category><![CDATA[rspec]]></category>
		<category><![CDATA[upgrade]]></category>
		<category><![CDATA[wiki]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/?p=109</guid>
		<description><![CDATA[Well folks, as you know, things have been a bit quiet on the Mack front these days, but it&#8217;s all been for a very good reason. We&#8217;ve been prepping the next release, 0.6.0. This release is expected to hit the streets sometime the beginning of next week. There&#8217;s a lot of really great stuff in [...]]]></description>
			<content:encoded><![CDATA[<p>Well folks, as you know, things have been a bit quiet on the Mack front these days, but it&#8217;s all been for a very good reason. We&#8217;ve been prepping the next release, 0.6.0. This release is expected to hit the streets sometime the beginning of next week. There&#8217;s a lot of really great stuff in the release, DataMapper 0.9.2 support (finally!), RSpec testing support, a mack-more project to house a bunch of cool Mack related gems, Exception handling in Routing, and more&#8230; A full list will be available when the release happens.</p>
<p>In addition to the great new features, a lot of bugs have been worked out, and more of the API has solidified further. Because of some of these changes I&#8217;ve posted an upgrade guide from 0.5.x to 0.6.0. This guide can be found on the <a href="http://wiki.mackframework.com/index.php/en/Upgrading%20from%200.5.x%20to%200.6.x" target="_blank">wiki</a>.&nbsp;</p>
<p>This guide is meant to make upgrading as quickly and as a painless possible. There are a couple of big changes, but they should be fairly simple to make.</p>
<p>I&#8217;m very happy with this release, it&#8217;s been long toiled over, and it shows. It&#8217;s very stable, fast, and fun. I think everyone is really going to like it.&nbsp;</p>
<p>As more info about the release becomes available, I&#8217;ll keep everyone posted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/07/10/060-coming-very-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.465 seconds -->
