<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,15 +2,12 @@ CHANGELOG.rdoc
 LICENSE
 README.rdoc
 Rakefile
-examples
 examples/apple-circle.gif
 examples/index.haml
 examples/index.html
 examples/pagination.css
 examples/pagination.sass
 init.rb
-lib
-lib/will_paginate
 lib/will_paginate.rb
 lib/will_paginate/array.rb
 lib/will_paginate/collection.rb
@@ -20,13 +17,11 @@ lib/will_paginate/named_scope.rb
 lib/will_paginate/named_scope_patch.rb
 lib/will_paginate/version.rb
 lib/will_paginate/view_helpers.rb
-test
 test/boot.rb
 test/collection_test.rb
 test/console
 test/database.yml
 test/finder_test.rb
-test/fixtures
 test/fixtures/admin.rb
 test/fixtures/developer.rb
 test/fixtures/developers_projects.yml
@@ -40,7 +35,6 @@ test/fixtures/topics.yml
 test/fixtures/user.rb
 test/fixtures/users.yml
 test/helper.rb
-test/lib
 test/lib/activerecord_test_case.rb
 test/lib/activerecord_test_connector.rb
 test/lib/load_fixtures.rb</diff>
      <filename>.manifest</filename>
    </modified>
    <modified>
      <diff>@@ -32,18 +32,9 @@ desc %{Update &quot;.manifest&quot; with the latest list of project filenames. Respect\
 .gitignore by excluding everything that git ignores. Update `files` and\
 `test_files` arrays in &quot;*.gemspec&quot; file if it's present.}
 task :manifest do
-  list = Dir['**/*'].sort
-  spec_file = Dir['*.gemspec'].first
-  list -= [spec_file] if spec_file
+  list = `git ls-files --full-name --exclude=*.gemspec --exclude=.*`.chomp.split(&quot;\n&quot;)
   
-  File.read('.gitignore').each_line do |glob|
-    glob = glob.chomp.sub(/^\//, '')
-    list -= Dir[glob]
-    list -= Dir[&quot;#{glob}/**/*&quot;] if File.directory?(glob) and !File.symlink?(glob)
-    puts &quot;excluding #{glob}&quot;
-  end
-
-  if spec_file
+  if spec_file = Dir['*.gemspec'].first
     spec = File.read spec_file
     spec.gsub! /^(\s* s.(test_)?files \s* = \s* )( \[ [^\]]* \] | %w\( [^)]* \) )/mx do
       assignment = $1
@@ -51,9 +42,9 @@ task :manifest do
       '%s%%w(%s)' % [assignment, bunch.join(' ')]
     end
       
-    File.open(spec_file,   'w') {|f| f &lt;&lt; spec }
+    File.open(spec_file, 'w') { |f| f &lt;&lt; spec }
   end
-  File.open('.manifest', 'w') {|f| f &lt;&lt; list.join(&quot;\n&quot;) }
+  File.open('.manifest', 'w') { |f| f &lt;&lt; list.join(&quot;\n&quot;) }
 end
 
 task :examples do</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -15,6 +15,6 @@ Gem::Specification.new do |s|
   s.rdoc_options &lt;&lt; '--inline-source' &lt;&lt; '--charset=UTF-8'
   s.extra_rdoc_files = ['README.rdoc', 'LICENSE', 'CHANGELOG.rdoc']
   
-  s.files = %w(CHANGELOG.rdoc LICENSE README.rdoc Rakefile examples examples/apple-circle.gif examples/index.haml examples/index.html examples/pagination.css examples/pagination.sass init.rb lib lib/will_paginate lib/will_paginate.rb lib/will_paginate/array.rb lib/will_paginate/collection.rb lib/will_paginate/core_ext.rb lib/will_paginate/finder.rb lib/will_paginate/named_scope.rb lib/will_paginate/named_scope_patch.rb lib/will_paginate/version.rb lib/will_paginate/view_helpers.rb test test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
-  s.test_files = %w(test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
+  s.files = %w(CHANGELOG.rdoc LICENSE README.rdoc Rakefile examples/apple-circle.gif examples/index.haml examples/index.html examples/pagination.css examples/pagination.sass init.rb lib/will_paginate.rb lib/will_paginate/array.rb lib/will_paginate/collection.rb lib/will_paginate/core_ext.rb lib/will_paginate/finder.rb lib/will_paginate/named_scope.rb lib/will_paginate/named_scope_patch.rb lib/will_paginate/version.rb lib/will_paginate/view_helpers.rb test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
+  s.test_files = %w(test/boot.rb test/collection_test.rb test/console test/database.yml test/finder_test.rb test/fixtures/admin.rb test/fixtures/developer.rb test/fixtures/developers_projects.yml test/fixtures/project.rb test/fixtures/projects.yml test/fixtures/replies.yml test/fixtures/reply.rb test/fixtures/schema.rb test/fixtures/topic.rb test/fixtures/topics.yml test/fixtures/user.rb test/fixtures/users.yml test/helper.rb test/lib/activerecord_test_case.rb test/lib/activerecord_test_connector.rb test/lib/load_fixtures.rb test/lib/view_test_process.rb test/tasks.rake test/view_test.rb)
 end</diff>
      <filename>will_paginate.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>df42582bde7c6c8ea2fd08ed532876909fb06500</id>
    </parent>
  </parents>
  <author>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </author>
  <url>http://github.com/leshill/will_paginate/commit/b9eef8961ae20a9afc75859876f50fbf082bc129</url>
  <id>b9eef8961ae20a9afc75859876f50fbf082bc129</id>
  <committed-date>2009-02-10T14:35:20-08:00</committed-date>
  <authored-date>2009-02-10T14:35:20-08:00</authored-date>
  <message>simplify manifest generation code by using `git ls-files`</message>
  <tree>9b68ecd428ea3e236f82c5c3762e5f8284550502</tree>
  <committer>
    <name>Mislav Marohni&#263;</name>
    <email>mislav.marohnic@gmail.com</email>
  </committer>
</commit>
