From 37714818abc01825bab2a60a5ba23cf22beb6581 Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Tue, 30 Jun 2009 10:22:14 -0500 Subject: [PATCH 1/2] add lib (so you can just require 'rpsec') --- lib/rspec.rb | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 lib/rspec.rb diff --git a/lib/rspec.rb b/lib/rspec.rb new file mode 100644 index 00000000..5ba7b50d --- /dev/null +++ b/lib/rspec.rb @@ -0,0 +1,3 @@ +require 'rspec/core' +require 'rspec/expectations' +require 'rspec/mocks' From dfc08d3ffacb1832c29279a27adef1e79362768d Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Tue, 30 Jun 2009 10:22:28 -0500 Subject: [PATCH 2/2] update gemspec --- rspec-meta.gemspec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rspec-meta.gemspec b/rspec-meta.gemspec index da3b4d4d..1b9e192f 100644 --- a/rspec-meta.gemspec +++ b/rspec-meta.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| "README.markdown", "Rakefile", "VERSION.yml", - "lib/rspec-meta.rb" + "lib/rspec.rb" ] s.homepage = %q{http://github.com/rspec/meta} s.rdoc_options = ["--charset=UTF-8"] @@ -29,13 +29,16 @@ Gem::Specification.new do |s| s.specification_version = 3 if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, ["= 0.0.0"]) s.add_runtime_dependency(%q, ["= 0.0.0"]) s.add_runtime_dependency(%q, ["= 0.0.0"]) else + s.add_dependency(%q, ["= 0.0.0"]) s.add_dependency(%q, ["= 0.0.0"]) s.add_dependency(%q, ["= 0.0.0"]) end else + s.add_dependency(%q, ["= 0.0.0"]) s.add_dependency(%q, ["= 0.0.0"]) s.add_dependency(%q, ["= 0.0.0"]) end