losant_rest 1.19.6 → 1.19.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +30 -0
  3. data/README.md +2 -2
  4. data/docs/_schemas.md +7742 -2728
  5. data/docs/devices.md +0 -1
  6. data/docs/experienceUsers.md +1 -0
  7. data/docs/instanceOrgs.md +1 -0
  8. data/lib/platform_rest/client.rb +2 -2
  9. data/lib/platform_rest/devices.rb +0 -1
  10. data/lib/platform_rest/experience_users.rb +3 -0
  11. data/lib/platform_rest/instance_orgs.rb +3 -0
  12. data/lib/platform_rest/version.rb +1 -1
  13. data/schemas/advancedExperienceUserQuery.json +1068 -0
  14. data/schemas/advancedInstanceOrgQuery.json +1171 -0
  15. data/schemas/applicationDashboardPost.json +7 -0
  16. data/schemas/credential.json +52 -1
  17. data/schemas/credentialLinkedResources.json +345 -24
  18. data/schemas/credentialPatch.json +62 -0
  19. data/schemas/credentialPost.json +74 -1
  20. data/schemas/credentials.json +52 -1
  21. data/schemas/dashboard.json +7 -0
  22. data/schemas/dashboardPatch.json +7 -0
  23. data/schemas/dashboardPost.json +7 -0
  24. data/schemas/dashboards.json +7 -0
  25. data/schemas/devicesExportPost.json +8 -0
  26. data/schemas/devicesRemoveDataPost.json +10 -0
  27. data/schemas/experienceLinkedResources.json +356 -24
  28. data/schemas/experienceVersion.json +64 -0
  29. data/schemas/experienceVersionPatch.json +64 -0
  30. data/schemas/experienceVersionPost.json +64 -0
  31. data/schemas/experienceVersions.json +64 -0
  32. data/schemas/experienceView.json +11 -0
  33. data/schemas/experienceViewPatch.json +11 -0
  34. data/schemas/experienceViewPost.json +11 -0
  35. data/schemas/experienceViews.json +11 -0
  36. data/schemas/flow.json +115 -8
  37. data/schemas/flowPatch.json +115 -8
  38. data/schemas/flowPost.json +115 -8
  39. data/schemas/flowVersion.json +230 -16
  40. data/schemas/flowVersionPost.json +115 -8
  41. data/schemas/flowVersions.json +230 -16
  42. data/schemas/flows.json +115 -8
  43. data/schemas/flowsImportPost.json +230 -16
  44. data/schemas/flowsImportResult.json +345 -24
  45. data/schemas/instanceCustomNode.json +2 -1
  46. data/schemas/instanceCustomNodePatch.json +3 -9
  47. data/schemas/instanceCustomNodePost.json +3 -9
  48. data/schemas/instanceCustomNodes.json +2 -1
  49. data/schemas/notebook.json +8 -0
  50. data/schemas/notebookPatch.json +8 -0
  51. data/schemas/notebookPost.json +8 -0
  52. data/schemas/notebooks.json +8 -0
  53. data/schemas/resourceJob.json +2 -1
  54. data/schemas/resourceJobExecutionLogs.json +2 -1
  55. data/schemas/resourceJobPost.json +2 -1
  56. data/schemas/resourceJobs.json +2 -1
  57. metadata +5 -3
  58. data/.travis.yml +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 11b8f754c4cae633d624535631c52ce0bdf2896b4b3c8a15df672dbf03d4bd85
4
- data.tar.gz: 1605887003b6d8813babf099b1545749a24488932b95785902b4afa745b4cf62
3
+ metadata.gz: 8f589eec0c52728041597179d62ee3dd0b2ef0ef76165002f6a011020cd5273b
4
+ data.tar.gz: 01715d94bc5442870a2d0b51c2bb072db1fddd4463737d142e10f0691ce3aa6c
5
5
  SHA512:
6
- metadata.gz: 8e9849f12811268e4fb268b82dc7bccd70f6f7b32fca94364e2799616dec5718d37cc2166b9fb18c2417cc76c662497a4bfe47555100ec1097291b7657b48975
7
- data.tar.gz: 3f77b18aad1fbba360ea42ac90cde8ff2d079cf96adbdc5dcd2121a9075283ef20024d4a8a389974846d2e2885d72f2325f1d9a3842dcfa1fa2caa17931caf57
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",