summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_installer.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-16 11:43:28 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-03-17 18:50:55 +0900
commitdab1d0ed20c1c6cd0cd04d9bd5ea9902d2e9cade (patch)
tree6d9d6f76b02ca41df902faffd8011eaa74b838a4 /test/rubygems/test_gem_installer.rb
parent7c1d590a8a1ed2c805a760ace02bedd94f962994 (diff)
[rubygems/rubygems] util/rubocop -A --only Layout/EmptyLineBetweenDefs
https://github.com/rubygems/rubygems/commit/00117e69cc
Diffstat (limited to 'test/rubygems/test_gem_installer.rb')
-rw-r--r--test/rubygems/test_gem_installer.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb
index 631d6a09ea..f57b47a80b 100644
--- a/test/rubygems/test_gem_installer.rb
+++ b/test/rubygems/test_gem_installer.rb
@@ -1700,6 +1700,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(packaging, strict); end
util_build_gem spec
@@ -1720,6 +1721,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(*args); end
util_build_gem spec
@@ -1741,6 +1743,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(*args); end
spec.require_paths = ["malicious\n``"]
@@ -1764,6 +1767,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(*args); end
spec.extensions = ["malicious\n``"]
@@ -1785,6 +1789,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(*args); end
spec.specification_version = "malicious\n``"
@@ -1806,6 +1811,7 @@ gem 'other', version
def spec.full_name # so the spec is buildable
"malicious-1"
end
+
def spec.validate(*args); end
spec.add_dependency "b\nfoo", "> 5"