<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,21 +1,20 @@
 IncludeGoogleJs
 ===============
 
-IncludeGoogleJs will over ride javascript_include_tag to use Google's hosted Javascript libraries instead of the local copies, as explained at 
+Allows you to easily use Google's hosted javascript libraries instead of your own copies, lightening the load for your server and for your visitors.
+
+IncludeGoogleJs will override javascript_include_tag to use Google's hosted Javascript libraries instead of the local copies, as explained at 
 http://ajaxian.com/archives/announcing-ajax-libraries-api-speed-up-your-ajax-apps-with-googles-infrastructure
 and announced at
 http://googleajaxsearchapi.blogspot.com/2008/05/speed-up-access-to-your-favorite.html
 
-:defaults will load Prototype and Scriptaculous
-:all will load all JS files in public/javascripts, looking to see if any of the files matches the name of any Google hosted file.
-named files will load, again looking to see if any of the files matches the name of any Google hosted file.
-
-The JS library version will be requested based on the version of the local file, if it can be determined, otherwise it defaults to 1.
-This can be overridden by passing :versions =&gt; {:scriptaculous =&gt; &quot;1.5&quot;, :jquery =&gt; &quot;1.8&quot;} with javascript_include_tag
-
+Acts like the regular javascript_include_tag, but adds :include_google_js and :version options.
+Gets the requested files and swaps out any that Google hosts.
 Checks for a working connection to ajax.googleapis.com before switching over.
 
-Should work Rails &gt; 2.0.
+Versions are based on the version running locally, or can be overridden by passing :versions =&gt; {:scriptaculous =&gt; &quot;1.5&quot;, :jquery =&gt; &quot;1.3.2&quot;}.
+
+Should work with Rails &gt; 2.0.
 
 Thanks to Brian Hogan and Jose Fernandez for their help.
 
@@ -41,7 +40,5 @@ Pass
 :versions =&gt; {:scriptaculous =&gt; &quot;1.8&quot;, :prototype =&gt; &quot;1.6&quot;}
 
 as an option to javascript_include_tag to specify the version of a library to retrieve.
-If this is not passed, IncludeGoogleJs will try to find the version of the library from the local file.
-If this is not determined, &quot;1&quot; will be passed for the library version.
 
 Copyright (c) 2008-2009 Christopher Warren, released under the MIT license
\ No newline at end of file</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -169,8 +169,6 @@ module IncludeGoogleJs
   
   def self.get_file_version(file)
     version = &quot;1&quot;
-    # split file_name for instances where the file has a version number at the end
-    # library = file.replace(&quot;-&quot;,&quot;_&quot;)
     return IncludeGoogleJs.send(&quot;parse_#{file.gsub(&quot;-&quot;,&quot;_&quot;)}&quot;)
   end
   </diff>
      <filename>lib/include_google_js.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df84ade4590bb6f20fb65e85831fb2ab17970f1d</id>
    </parent>
  </parents>
  <author>
    <name>Christopher D Warren</name>
    <email>chris@expectless.com</email>
  </author>
  <url>http://github.com/chriswarren/include_google_js/commit/73b7a9f6e07ed5b4dee61f3f25645297bf09b664</url>
  <id>73b7a9f6e07ed5b4dee61f3f25645297bf09b664</id>
  <committed-date>2009-06-16T22:42:54-07:00</committed-date>
  <authored-date>2009-06-16T22:42:54-07:00</authored-date>
  <message>* Updated Readme a bit, now that the refactoring is done for now.</message>
  <tree>e2954efec6beed175dc6e2fb27e4b841bb476c61</tree>
  <committer>
    <name>Christopher D Warren</name>
    <email>chris@expectless.com</email>
  </committer>
</commit>
