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

Relax pronto version restriction #4

Conversation

hlascelles
Copy link
Contributor

There isn't really a need to lock to a minor pronto version, and when using many pronto support gems, the chances of updating when one moves to a new minor version of pronto become very small.

@hlascelles
Copy link
Contributor Author

Ah, I've just seen there may be a breaking change for this (which should have been a new major version of pronto I guess).

I'll close this PR, but look forward to a new version of pronto-jscs.

@hlascelles hlascelles closed this May 3, 2016
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']

spec.add_runtime_dependency('pronto', '~> 0.5.0')
spec.add_runtime_dependency('pronto', '~> 0.5')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

~> 0.5.0 and ~> 0.5 are both equal, as ~> allows minor version to go up.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little different...

~> 0.5.0 will allow 0.5.0, 0.5.1, 0.5.2 ... 0.5.9999 but that's it.
~> 0.5 will allow 0.5.0, 0.5.1, 0.5.2 ... 0.6.0, 0.6.1, 0.6.2 ... 0.9999.9999

Right now, for example, the latest version of pronto is 0.6.0, but pronto-jscs cannot use it. (Which is lucky, in this case, as pronto has a breaking method signature change in a minor version update (0.5.0 - 0.6.0), which shouldn't happen).

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, wasn't aware of that. Anyway, #1 prevents using pronto-jscs with pronto 0.6.x for now.

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

Successfully merging this pull request may close these issues.

None yet

2 participants