summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rubygems/plugin
diff options
context:
space:
mode:
authorJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-16 18:49:26 +0900
committerJari Vetoniemi <jari.vetoniemi@indooratlas.com>2020-03-30 00:39:06 +0900
commitfcbf63e62c627deae76c1b8cb8c0876c536ed811 (patch)
tree64cb17de3f41a2b6fef2368028fbd00349946994 /jni/ruby/test/rubygems/plugin
Fresh start
Diffstat (limited to 'jni/ruby/test/rubygems/plugin')
-rw-r--r--jni/ruby/test/rubygems/plugin/exception/rubygems_plugin.rb2
-rw-r--r--jni/ruby/test/rubygems/plugin/load/rubygems_plugin.rb3
-rw-r--r--jni/ruby/test/rubygems/plugin/standarderror/rubygems_plugin.rb2
3 files changed, 7 insertions, 0 deletions
diff --git a/jni/ruby/test/rubygems/plugin/exception/rubygems_plugin.rb b/jni/ruby/test/rubygems/plugin/exception/rubygems_plugin.rb
new file mode 100644
index 0000000..16c417e
--- /dev/null
+++ b/jni/ruby/test/rubygems/plugin/exception/rubygems_plugin.rb
@@ -0,0 +1,2 @@
+TestGem::TEST_PLUGIN_EXCEPTION = :loaded
+raise Exception.new('boom')
diff --git a/jni/ruby/test/rubygems/plugin/load/rubygems_plugin.rb b/jni/ruby/test/rubygems/plugin/load/rubygems_plugin.rb
new file mode 100644
index 0000000..c7c7277
--- /dev/null
+++ b/jni/ruby/test/rubygems/plugin/load/rubygems_plugin.rb
@@ -0,0 +1,3 @@
+class TestGem
+ TEST_PLUGIN_LOAD = :loaded
+end
diff --git a/jni/ruby/test/rubygems/plugin/standarderror/rubygems_plugin.rb b/jni/ruby/test/rubygems/plugin/standarderror/rubygems_plugin.rb
new file mode 100644
index 0000000..4b577a6
--- /dev/null
+++ b/jni/ruby/test/rubygems/plugin/standarderror/rubygems_plugin.rb
@@ -0,0 +1,2 @@
+TestGem::TEST_PLUGIN_STANDARDERROR = :loaded
+raise StandardError.new('boom')