Re:The most important tool for Ruby/Rails on *nix
by nwmcsween on Sunday April 29, 2012 @03:15AM
(#3905378)
Or perhaps gem developers can not use hard dependencies i.e add_dependency('foobar' '1.2.3') and program based on the exposed interface. Maybe then versioning can become irrelevant and API breakage can be inferred (as can be done with c minus dl*, system and such).
[ Parent
| on HN ]
Re:The most important tool for Ruby/Rails on *nix
by regularfry on Sunday April 29, 2012 @03:26AM
(#3905397)
How would you suggest getting them to do that, though? We've already got semver and the '~>' operator for rough version matching which should enable what you're saying. How do we get the people who aren't using semver to switch to it, or something equivalent?
Re:The most important tool for Ruby/Rails on *nix
by nwmcsween on Sunday April 29, 2012 @03:37AM
(#3905408)
Follow 'semantic versioning' or even better build a table of what is used and limit to a non api missmatch thus no version.
Re:The most important tool for Ruby/Rails on *nix
by regularfry on Sunday April 29, 2012 @04:14AM
(#3905482)
Right, but again, how do we convince people to do this? The tools are there, but people aren't using them. I don't disagree that it would be better if they did, but I don't see a plan for increasing uptake.