<?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>pastbedti.me &#187; gems</title>
	<atom:link href="http://www.pastbedti.me/category/projects/gems-projects/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pastbedti.me</link>
	<description>About ruby, rails, postgresql and stuff....</description>
	<lastBuildDate>Wed, 01 Jun 2011 20:09:49 +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>New version of capistrano_colors released.</title>
		<link>http://www.pastbedti.me/2009/01/new-version-of-capistrano_colors-released/</link>
		<comments>http://www.pastbedti.me/2009/01/new-version-of-capistrano_colors-released/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 15:36:40 +0000</pubDate>
		<dc:creator>Mathias Stjernström</dc:creator>
				<category><![CDATA[gems]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[colorize]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.pastbedti.me/?p=328</guid>
		<description><![CDATA[Just released a new version of capistrano_colors. This is a total rewrite from the last version. This post show some of the bigger changes. The biggest/coolest changes: You can write your own custom machers and colorize rows that&#8217;s special for you. I found a pretty neat way of making capistrano_colors system wide. You can hide [...]]]></description>
			<content:encoded><![CDATA[<p>Just released a new version of capistrano_colors. This is a total rewrite from the last version. This post show some of the bigger changes.<br />
<span id="more-328"></span></p>
<p>The biggest/coolest changes:</p>
<ul>
<li>You can write your own custom machers and colorize rows that&#8217;s special for you.</li>
<li>I found a pretty neat way of making capistrano_colors system wide.</li>
<li>You can hide rows that you do not care for</li>
</ul>
<p>I do not want to bore you more so I&#8217;ll just skip to an example <img src='http://www.pastbedti.me/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>If you have not already, install capistrano_colors (v.0.5.0)</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp;sudo gem install capistrano_colors</div></td></tr></tbody></table></div>
<p>The following commands can go into deploy.rb or ~/.caprc depending if you want cc for a single project or system wide.</p>
<div class="codecolorer-container ruby twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br /></div></td><td><div class="ruby codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp;<span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">'capistrano_colors'</span><br />
<br />
&nbsp; &nbsp;capistrano_color_matchers = <span style="color:#006600; font-weight:bold;">&#91;</span><br />
&nbsp; &nbsp; &nbsp;<span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#ff3333; font-weight:bold;">:match</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">/</span>command finished<span style="color:#006600; font-weight:bold;">/</span>, &nbsp; &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:color</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:hide</span>, &nbsp; &nbsp; &nbsp;<span style="color:#ff3333; font-weight:bold;">:prio</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006666;">10</span> <span style="color:#006600; font-weight:bold;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp;<span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#ff3333; font-weight:bold;">:match</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">/</span>executing command<span style="color:#006600; font-weight:bold;">/</span>, &nbsp; &nbsp; &nbsp;<span style="color:#ff3333; font-weight:bold;">:color</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:blue</span>, &nbsp; &nbsp; &nbsp;<span style="color:#ff3333; font-weight:bold;">:prio</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006666;">10</span>, <span style="color:#ff3333; font-weight:bold;">:attribute</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:underscore</span> <span style="color:#006600; font-weight:bold;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp;<span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#ff3333; font-weight:bold;">:match</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">/</span>^transaction: commit$<span style="color:#006600; font-weight:bold;">/</span>, &nbsp;<span style="color:#ff3333; font-weight:bold;">:color</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:magenta</span>, &nbsp; <span style="color:#ff3333; font-weight:bold;">:prio</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006666;">10</span>, <span style="color:#ff3333; font-weight:bold;">:attribute</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:blink</span> <span style="color:#006600; font-weight:bold;">&#125;</span>,<br />
&nbsp; &nbsp; &nbsp;<span style="color:#006600; font-weight:bold;">&#123;</span> <span style="color:#ff3333; font-weight:bold;">:match</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006600; font-weight:bold;">/</span>git<span style="color:#006600; font-weight:bold;">/</span>, &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<span style="color:#ff3333; font-weight:bold;">:color</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:white</span>, &nbsp; &nbsp; <span style="color:#ff3333; font-weight:bold;">:prio</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#006666;">20</span>, <span style="color:#ff3333; font-weight:bold;">:attribute</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#ff3333; font-weight:bold;">:reverse</span> <span style="color:#006600; font-weight:bold;">&#125;</span>,<br />
&nbsp; &nbsp;<span style="color:#006600; font-weight:bold;">&#93;</span><br />
<br />
&nbsp; &nbsp;colorize<span style="color:#006600; font-weight:bold;">&#40;</span> capistrano_color_matchers <span style="color:#006600; font-weight:bold;">&#41;</span></div></td></tr></tbody></table></div>
<p>The only mandatory options are :match, :colors and :prio.</p>
<p>A fast description of the options:</p>
<li>:match     &#8211; A regular expression of the row to match.</li>
<li>:color     &#8211; The color we want on the matching rows.</li>
<li>:prio      &#8211; What prio should this rule have (higher = more prio)</li>
<li>:attribute &#8211; Special effect (:underline, :reverse, :blink)</li>
<li>:level     &#8211; Specify if this matcher should be bound to some of capistranos log levels (info,debug,&#8230;)</li>
<p>A more detailed description can be found at <a href="http://github.com/stjernstrom/capistrano_colors/tree/master">http://github.com/stjernstrom/capistrano_colors/tree/master</a></p>
<p>As this is a rewrite I would love some feedback.</p>
<p>Thanks! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pastbedti.me/2009/01/new-version-of-capistrano_colors-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Put some colors on your capistrano output</title>
		<link>http://www.pastbedti.me/2008/12/put-some-colors-of-your-capistrano-output/</link>
		<comments>http://www.pastbedti.me/2008/12/put-some-colors-of-your-capistrano-output/#comments</comments>
		<pubDate>Sat, 20 Dec 2008 23:02:02 +0000</pubDate>
		<dc:creator>Mathias Stjernström</dc:creator>
				<category><![CDATA[gems]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Projects]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[colors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.pastbedti.me/?p=304</guid>
		<description><![CDATA[I got so tired of all the messy capistrano output so today I released my first public gem. The name of the gem is capistrano_colors and the aim of the gem is to put some nice and shiny colors on capistrano output. The gem has only been tested with rails but should work wherever capistrano [...]]]></description>
			<content:encoded><![CDATA[<p>I got so tired of all the messy capistrano output so today I released my first public gem.</p>
<p>The name of the gem is <a href="http://github.com/stjernstrom/capistrano_colors/">capistrano_colors</a> and the aim of the gem is to put some nice and shiny colors on capistrano output. The  gem has only been tested with rails but should work wherever capistrano works.</p>
<p>Keep on reading to see some screenshots!<br />
<span id="more-304"></span><br />
Just follow the instruction on the github page (<a href="http://github.com/stjernstrom/capistrano_colors/">http://github.com/stjernstrom/capistrano_colors/</a>) and you will have a colorful output like the second screenshots in no time.</p>
<div id="attachment_313" class="wp-caption alignnone" style="width: 590px"><img class="size-full wp-image-313" title="Capistrano output without capistrano_colors" src="http://www.pastbedti.me/wp-content/uploads/2008/12/capistrano_output_without_capistrano_colors.png" alt="Capistrano output without capistrano_colors" width="580" height="421" /><p class="wp-caption-text">Capistrano output without capistrano_colors</p></div>
<div id="attachment_315" class="wp-caption alignnone" style="width: 590px"><img class="size-full wp-image-315" title="Capistrano output with capistrano_colors" src="http://www.pastbedti.me/wp-content/uploads/2008/12/capistrano_output_with_capistrano_colors.png" alt="Capistrano output with capistrano_colors" width="580" height="415" /><p class="wp-caption-text">Capistrano output with capistrano_colors</p></div>
<p>As you can see the output on the second image is much clearer and easier to understand.</p>
<p>Try it out and let me know what you think! </p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pastbedti.me/2008/12/put-some-colors-of-your-capistrano-output/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

