Changed ruby version from 1.9.3-p327 to 1.9.3-p374. Added encrypted environment variables to travis yml