README.md in fcm-0.0.7 vs README.md in fcm-1.0.0
- old
+ new
@@ -17,19 +17,15 @@
## Requirements
For Android you will need a device running 2.3 (or newer) that also have the Google Play Store app installed, or an emulator running Android 2.3 with Google APIs. iOS devices are also supported.
-One of the following, tested Ruby versions:
-- `2.0.0`
-- `2.1.10`
-- `2.2.10`
-- `2.3.8`
-- `2.4.5`
-- `2.5.3`
+A version of supported Ruby, currently:
+`ruby >= 2.4`
+
## Usage
For your server to send a message to one or more devices, you must first initialise a new `FCM` class with your Firebase Cloud Messaging server key, and then call the `send` method on this and give it 1 or more (up to 1000) registration tokens as an array of strings. You can also optionally send further [HTTP message parameters](https://firebase.google.com/docs/cloud-messaging/http-server-ref) like `data` or `time_to_live` etc. as a hash via the second optional argument to `send`.
Example sending notifications:
@@ -172,9 +168,14 @@
You can find a guide to implement an Android Client app to receive notifications here: [Set up a FCM Client App on Android](https://firebase.google.com/docs/cloud-messaging/android/client).
The guide to set up an iOS app to get notifications is here: [Setting up a FCM Client App on iOS](https://firebase.google.com/docs/cloud-messaging/ios/client).
## ChangeLog
+
+### 1.0.0
+
+- Bumped supported ruby to `>= 2.4`
+- Fix deprecation warnings from `faraday` by changing dependency version to `faraday 1.0.0`
### 0.0.7
- replace `httparty` with `faraday`