We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f21c4 commit d999a78Copy full SHA for d999a78
1 file changed
lib/sanger-jsonapi-resources.rb
@@ -0,0 +1,7 @@
1
+# As we are packaging 'sanger-jsonapi-resources' as a separate gem, RubyGems expects
2
+# the main file to be 'lib/sanger-jsonapi-resources.rb' to match the gem name.
3
+# Without this file, requiring the gem or Rails autoloading would fail, even if the internal code is unchanged.
4
+# This file exists to ensure compatibility with RubyGems and Bundler.
5
+# The easiest solution is to use this wrapper file, which simply requires the original 'jsonapi-resources' code,
6
+# so all internal references and modules remain unchanged and compatible.
7
+require_relative 'jsonapi-resources'
0 commit comments