Fix example programs for TS2
Update gemspec