You've not given the mass and density of the objects (gas giant and rock-like object) of either scenario; therefore it cannot be determined...
http://en.wikipedia.org/wiki/Roche_limit
Unless you would perhaps know of a solution, in which case, please enlighten me.
Dana