summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/languages/ruby
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/languages/ruby')
-rw-r--r--t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/debian/control.in19
-rw-r--r--t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/fill-values3
-rw-r--r--t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/desc2
-rw-r--r--t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/hints1
-rw-r--r--t/recipes/checks/languages/ruby/gem-homepage/build-spec/fill-values4
-rw-r--r--t/recipes/checks/languages/ruby/gem-homepage/eval/desc4
-rw-r--r--t/recipes/checks/languages/ruby/gem-homepage/eval/hints1
7 files changed, 34 insertions, 0 deletions
diff --git a/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/debian/control.in b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/debian/control.in
new file mode 100644
index 0000000..3314890
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/debian/control.in
@@ -0,0 +1,19 @@
+Source: [% $source %]
+Priority: [% $priority %]
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: [% $rules_requires_root %]
+Homepage: [% $homepage %]
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Pre-Depends: ${misc:Pre-Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ ruby-interpreter
+Description: [% $description %]
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
diff --git a/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/fill-values b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/fill-values
new file mode 100644
index 0000000..c5145db
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: depends-on-ruby-interpreter
+Description: Depends on ruby-interpreter
diff --git a/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/desc b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/desc
new file mode 100644
index 0000000..d93d1cc
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/desc
@@ -0,0 +1,2 @@
+Testname: depends-on-ruby-interpreter
+Check: languages/ruby
diff --git a/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/hints b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/hints
new file mode 100644
index 0000000..205367a
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/depends-on-ruby-interpreter/eval/hints
@@ -0,0 +1 @@
+depends-on-ruby-interpreter (binary): ruby-interpreter-is-deprecated ruby-interpreter
diff --git a/t/recipes/checks/languages/ruby/gem-homepage/build-spec/fill-values b/t/recipes/checks/languages/ruby/gem-homepage/build-spec/fill-values
new file mode 100644
index 0000000..068c444
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/gem-homepage/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: source-native
+Testname: gem-homepage
+Description: Homepage points to a Rubygem
+Homepage: https://rubygems.org/gems/some-gem/
diff --git a/t/recipes/checks/languages/ruby/gem-homepage/eval/desc b/t/recipes/checks/languages/ruby/gem-homepage/eval/desc
new file mode 100644
index 0000000..724a15d
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/gem-homepage/eval/desc
@@ -0,0 +1,4 @@
+Testname: gem-homepage
+Check: languages/ruby
+See-Also:
+ Bug#981935
diff --git a/t/recipes/checks/languages/ruby/gem-homepage/eval/hints b/t/recipes/checks/languages/ruby/gem-homepage/eval/hints
new file mode 100644
index 0000000..cc499af
--- /dev/null
+++ b/t/recipes/checks/languages/ruby/gem-homepage/eval/hints
@@ -0,0 +1 @@
+gem-homepage (source): rubygem-homepage https://rubygems.org/gems/some-gem/