Permalink
Browse files

added test files to gemspec, and refactored it to work with GitHub's …

…gem building environment
  • Loading branch information...
1 parent f28a334 commit 2137c1baf667c2aa2bb9398e51af331f10faeea6 @chriskite chriskite committed Jul 23, 2009
Showing with 24 additions and 1 deletion.
  1. +24 −1 anemone.gemspec
View
@@ -6,11 +6,34 @@ spec = Gem::Specification.new do |s|
s.rubyforge_project = "anemone"
s.platform = Gem::Platform::RUBY
s.summary = "Anemone web-spider framework"
- s.files = Dir["{bin,lib}/**/*"] + Dir["README.rdoc"]
s.executables = %w[anemone_count.rb anemone_cron.rb anemone_pagedepth.rb anemone_serialize.rb anemone_url_list.rb]
s.require_path = "lib"
s.has_rdoc = true
s.rdoc_options << '-m' << 'README.rdoc' << '-t' << 'Anemone'
s.extra_rdoc_files = ["README.rdoc"]
s.add_dependency("nokogiri", ">= 1.3.0")
+
+ s.files = %w[
+ LICENSE.txt
+ README.rdoc
+ bin/anemone_count.rb
+ bin/anemone_cron.rb
+ bin/anemone_pagedepth.rb
+ bin/anemone_serialize.rb
+ bin/anemone_url_list.rb
+ lib/anemone.rb
+ lib/anemone/anemone.rb
+ lib/anemone/core.rb
+ lib/anemone/http.rb
+ lib/anemone/page.rb
+ lib/anemone/page_hash.rb
+ lib/anemone/tentacle.rb
+ ]
+
+ s.test_files = %w[
+ spec/anemone_spec.rb
+ spec/core_spec.rb
+ spec/fakeweb_helper.rb
+ spec/spec_helper.rb
+ ]
end

0 comments on commit 2137c1b

Please sign in to comment.