Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin naming tests #1

Open
e2 opened this issue Jan 14, 2015 · 0 comments
Open

Plugin naming tests #1

e2 opened this issue Jan 14, 2015 · 0 comments
Assignees

Comments

@e2
Copy link
Contributor

e2 commented Jan 14, 2015

Properly test the plugin naming in all combinations (and show warnings/deprecations):

  • converting guard name to guard module (normal scenario)
  • converting guard name to guard gem name (when gem is not required e.g. by Bundler)
  • converting guard gem name to module name (just for the sake of RubyGems)
  • converting gem name to template path (during guard init)
  • converting gem name to guard (for detecting guard presence in guardfile during guard init and guard show)
  • converting guard module to guard gem (for future API)
  • converting guard module to template path (for future API)
  • converting guard module to require path (for future API)
  • using module name as guard name (for future API)
  • using module as guard name (for future API)
  • using project name string as guard name (for future API)

(Best implemented in Guard as e.g. PluginModuleName class representing a symbol containing full namespaced plugin constant - e.g. Guard::Foo::Bar and allowing conversion to-and-from anything else).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant