From 1464c8bfde3372b6a0b7bbac9bd39e7caad69454 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 7 Apr 2008 02:37:12 +0200 Subject: [PATCH] gemify --- .gemified | 9 +++++++++ .gitignore | 5 +++-- .manifest | 46 ++++++++++++++++++++++++++++++++++++++++++++++ Rakefile | 14 ++++++++++++++ 4 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 .gemified create mode 100644 .manifest diff --git a/.gemified b/.gemified new file mode 100644 index 000000000..cae3df709 --- /dev/null +++ b/.gemified @@ -0,0 +1,9 @@ +--- +:email: mislav.marohnic@gmail.com +:has_rdoc: true +:homepage: http://github.com/mislav/will_paginate +:name: will_paginate +:rubyforge_project: will-paginate +:version: 2.2.0 +:author: "Mislav Marohni\xC4\x87" +:summary: Most awesome pagination solution for Rails diff --git a/.gitignore b/.gitignore index 6ac3a1f15..8c09955c0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ -/pkg -/doc +/pkg/ +/doc/ +/rails diff --git a/.manifest b/.manifest new file mode 100644 index 000000000..00ef87ea1 --- /dev/null +++ b/.manifest @@ -0,0 +1,46 @@ +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/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/view_test.rb \ No newline at end of file diff --git a/Rakefile b/Rakefile index 9fa2c8904..44ffa2169 100644 --- a/Rakefile +++ b/Rakefile @@ -67,3 +67,17 @@ Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.options << '--charset=UTF-8' rdoc.options << '--webcvs=http://github.com/mislav/will_paginate/tree/master/' end + +task :manifest do + list = Dir['**/*'] + + File.read('.gitignore').each_line do |glob| + glob = glob.chomp.sub(/^\//, '') + list -= Dir[glob] + puts "excluding #{glob}" + end + + File.open('.manifest', 'w') do |file| + file.write list.sort.join("\n") + end +end