Update MIGRATING.md

This commit is contained in:
Sai Cheemalapati 2017-02-13 15:44:34 -08:00 committed by GitHub
parent c02e9927d4
commit e96ebabd42
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,16 @@
# Migrating from version `0.9.x` to `0.10`
Only one minor breaking change was introduced in the `to_json` method due to a version bump for the `representable` gem from `2.3` to `3.0`. If you used the `skip_undefined` in `to_json`, you should replace that with `user_options: { skip_undefined: true }`.
ex:
```ruby
foo.to_json(skip_undefined: true)
```
to
```ruby
foo.to_json(user_options: { skip_undefined: true })
```
# Migrating from version `0.8.x` to `0.9` # Migrating from version `0.8.x` to `0.9`
Many changes and improvements have been made to the `google-api-ruby-client` Many changes and improvements have been made to the `google-api-ruby-client`