seems that plugins are not "really" name-spaces at least in terms of files put on the $LOAD_PATH
e.g. killbill-stripe gem provides stripe.rb on the load-path which is fine but could be slightly better (esp. since it introduces a Killbill::Stripe and not Stripe constant)
the gem convention is that the name killbill-stripe would map to loading killbill/stripe.rb or killbill-stripe.rb (already supported by JRubyPlugin) ... it's probably not an issue for existing plugins but some of the AM supported GW are calling for a potential collision course e.g. eway.rb, balanced.rb, quickpay.rb
seems that it's not hard to support new plugins to be generated, JRubyPlugin can be updated to support the require name.gsub('-', '/') convention
seems that plugins are not "really" name-spaces at least in terms of files put on the
$LOAD_PATH
e.g. killbill-stripe gem provides stripe.rb on the load-path which is fine but could be slightly better (esp. since it introduces a
Killbill::Stripe
and notStripe
constant)the gem convention is that the name killbill-stripe would map to loading killbill/stripe.rb or killbill-stripe.rb (already supported by JRubyPlugin) ... it's probably not an issue for existing plugins but some of the AM supported GW are calling for a potential collision course e.g. eway.rb, balanced.rb, quickpay.rb
seems that it's not hard to support new plugins to be generated, JRubyPlugin can be updated to support the
require name.gsub('-', '/')
convention