Most definitely worth the upgrade, especially for productivity. You're looking at 2.5x to 3.0x the MT performance, so highly threaded apps will benefit greatly.
For gaming, it depends on the title. Older games or ones that depend more on single threaded performance won't see much of an upgrade. More modern titles that can take advantage of the extra cores and threads will run much better on the 2700X.
The IPC difference favors Ryzen still quite a bit, a 2500k will see an across the board improvement moving to 2600x and up.