It is my understanding that you can ship firearms directly to manufacturer, but have to use FedEx or UPS, and they can ship it directly back to you. To be safe, I would advise Ruger that IF they send you a replacement with different serial number, that they need to ship to an FFL. In my buddy's case, I believe the first he learned about being sent a new handgun as warranty replacement was when the LGS called him to let him know they got the gun back from Sig and that he had to register like a new firearm. I doubt Ruger knows the local laws, so best to be safe and communicate with them.
For when I sent my handgun back to HK for service, I was given the option to ship directly via FedEx and UPS. I ended up going through a LGS/FFL and they sent via USPS to be safe. HK ended up swapping trigger group, so same gun was sent back.