<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
     files = (`git ls-files` rescue nil).to_s.split(/\r?\n/)
     files.delete_if { |x| x.empty? }
     # When git-ls-files isn't available, creates a list from current files.
-    unless $?.success? or files.size &lt;= 0 then
+    if !($?.success?) or files.size &lt;= 0 then
       files =
         [ &quot;README.rdoc&quot;, &quot;README_DEV.rdoc&quot;, 
           &quot;ChangeLog&quot;, &quot;KNOWN_ISSUES.rdoc&quot;,
@@ -68,7 +68,7 @@ Gem::Specification.new do |s|
             end
     end
     %&gt;&lt;%= 
-    files.collect { |x| x.dump }.join(&quot;,\n    &quot;)
+    files.sort.collect { |x| x.dump }.join(&quot;,\n    &quot;)
        ###### Above is executed in ERB environment ######
     %&gt;
   ]
@@ -84,7 +84,7 @@ Gem::Specification.new do |s|
                          'doc/Changes-1.3.rdoc' ]
         end
         rdoc_files.push &quot;ChangeLog&quot; unless rdoc_files.include?(&quot;ChangeLog&quot;)
-        rdoc_files.collect { |x| x.dump }.join(&quot;,\n    &quot;)
+        rdoc_files.sort.collect { |x| x.dump }.join(&quot;,\n    &quot;)
         ###### Above is executed in ERB environment ######
     %&gt;
   ]
@@ -109,7 +109,7 @@ Gem::Specification.new do |s|
         if exec_files.empty? then
             exec_files = [ &quot;bioruby&quot;, &quot;br_biofetch.rb&quot;, &quot;br_biogetseq.rb&quot;, &quot;br_bioflat.rb&quot;, &quot;br_pmfetch.rb&quot; ]
         end
-        exec_files.collect { |x| x.dump }.join(&quot;,\n    &quot;)
+        exec_files.sort.collect { |x| x.dump }.join(&quot;,\n    &quot;)
         ###### Above is executed in ERB environment ######
     %&gt;
   ]</diff>
      <filename>bioruby.gemspec.erb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>92748f848e4708766e44c22b2f02ac662491971f</id>
    </parent>
  </parents>
  <author>
    <name>Naohisa Goto</name>
    <email>ng@bioruby.org</email>
  </author>
  <url>http://github.com/bioruby/bioruby/commit/ede0c0d7aeab078b6183c4e0e7c74faec32739f7</url>
  <id>ede0c0d7aeab078b6183c4e0e7c74faec32739f7</id>
  <committed-date>2009-02-19T04:20:53-08:00</committed-date>
  <authored-date>2009-02-19T03:54:36-08:00</authored-date>
  <message>Fixed a logic to determine whether in git repository, and file lists are changed to be sorted.</message>
  <tree>3ddf423f9ac524ab7bd8d5cb1e49dfa79efbe0a6</tree>
  <committer>
    <name>Naohisa Goto</name>
    <email>ng@bioruby.org</email>
  </committer>
</commit>
