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

Stub module should have a better API check #19

Closed
ingydotnet opened this issue Dec 17, 2014 · 1 comment
Closed

Stub module should have a better API check #19

ingydotnet opened this issue Dec 17, 2014 · 1 comment

Comments

@ingydotnet
Copy link
Owner

Actually the API check is currently too good. It fails every time a new
Inline::Module is installed, thus invalidating the stub.

use Inline::Module 'v1' => '0.23';

It should be changed to:

use Inline::Module 'stub_api' => 'v1';

or

use Inline::Module 'stub_api' => '0.23';

The API version probably only need to change when the stub format changes.

Maybe:

use Inline::Module 'stub' => 'v1';
@ingydotnet
Copy link
Owner Author

Done in 0.24

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

No branches or pull requests

1 participant