Update gemspec and add line codec as dependency