sul-dlss / rgeoserver

RGeoServer is a Ruby client for the GeoServer RESTful Configuration interface.
4 stars 3 forks source link

remove dependency on mime-types #2

Closed karlsvec closed 9 years ago

karlsvec commented 9 years ago

mime-types doesn't appear to actually be used directly anywhere in rgeoserver, so remove it as a dependency.

This change is necessary to use rgeoserver in environments where you don't control what rest-client version you have. My example use case is Chef, where I use rgeoserver to automatically configure a GeoServer in a Chef recipe. Recent versions of Chef come with rest-client 1.6.7, I believe, which is incompatible with mime-types 2.x.

Since rgeoserver already depends on rest-client, just let that determine which version of mime-types to install.