Skip to content

Plugin naming tests #1

@e2

Description

@e2

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).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions