summaryrefslogtreecommitdiff
path: root/jni/ruby/test/rubygems/plugin
diff options
context:
space:
mode:
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')