Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 508 Bytes

UPDATING.md

File metadata and controls

24 lines (16 loc) · 508 Bytes

How-To Update Bindings When gtfs-realtime.proto Changes

Regenerate the language binding source from gtfs-realtime.proto.

protoc --ruby_out=lib/google/transit --proto_path=.. ../gtfs-realtime.proto

Add the license header back to the generated source file.

Test the generated code:

rspec

Update the version number in gtfs-realtime-bindings.gemspec.

Build and deploy the gem to rubygems.org

gem build gtfs-realtime-bindings.gemspec
gem push gtfs-realtime-bindings-0.0.1.gem