I'm just thinking out loud here...but maybe it'll help. What things affect speed?
1) overall weight of a bike
2) rotation mass of the bike
3) rolling resistance of tires
4) fit/position
5) aerodynamics
6) drivetrain drag
7) gearing
Anything else I'm missing? Weight affect your speed on relatively flat routes is negligible...so rule out #1 unless you're route is very hilly. So how about the wheel/tire/tube combo? Does the new bike have a lighter package? Or heavier? What psi are you inflate to? Does this bike have wider or skinnier tires? Does the tire/tube combo yield lower or higher rolling resistance?
How is the fit on the Ruby compared to the 1.2? More relaxed? More aggressive? Are the seat heights the same? How about crankarm lengths? Crankarm length won't make a big difference...and in the cycling world, 1.5mph (from 15.5 down to 14) is GARGANTUAN!!!!!!!!!! But you definitely don't want to be turning a crank that's too long for you as that could lead to knee problems.
Regarding aerodynamics...they're both roadbikes...so he difference is negligible. Unless the position on the ruby is very very relaxed compared to the 1.2...in which case, aerodynamics of your fit could play a very very non-trivial role.
Drivetrain drag? Double check those brakes to make sure they're not rubbing. Wheels should turn easily and freely...bearings should be well greased. Same with bottom bracket. And the chain. Sometimes, on a new bike, it make take several rides for everything to loosen up.
Gearing...I think might be playing a small role. You went from your Trek with a 50-39-30 crank and 11-26 cassette to the Ruby with a compact 50-36 with a 12-27 cassette. The highest gear ratio on the Trek is the 50-11 combo (8.9)...highest on the Specialized is the 50-12 combo (8.2). So all things being equal (tires, tubes, pressure, rotational mass, your power and cadence,ect)...if you were able to maintain a 60RPM cadence, you'd be going 21.3mph on the Trek and 19.5mph on the Specialized. A difference of 1.8mph...similar to the speed disparity you've been noticing.
So if it's gearing...how can you change it? Get a 11-28 cassette for the Ruby. That'll give you a high end ratio of 8.9 (just like your Trek)...and a low end of 2.5 (pretty close to the 2.3 you can achieve with the Trek) for the hills.

