<?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; git</title>
	<atom:link href="http://www.metabates.com/tag/git/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.metabates.com</link>
	<description>The technical ramblings of Mark Bates.</description>
	<lastBuildDate>Wed, 01 Feb 2012 16:25:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Release 0.4.1</title>
		<link>http://www.metabates.com/2008/03/27/release-041/</link>
		<comments>http://www.metabates.com/2008/03/27/release-041/#comments</comments>
		<pubDate>Thu, 27 Mar 2008 21:42:40 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Updates]]></category>
		<category><![CDATA[assigns]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/2008/03/27/release-041/</guid>
		<description><![CDATA[On the heels of yesterdays release of 0.4.0, there is a new release today, 0.4.1. Although this is not a sexy release, as 0.4.0 was, this is an important release. What makes this release so important is that it fixes, adds, or improves testing support for Mack applications. The implementation of some of the testing [...]]]></description>
			<content:encoded><![CDATA[<p>On the heels of yesterdays release of 0.4.0, there is a new release today, 0.4.1. Although this is not a <em>sexy</em> release, as 0.4.0 was, this is an important release.</p>
<p>What makes this release so important is that it fixes, adds, or improves testing support for Mack applications.</p>
<p>The implementation of some of the testing stuff has changed under the covers, but it&#8217;s the new stuff that is really important. let&#8217;s take a look at some of the stuff:</p>
<ul>
<li><strong>assigns(key)</strong> &#8211; This one should be familiar to all you Rails folks out there. This allows you to get an instance variable that was set in a controller, and access it in your test.
<pre>def test_something
  get foo_index_url
  assert_not_nil assigns(:foo_list)
end</pre>
</li>
<li><strong>in_session</strong> &#8211; This methods allows you to wrap a block in the context of a session. This is great if you&#8217;re trying to do integration testing.</li>
<li><strong>set_cookie, remove_cookie</strong> &#8211; These methods allow you to either set or a remove a cookie in your tests. Great if you want to test an action that reads a cookie, or test to see what happens if you set a cookie, then remove the cookie and call something else. Also great to use with the in_session method.</li>
</ul>
<p>There are a few other hidden treats in there, but those are some of the highlights. These things help bring Mack testing to a usable level.</p>
<p>The Mack Demo Blog application has been updated to demonstrate some these things. You can pull the demo using Git here: <a href="git://github.com/markbates/mack_blog_demo.git" target="_blank">git://github.com/markbates/mack_blog_demo.git</a></p>
<p>Changelog:</p>
<ul>
<li>Improved testing support.</li>
</ul>
<ul>
<li>Added assigns support to testing. This is allows for pulling instance variables that were set in a controller to tests.</li>
</ul>
<ul>
<li>Added ability to do &#8216;session&#8217; based tests.</li>
</ul>
<ul>
<li>Added assert_difference method.</li>
</ul>
<ul>
<li>Added ability to set/remove cookies before requests are made.</li>
</ul>
<ul>
<li>gem: mack_ruby_core_extensions 0.1.4</li>
</ul>
<pre>$ sudo gem install mack</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/03/27/release-041/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing Mack Ruby Core Extensions</title>
		<link>http://www.metabates.com/2008/03/26/announcing-mack-ruby-core-extensions/</link>
		<comments>http://www.metabates.com/2008/03/26/announcing-mack-ruby-core-extensions/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 19:57:00 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[inflection]]></category>
		<category><![CDATA[mack]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/2008/03/26/announcing-mack-ruby-core-extensions/</guid>
		<description><![CDATA[Mack has been using a combination of the ruby_extensions gem as well some local extensions to the Ruby core in order to make Mack as wonderful as it is. In an effort to make life a little simpler, as well as to help share the wealth, the ruby_extensions gem and the Mack extensions have been [...]]]></description>
			<content:encoded><![CDATA[<p>Mack has been using a combination of the ruby_extensions gem as well some local extensions to the Ruby core in order to make Mack as wonderful as it is. In an effort to make life a little simpler, as well as to help share the wealth, the ruby_extensions gem and the Mack extensions have been combined into a single new gem called mack_ruby_core_extensions.</p>
<p>One of the main Mack pieces that has been broken out into this new gem is the inflection system. Now you can have inflections as part of any Ruby application just by requiring the gem. As far as I can tell this is the first stand alone inflection system for Ruby. I know because I couldn&#8217;t find one for Mack, that&#8217;s why I had to write one.</p>
<p>This gem will continually be updated, outside of the core Mack code. The forthcoming release of Mack, 0.4.0, will be converted to use the new gem.</p>
<p>Those who wish to contribute to the gem can find it on GitHub at: <a href="http://github.com/markbates/mack_ruby_core_extensions" target="_blank">http://github.com/markbates/mack_ruby_core_extensions</a></p>
<p>The API for mack_ruby_core_extensions can be found at:<br />
<a href="http://mrce-api.mackframework.com/" target="_blank">http://mrce-api.mackframework.com/</a></p>
<pre>Â $ sudo gem install mack_ruby_core_extensions</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/03/26/announcing-mack-ruby-core-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mack on GitHub.com</title>
		<link>http://www.metabates.com/2008/03/21/mack-on-githubcom/</link>
		<comments>http://www.metabates.com/2008/03/21/mack-on-githubcom/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 18:15:09 +0000</pubDate>
		<dc:creator>Mark Bates</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github.com]]></category>
		<category><![CDATA[mack]]></category>

		<guid isPermaLink="false">http://www.mackframework.com/2008/03/21/mack-on-githubcom/</guid>
		<description><![CDATA[The Mack source tree is now hosted on GitHub.com http://github.com/markbates/mack If you would like to pull it down you can clone it with: git://github.com/markbates/mack.git For those of you interested in contributing you can create an account with GitHub, fork the Mack project, go nuts with your changes, and then send me a pull request. It&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>The Mack source tree is now hosted on GitHub.com</p>
<p><a href="http://github.com/markbates/mack" target="_blank">http://github.com/markbates/mack </a></p>
<p>If you would like to pull it down  you can clone it with:</p>
<p><a href="git://github.com/markbates/mack.git" target="_blank">git://github.com/markbates/mack.git</a></p>
<p>For  those of you interested in contributing you can create an account with GitHub, fork the Mack project, go nuts with your changes, and then send me a pull request. It&#8217;s all very well explained on the GitHub site.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.metabates.com/2008/03/21/mack-on-githubcom/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

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

