<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,9 +15,9 @@ year that you started.
 
   Example: With the assumption that the current year was 2008
 
-  &lt;%= year_range(2005) -%&gt;     				# =&gt; 2005-2008
-  &lt;%= year_range(2005, '&amp;mdash;') -%&gt; # =&gt; 2005&amp;mdash;2008
-  &lt;%= year_range(2008) -%&gt;     				# =&gt; 2008 (just returns current year)
+  &lt;%= current_year_range(2005) -%&gt;     				# =&gt; 2005-2008
+  &lt;%= current_year_range(2005, '&amp;mdash;') -%&gt; # =&gt; 2005&amp;mdash;2008
+  &lt;%= current_year_range(2008) -%&gt;     				# =&gt; 2008 (just returns current year)
 
 You can access the code here:
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -6,8 +6,10 @@ module PlanetArgon
       Time.now.year
     end
 
-    def year_range( start_year = current_year, separator = '-' )
+    def current_year_range( start_year = current_year, separator = '-' )
       [start_year, current_year].sort.uniq.join(separator)
     end
+    
+    alias :year_range :current_year_range
   end
 end</diff>
      <filename>lib/year_after_year.rb</filename>
    </modified>
    <modified>
      <diff>@@ -20,14 +20,15 @@ describe PlanetArgon::YearAfterYear, 'year_range()' do
   end
 
   it 'should return a range of years when provided a start year' do
-    year_range(2004).should == '2004-2006'
+    current_year_range(2004).should == '2004-2006'
   end
   
   it &quot;should return a range of years with the specified separator&quot; do
-    year_range(2004, '&amp;mdash;').should == '2004&amp;mdash;2006'
+    current_year_range(2004, '&amp;mdash;').should == '2004&amp;mdash;2006'
   end
 
   it 'should return only the current year if the start year is the same' do
+    current_year_range(2006).should == '2006'
     year_range(2006).should == '2006'
   end
 end</diff>
      <filename>spec/year_after_year_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>1d7ddc91ee74685c9998455dedd6ffd53e6bbc7f</id>
    </parent>
  </parents>
  <author>
    <name>Josh Goebel</name>
    <email>jgoebel@Josh-Goebels-Macbook-Pro.local</email>
  </author>
  <url>http://github.com/robbyrussell/year_after_year/commit/8a99e9ec298b5a882de6f3b0b55e670840ad8119</url>
  <id>8a99e9ec298b5a882de6f3b0b55e670840ad8119</id>
  <committed-date>2008-05-18T05:05:59-07:00</committed-date>
  <authored-date>2008-05-18T05:05:59-07:00</authored-date>
  <message>seperator patch and better naming conventions</message>
  <tree>953ea62e8dd7b8bf11adbcfd778388c5b5a6a99a</tree>
  <committer>
    <name>Josh Goebel</name>
    <email>jgoebel@Josh-Goebels-Macbook-Pro.local</email>
  </committer>
</commit>
