Skip to content

Commit

Permalink
Fix gemspec. Oops
Browse files Browse the repository at this point in the history
  • Loading branch information
jm committed Nov 9, 2008
1 parent fa1f69f commit 0fbc885
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions matchy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Gem::Specification.new do |s|
"Manifest.txt",
"README.rdoc",
"Rakefile",
"context.gemspec",
"matchy.gemspec",
"History.txt",
"License.txt",
"Manifest.txt",
Expand All @@ -34,11 +34,12 @@ Gem::Specification.new do |s|
]

s.test_files = [
"test/test_context.rb",
"test/test_core_ext.rb",
"test/test_lifecycle.rb",
"test/test_test.rb",
"test/test_helper.rb"
"test/test_enumerable_expectations.rb",
"test/test_error_expectations.rb",
"test/test_expectation_base.rb",
"test/test_operator_expectations.rb",
"test/test_truth_expectations.rb",
"test/test_modals.rb"
]

s.rdoc_options = ["--main", "README.rdoc"]
Expand Down

2 comments on commit 0fbc885

@mjm
Copy link

@mjm mjm commented on 0fbc885 Nov 12, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gemspec has a typo in it. The files to include has “test_models” instead of “test_modals”, so test_modals.rb doesn’t get put in the gem, causing LoadErrors when requiring matchy.

@mjm
Copy link

@mjm mjm commented on 0fbc885 Nov 13, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my mistake, i meant to say “lib/matchy/models” and “lib/matchy/modals”. modals is the file that is not there

Please sign in to comment.