README.md in motion-firebase-2.0.14 vs README.md in motion-firebase-2.1.0

- old
+ new

@@ -120,14 +120,15 @@ ##### Managing presence ```ruby firebase.online! firebase.offline! - firebase.on_disconnect(value) + firebase.connected_state # returns a Firebase ref that changes value depending on connectivity + firebase.on_disconnect(value) # set the ref to `value` when disconnected firebase.on_disconnect(value) { |error| 'completion block' } - firebase.on_disconnect(value, priority:priority) - firebase.on_disconnect(value, priority:priority) { |error| 'completion block' } + firebase.on_disconnect(value, priority: priority) + firebase.on_disconnect(value, priority: priority) { |error| 'completion block' } firebase.on_disconnect(nil) firebase.on_disconnect(nil) { |error| 'completion block' } firebase.on_disconnect({ child: values }) firebase.on_disconnect({ child: values }) { |error| 'completion block' } firebase.cancel_disconnect @@ -154,9 +155,10 @@ # usually you'll want to monitor its value, so this is a helper for that: handle = firebase.on_auth do |snapshot| end # be a good citizen and turn off the listener later! firebase.off(handle) +``` ##### Transactions ```ruby firebase.run { |data| 'transaction block' }