Oh. Sorry I thought you were further along given some of the questions you had asked me privately.
I’ll add another post to the Example thread with the changes, but you did paste in the extra methods okay.
However, … somehow you deleted the class method
activate, so …
… needs to be pasted back into the tool class.
Note that this class method is separate and distinct from the class’ instance callback method of the same name.
You need to keep it in the same file and folder structure as I showed in the example rbz.
That is, that the registrar file must have the same name as the extension subfolder, and all the extension’s files (except the registrar) go in the subfolder.
The zipped RBZ usually has “_” and the version appended to the end of the name before the “.rbz”.
After installing the “Plugins” directory look like …
| +--- FaceSniffer_main.rb
| +--- (SomeOtherPlugin's files) ...
To zip them, in Windows File Explorer, you display the project folder with the registrar file and it’s same named subfolder, then select both the file and the folder.
You right-click the selection and choose “Send to > Compressed (zipped) folder”. The zip should have the same name as the folder and the registrar file.
Lastly you rename the zip archive by appending “_2.0.0” (or whatever the specific version is,) and change the file type to “.rbz”. (Windows will ask you to confirm the file type change.)
So, you should end up with an archive named something like:
Re the files, you did properly change the top namespace module name, but the registrar file and the folder need to have the “Examples” prefix changed to your namespace name as well.
But you forgot to change the creator (or add your name) and insert a new version and copyright for yourself below mine in the preamble comments of the registrar file. (It’s a MIT License kinda thang.)
You could also have bumped the version to a new major version as this changes behavior of the extension from v1.0.0.