I think in 98% of the cases, DRY is better. that does not mean readability should be sacrificed.
The rule of thumb is to not over complexify when there is no gain.

like the effort to be DRY on line 12 of this diff was not adding value.

https://github.com/mdsol/eureka-client/commit/4e8c87ccfba549b6da0fad2f8f3c51730b4b15eb#eureka-client.gemspec#L12