Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

Changing Forecast::IO to ForecastIO to avoid naming collisions #5

Merged
merged 1 commit into from Jul 5, 2013

Conversation

pat
Copy link
Contributor

@pat pat commented Jul 3, 2013

As discussed in an earlier comment, here's the pull request with the namespacing change.

Generally I feel gems should have namespaces matching their names, and make a reasonable attempt to avoid collisions with commonly named objects in others' code. Granted, this change will require a serious bump to the version number - probably to 2.0.

If you don't want to merge this in, keen to hear reasons why :)

@czarneckid
Copy link
Contributor

Can you rebase and squash so I can automatically merge the pull request? Thanks.

This avoids namespacing issues with other projects (e.g. Rails apps) with classes called Forecast.

Forgot the IO suffix in version file.

Merge fix.

Updating new docs with new namespace.
@pat
Copy link
Contributor Author

pat commented Jul 4, 2013

Done.

czarneckid added a commit that referenced this pull request Jul 5, 2013
Changing Forecast::IO to ForecastIO to avoid naming collisions
@czarneckid czarneckid merged commit 3b7c962 into darkskyapp:master Jul 5, 2013
@czarneckid
Copy link
Contributor

@pat Thanks again for the pull request. Release 2.0.0 earlier today, https://twitter.com/CzarneckiD/status/353177951921111040

@pat
Copy link
Contributor Author

pat commented Jul 6, 2013

Thanks David, really appreciate both the quick merge and quick 2.0 release :)

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

Successfully merging this pull request may close these issues.

None yet

2 participants