losant_rest 1.19.7 → 1.19.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8eff8a92a173bce4e3fce2590775a7446146c18a1960fc2e0aa40fe6701c3f6e
4
- data.tar.gz: c7808635ff3bcce9ffe4806196d8a6ed735106ce642d19bfbf92a5980ab6bf32
3
+ metadata.gz: 8f589eec0c52728041597179d62ee3dd0b2ef0ef76165002f6a011020cd5273b
4
+ data.tar.gz: 01715d94bc5442870a2d0b51c2bb072db1fddd4463737d142e10f0691ce3aa6c
5
5
  SHA512:
6
- metadata.gz: 2a645538e8fc373af09bd747e36b35024f0e875cb4ee77036ded298ec5062bd1a3aef6423739fa9878c849f8fdec7b62409849d5b16b0043b7c818768dd0d5be
7
- data.tar.gz: f72cc2a295e3f37b875655aa2869bc13e56e6dec21be1321c868b266ef208146c537c2636a8b8465041aee4284ff7903f7fed4f4c608f3dc8967116534dcd1d0
6
+ metadata.gz: 8a3be246e3cf8d75e64e00ab28df871acb94ff6c61a87707cdd452f2b49b62deac1e91183913f5878621bb720d540db08b813abf3a66341cb16d7161ac330c84
7
+ data.tar.gz: c9b6c668d89e5eb1386f699140d18cf66b39847c40f92b2abadca756a36c73651b3e93943618f230a4fc77e362f5756541f2a77f4f9852fcb2ebee295621ff80
@@ -0,0 +1,30 @@
1
+ name: Run Tests
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types: ['opened', 'reopened', 'synchronize']
9
+
10
+ jobs:
11
+ test:
12
+ strategy:
13
+ matrix:
14
+ ruby: [ '2.5', '2.4', '2.3', '2.1' ]
15
+ runs-on: ubuntu-latest
16
+ permissions:
17
+ actions: write
18
+ contents: read
19
+ pull-requests: write
20
+ steps:
21
+ - name: Checkout
22
+ uses: actions/checkout@v4
23
+ - name: Set up Ruby ${{ matrix.ruby }}
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: ${{ matrix.ruby }}
27
+ - name: Install dependencies
28
+ run: bundle install
29
+ - name: Run tests
30
+ run: bundle exec rake
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Losant Ruby REST API Client
2
2
 
3
- [![Build Status](https://travis-ci.com/Losant/losant-rest-ruby.svg?branch=master)](https://travis-ci.com/Losant/losant-rest-ruby) [![Gem Version](https://badge.fury.io/rb/losant_rest.svg)](https://badge.fury.io/rb/losant_rest)
3
+ ![Build Status](https://github.com/Losant/losant-rest-js/actions/workflows/test.yml/badge.svg?branch=master) [![Gem Version](https://badge.fury.io/rb/losant_rest.svg)](https://badge.fury.io/rb/losant_rest)
4
4
 
5
5
  The [Losant](https://www.losant.com) REST API client provides a simple way to use the comprehensive Losant API. You can authenticate either as a Losant device or with your user account, and have access to all the functionality of the Losant platform.
6
6
 
@@ -23,7 +23,7 @@ gem install losant_rest
23
23
  Below is a high-level example of using the Losant Ruby REST API client to authenticate against the Losant Platform and report state for a device.
24
24
 
25
25
  ```ruby
26
- require "losant_rest"
26
+ require "platform_rest"
27
27
 
28
28
  response = PlatformRest.auth.authenticate_device(credentials: {
29
29
  deviceId: "my-device-id",