Check out Fingerboard Harmony For Bass by Gary Willis.
Hal Leonard HL00695043
ISBN 0-7935-6043-8
It's not so much scale-oriented (I don't think you'll be required to play scales on a single string in a real-world situation

), but focuses on playing bass lines over chords and chord changes.
Highly recommended.