Skip to content

Commit

Permalink
added test files to gemspec, and refactored it to work with GitHub's …
Browse files Browse the repository at this point in the history
…gem building environment
  • Loading branch information
chriskite committed Jul 23, 2009
1 parent f28a334 commit 2137c1b
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion anemone.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.