Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Only include Manifest.txt in gemspec if it is present #45

Closed
wants to merge 1 commit into from

4 participants

@ragaskar

Since Manifest.txt is .gitignore-d, if you track the git repo using bundler, bundler will complain that the gemspec is asking for Manifest.txt but it can't find it. IE:

ragaskar@unicorn-vengeance: ~/workspace/testme$ bundle
Using builder (3.0.0) 
Using ci_reporter (1.6.5) from git://github.com/ragaskar/ci_reporter.git (at master) 
ci_reporter at /Users/ragaskar/.rvm/gems/ruby-1.9.2-p290@ci_reporter/bundler/gems/ci_reporter-af8674c7bddc did not have a valid gemspec.
This prevents bundler from installing bins or native extensions, but that may not affect its functionality.
The validation message from Rubygems was:
  ["Manifest.txt"] are not files

Using bundler (1.0.21) 
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.

This minor patch to gemspec fixes the problem.

Thanks for ci_reporter!

@dcuddeback

This is affecting me too. I'm currently tracking HEAD because of the Errno::ENAMETOOLONG error bug. Any chance of applying this patch?

@nicksieger nicksieger closed this pull request from a commit
@nicksieger nicksieger Add manifest to source control
fixes #45.
8639695
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 20, 2011
  1. @ragaskar
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 ci_reporter.gemspec
View
4 ci_reporter.gemspec
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
s.date = "2011-10-19"
s.description = "CI::Reporter is an add-on to Test::Unit, RSpec and Cucumber that allows you to generate XML reports of your test, spec and/or feature runs. The resulting files can be read by a continuous integration system that understands Ant's JUnit report XML format, thus allowing your CI system to track test/spec successes and failures."
s.email = "nick@nicksieger.com"
- s.extra_rdoc_files = ["History.txt", "Manifest.txt", "LICENSE.txt"]
- s.files = ["History.txt", "Manifest.txt", "README.rdoc", "LICENSE.txt", "Rakefile", "stub.rake", "lib/ci/reporter/core.rb", "lib/ci/reporter/cucumber.rb", "lib/ci/reporter/rake/cucumber.rb", "lib/ci/reporter/rake/cucumber_loader.rb", "lib/ci/reporter/rake/rspec.rb", "lib/ci/reporter/rake/rspec_loader.rb", "lib/ci/reporter/rake/test_unit.rb", "lib/ci/reporter/rake/test_unit_loader.rb", "lib/ci/reporter/rake/utils.rb", "lib/ci/reporter/report_manager.rb", "lib/ci/reporter/rspec.rb", "lib/ci/reporter/test_suite.rb", "lib/ci/reporter/test_unit.rb", "lib/ci/reporter/version.rb", "spec/ci/reporter/cucumber_spec.rb", "spec/ci/reporter/output_capture_spec.rb", "spec/ci/reporter/rake/rake_tasks_spec.rb", "spec/ci/reporter/report_manager_spec.rb", "spec/ci/reporter/rspec_spec.rb", "spec/ci/reporter/test_suite_spec.rb", "spec/ci/reporter/test_unit_spec.rb", "spec/spec_helper.rb", "tasks/ci_reporter.rake"]
+ s.extra_rdoc_files = ["History.txt", "LICENSE.txt"] + Dir.glob("Manifest.txt")
+ s.files = ["History.txt", "README.rdoc", "LICENSE.txt", "Rakefile", "stub.rake", "lib/ci/reporter/core.rb", "lib/ci/reporter/cucumber.rb", "lib/ci/reporter/rake/cucumber.rb", "lib/ci/reporter/rake/cucumber_loader.rb", "lib/ci/reporter/rake/rspec.rb", "lib/ci/reporter/rake/rspec_loader.rb", "lib/ci/reporter/rake/test_unit.rb", "lib/ci/reporter/rake/test_unit_loader.rb", "lib/ci/reporter/rake/utils.rb", "lib/ci/reporter/report_manager.rb", "lib/ci/reporter/rspec.rb", "lib/ci/reporter/test_suite.rb", "lib/ci/reporter/test_unit.rb", "lib/ci/reporter/version.rb", "spec/ci/reporter/cucumber_spec.rb", "spec/ci/reporter/output_capture_spec.rb", "spec/ci/reporter/rake/rake_tasks_spec.rb", "spec/ci/reporter/report_manager_spec.rb", "spec/ci/reporter/rspec_spec.rb", "spec/ci/reporter/test_suite_spec.rb", "spec/ci/reporter/test_unit_spec.rb", "spec/spec_helper.rb", "tasks/ci_reporter.rake"] + Dir.glob("Manifest.txt")
s.homepage = "http://caldersphere.rubyforge.org/ci_reporter"
s.rdoc_options = ["--main", "README.rdoc", "-SHN", "-f", "darkfish"]
s.require_paths = ["lib"]
Something went wrong with that request. Please try again.