Skip to content

Commit 8fc0f91

Browse files
committed
Fix warnings from displaying in gemfile option tests
Recent versions of RubyGems now display warnings like: WARNING: licenses is empty, but is recommended. Use a license identifier from http://spdx.org/licenses or 'Nonstandard' for a nonstandard license. WARNING: no homepage specified WARNING: See http://guides.rubygems.org/specification-reference/ for help Fix by adding dummy values.
1 parent 9383432 commit 8fc0f91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/integration/gemfile_option_spec.rb

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
s.name = 'my_fake_gem'
2222
s.version = '1.0.0'
2323
s.author = 'John Doe'
24+
s.license = 'MIT'
25+
s.homepage = 'https://example.com'
2426
s.email = 'john.doe@example.com'
2527
s.summary = 'A fake gem'
2628
s.files = [File.join('lib', 'my_fake_gem.rb')]

0 commit comments

Comments
 (0)