summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-05-17 16:19:49 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-05-17 16:19:49 -0700
commitc8ff2b6b3af3954e43dc8df601b50148be8b5f71 (patch)
tree471f96781fa61303f1d40aaf6425f7c0ee5e3147
parentf7d5bd265c91d91395251dbe6ef8e3390e27843a (diff)
downloadbundler-c8ff2b6b3af3954e43dc8df601b50148be8b5f71.tar.gz
[Builders] Get rid of warnings in default built specs
-rw-r--r--spec/install/gemfile/git_spec.rb1
-rw-r--r--spec/runtime/setup_spec.rb1
-rw-r--r--spec/support/builders.rb11
3 files changed, 10 insertions, 3 deletions
diff --git a/spec/install/gemfile/git_spec.rb b/spec/install/gemfile/git_spec.rb
index 537ae8554f..d7ab6af05e 100644
--- a/spec/install/gemfile/git_spec.rb
+++ b/spec/install/gemfile/git_spec.rb
@@ -474,6 +474,7 @@ describe "bundle install with git sources" do
require 'lib/version'
Gem::Specification.new do |s|
s.name = 'bar'
+ s.author = 'no one'
s.version = BAR_VERSION
s.summary = 'Bar'
s.files = Dir["lib/**/*.rb"]
diff --git a/spec/runtime/setup_spec.rb b/spec/runtime/setup_spec.rb
index efa5a6933e..cd9912dcff 100644
--- a/spec/runtime/setup_spec.rb
+++ b/spec/runtime/setup_spec.rb
@@ -845,6 +845,7 @@ describe "Bundler.setup" do
s.version = BAR_VERSION
s.summary = 'Bar'
s.files = Dir["lib/**/*.rb"]
+ s.author = 'no one'
end
G
end
diff --git a/spec/support/builders.rb b/spec/support/builders.rb
index 4dbcb2982b..ae120ce134 100644
--- a/spec/support/builders.rb
+++ b/spec/support/builders.rb
@@ -440,9 +440,14 @@ module Spec
@context = context
@name = name
@spec = Gem::Specification.new do |s|
- s.name = name
- s.version = version
- s.summary = "This is just a fake gem for testing"
+ s.name = name
+ s.version = version
+ s.summary = "This is just a fake gem for testing"
+ s.description = "This is a completely fake gem, for testing purposes."
+ s.author = "no one"
+ s.email = "foo@bar.baz"
+ s.homepage = 'http://example.com'
+ s.license = 'MIT'
end
@files = {}
end