whatpulse-sdk 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +11 -29
- data/docs/ComputersApi.md +3 -3
- data/docs/MembersApi.md +1 -1
- data/docs/ProfilesApi.md +1 -1
- data/docs/PulsesApi.md +1 -1
- data/docs/SubteamMembersApi.md +1 -1
- data/docs/SubteamsApi.md +1 -1
- data/docs/TeamsApi.md +1 -1
- data/docs/TimeSeriesApi.md +1 -1
- data/docs/UsersApi.md +1 -1
- data/lib/whatpulse-sdk/api/computers_api.rb +2 -2
- data/lib/whatpulse-sdk/configuration.rb +2 -2
- data/lib/whatpulse-sdk/version.rb +1 -1
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/byebug-12.0.0/gem_make.out +4 -4
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/date-3.4.1/gem_make.out +4 -4
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/jaro_winkler-1.5.6/gem_make.out +4 -4
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/psych-5.2.6/gem_make.out +4 -4
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/racc-1.8.1/gem_make.out +4 -4
- data/vendor/bundle/ruby/3.1.0/extensions/x86_64-linux/3.1.0/stringio-3.1.7/gem_make.out +4 -4
- data/whatpulse-sdk.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d871f99b97b69591d4773a3f9272bf52b7825e17f3a1a6293583b3f1a7821b39
|
4
|
+
data.tar.gz: 28ebbe917de29b75fa917c926b08b132c17927897f1e22d550edc2d49b94c92a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4458a70a51df27074c53316376044975861f92160f79fb5ea5a2afddf40277e76eb79c28641f11474749357193c83ec75320bb0fe88df8b3ba86976ce72141b3
|
7
|
+
data.tar.gz: 397a00a21afa62d76b1681579e421b8a5f980b767289a56fcbdea834cfc167bd35e473cab8879ff45e16ea76c4b050f7437ee17b4a918d4aff03e653b75ffde7
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -13,40 +13,22 @@ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-g
|
|
13
13
|
|
14
14
|
## Installation
|
15
15
|
|
16
|
-
|
16
|
+
Add this line to your application's Gemfile:
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
```shell
|
21
|
-
gem build whatpulse-sdk.gemspec
|
18
|
+
```ruby
|
19
|
+
gem 'whatpulse-sdk'
|
22
20
|
```
|
23
21
|
|
24
|
-
|
22
|
+
And then execute:
|
25
23
|
|
26
|
-
```
|
27
|
-
|
24
|
+
```bash
|
25
|
+
bundle install
|
28
26
|
```
|
29
27
|
|
30
|
-
|
31
|
-
|
32
|
-
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
|
-
|
34
|
-
Finally add this to the Gemfile:
|
35
|
-
|
36
|
-
gem 'whatpulse-sdk', '~> 1.0.0'
|
37
|
-
|
38
|
-
### Install from Git
|
39
|
-
|
40
|
-
If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
|
41
|
-
|
42
|
-
gem 'whatpulse-sdk', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
|
43
|
-
|
44
|
-
### Include the Ruby code directly
|
45
|
-
|
46
|
-
Include the Ruby code directly using `-I` as follows:
|
28
|
+
Or install it yourself as:
|
47
29
|
|
48
|
-
```
|
49
|
-
|
30
|
+
```bash
|
31
|
+
gem install whatpulse-sdk
|
50
32
|
```
|
51
33
|
|
52
34
|
## API Key
|
@@ -72,7 +54,7 @@ end
|
|
72
54
|
api_instance = WhatpulseSdk::ComputersApi.new
|
73
55
|
id = 'id_example' # String | User ID or username
|
74
56
|
opts = {
|
75
|
-
is_archived:
|
57
|
+
is_archived: true # Boolean |
|
76
58
|
}
|
77
59
|
|
78
60
|
begin
|
@@ -87,7 +69,7 @@ end
|
|
87
69
|
|
88
70
|
## Documentation for API Endpoints
|
89
71
|
|
90
|
-
All URIs are relative to *https://whatpulse.
|
72
|
+
All URIs are relative to *https://whatpulse.test/api/v1*
|
91
73
|
|
92
74
|
Class | Method | HTTP request | Description
|
93
75
|
------------ | ------------- | ------------- | -------------
|
data/docs/ComputersApi.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# WhatpulseSdk::ComputersApi
|
2
2
|
|
3
|
-
All URIs are relative to *https://whatpulse.
|
3
|
+
All URIs are relative to *https://whatpulse.test/api/v1*
|
4
4
|
|
5
5
|
| Method | HTTP request | Description |
|
6
6
|
| ------ | ------------ | ----------- |
|
@@ -29,7 +29,7 @@ end
|
|
29
29
|
api_instance = WhatpulseSdk::ComputersApi.new
|
30
30
|
id = 'id_example' # String | User ID or username
|
31
31
|
opts = {
|
32
|
-
is_archived:
|
32
|
+
is_archived: true # Boolean |
|
33
33
|
}
|
34
34
|
|
35
35
|
begin
|
@@ -64,7 +64,7 @@ end
|
|
64
64
|
| Name | Type | Description | Notes |
|
65
65
|
| ---- | ---- | ----------- | ----- |
|
66
66
|
| **id** | **String** | User ID or username | |
|
67
|
-
| **is_archived** | **
|
67
|
+
| **is_archived** | **Boolean** | | [optional] |
|
68
68
|
|
69
69
|
### Return type
|
70
70
|
|
data/docs/MembersApi.md
CHANGED
data/docs/ProfilesApi.md
CHANGED
data/docs/PulsesApi.md
CHANGED
data/docs/SubteamMembersApi.md
CHANGED
data/docs/SubteamsApi.md
CHANGED
data/docs/TeamsApi.md
CHANGED
data/docs/TimeSeriesApi.md
CHANGED
data/docs/UsersApi.md
CHANGED
@@ -23,7 +23,7 @@ module WhatpulseSdk
|
|
23
23
|
# Get a list of computers for a specific user. Returns computer information including hardware details if you have the appropriate permissions. You can filter by archived status to show only active or archived computers.
|
24
24
|
# @param id [String] User ID or username
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
-
# @option opts [
|
26
|
+
# @option opts [Boolean] :is_archived
|
27
27
|
# @return [V1UsersComputers200Response]
|
28
28
|
def v1_users_computers(id, opts = {})
|
29
29
|
data, _status_code, _headers = v1_users_computers_with_http_info(id, opts)
|
@@ -34,7 +34,7 @@ module WhatpulseSdk
|
|
34
34
|
# Get a list of computers for a specific user. Returns computer information including hardware details if you have the appropriate permissions. You can filter by archived status to show only active or archived computers.
|
35
35
|
# @param id [String] User ID or username
|
36
36
|
# @param [Hash] opts the optional parameters
|
37
|
-
# @option opts [
|
37
|
+
# @option opts [Boolean] :is_archived
|
38
38
|
# @return [Array<(V1UsersComputers200Response, Integer, Hash)>] V1UsersComputers200Response data, response status code and response headers
|
39
39
|
def v1_users_computers_with_http_info(id, opts = {})
|
40
40
|
if @api_client.config.debugging
|
@@ -158,7 +158,7 @@ module WhatpulseSdk
|
|
158
158
|
|
159
159
|
def initialize
|
160
160
|
@scheme = 'https'
|
161
|
-
@host = 'whatpulse.
|
161
|
+
@host = 'whatpulse.test'
|
162
162
|
@base_path = '/api/v1'
|
163
163
|
@server_index = nil
|
164
164
|
@server_operation_index = {}
|
@@ -258,7 +258,7 @@ module WhatpulseSdk
|
|
258
258
|
def server_settings
|
259
259
|
[
|
260
260
|
{
|
261
|
-
url: "https://whatpulse.
|
261
|
+
url: "https://whatpulse.test/api/v1",
|
262
262
|
description: "No description provided",
|
263
263
|
}
|
264
264
|
]
|
@@ -3,10 +3,10 @@ current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/rub
|
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-6pmun sitelibdir\=./.gem.20250718-1943-6pmun clean
|
7
7
|
|
8
8
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-6pmun sitelibdir\=./.gem.20250718-1943-6pmun
|
10
10
|
compiling breakpoint.c
|
11
11
|
compiling byebug.c
|
12
12
|
byebug.c: In function ‘check_started’:
|
@@ -35,5 +35,5 @@ compiling threads.c
|
|
35
35
|
linking shared-object byebug/byebug.so
|
36
36
|
|
37
37
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/byebug-12.0.0/ext/byebug
|
38
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
39
|
-
/usr/bin/install -c -m 0755 byebug.so ./.gem.20250718-
|
38
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-6pmun sitelibdir\=./.gem.20250718-1943-6pmun install
|
39
|
+
/usr/bin/install -c -m 0755 byebug.so ./.gem.20250718-1943-6pmun/byebug
|
@@ -6,10 +6,10 @@ checking for altzone in time.h with -Werror... no
|
|
6
6
|
creating Makefile
|
7
7
|
|
8
8
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/date-3.4.1/ext/date
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-7fu4sx sitelibdir\=./.gem.20250718-1943-7fu4sx clean
|
10
10
|
|
11
11
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/date-3.4.1/ext/date
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-7fu4sx sitelibdir\=./.gem.20250718-1943-7fu4sx
|
13
13
|
compiling date_core.c
|
14
14
|
compiling date_parse.c
|
15
15
|
compiling date_strftime.c
|
@@ -17,5 +17,5 @@ compiling date_strptime.c
|
|
17
17
|
linking shared-object date_core.so
|
18
18
|
|
19
19
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/date-3.4.1/ext/date
|
20
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
21
|
-
/usr/bin/install -c -m 0755 date_core.so ./.gem.20250718-
|
20
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-7fu4sx sitelibdir\=./.gem.20250718-1943-7fu4sx install
|
21
|
+
/usr/bin/install -c -m 0755 date_core.so ./.gem.20250718-1943-7fu4sx
|
@@ -3,10 +3,10 @@ current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/rub
|
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-nrsy1d sitelibdir\=./.gem.20250718-1943-nrsy1d clean
|
7
7
|
|
8
8
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-nrsy1d sitelibdir\=./.gem.20250718-1943-nrsy1d
|
10
10
|
compiling adj_matrix.c
|
11
11
|
adj_matrix.c: In function ‘adj_matrix_default’:
|
12
12
|
adj_matrix.c:82:12: warning: old-style function definition [-Wold-style-definition]
|
@@ -22,5 +22,5 @@ compiling jaro_winkler.c
|
|
22
22
|
linking shared-object jaro_winkler/jaro_winkler_ext.so
|
23
23
|
|
24
24
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/jaro_winkler-1.5.6/ext/jaro_winkler
|
25
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
26
|
-
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20250718-
|
25
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-nrsy1d sitelibdir\=./.gem.20250718-1943-nrsy1d install
|
26
|
+
/usr/bin/install -c -m 0755 jaro_winkler_ext.so ./.gem.20250718-1943-nrsy1d/jaro_winkler
|
@@ -5,13 +5,13 @@ checking for yaml_get_version() in -lyaml... yes
|
|
5
5
|
creating Makefile
|
6
6
|
|
7
7
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/psych-5.2.6/ext/psych
|
8
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
8
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-mw9opk sitelibdir\=./.gem.20250718-1943-mw9opk clean
|
9
9
|
cd libyaml && make clean
|
10
10
|
/bin/sh: 1: cd: can't cd to libyaml
|
11
11
|
make: [Makefile:282: clean-so] Error 2 (ignored)
|
12
12
|
|
13
13
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/psych-5.2.6/ext/psych
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-mw9opk sitelibdir\=./.gem.20250718-1943-mw9opk
|
15
15
|
compiling psych.c
|
16
16
|
compiling psych_emitter.c
|
17
17
|
compiling psych_parser.c
|
@@ -20,5 +20,5 @@ compiling psych_yaml_tree.c
|
|
20
20
|
linking shared-object psych.so
|
21
21
|
|
22
22
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/psych-5.2.6/ext/psych
|
23
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
24
|
-
/usr/bin/install -c -m 0755 psych.so ./.gem.20250718-
|
23
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-mw9opk sitelibdir\=./.gem.20250718-1943-mw9opk install
|
24
|
+
/usr/bin/install -c -m 0755 psych.so ./.gem.20250718-1943-mw9opk
|
@@ -3,13 +3,13 @@ current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/rub
|
|
3
3
|
creating Makefile
|
4
4
|
|
5
5
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-ffv7u3 sitelibdir\=./.gem.20250718-1943-ffv7u3 clean
|
7
7
|
|
8
8
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-ffv7u3 sitelibdir\=./.gem.20250718-1943-ffv7u3
|
10
10
|
compiling cparse.c
|
11
11
|
linking shared-object racc/cparse.so
|
12
12
|
|
13
13
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/racc-1.8.1/ext/racc/cparse
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.20250718-
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-ffv7u3 sitelibdir\=./.gem.20250718-1943-ffv7u3 install
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20250718-1943-ffv7u3/racc
|
@@ -4,13 +4,13 @@ checking for rb_io_mode_t in ruby/io.h... no
|
|
4
4
|
creating Makefile
|
5
5
|
|
6
6
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/ext/stringio
|
7
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
7
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-cxwvks sitelibdir\=./.gem.20250718-1943-cxwvks clean
|
8
8
|
|
9
9
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/ext/stringio
|
10
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
10
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-cxwvks sitelibdir\=./.gem.20250718-1943-cxwvks
|
11
11
|
compiling stringio.c
|
12
12
|
linking shared-object stringio.so
|
13
13
|
|
14
14
|
current directory: /home/runner/work/api-sdk-ruby/api-sdk-ruby/vendor/bundle/ruby/3.1.0/gems/stringio-3.1.7/ext/stringio
|
15
|
-
make DESTDIR\= sitearchdir\=./.gem.20250718-
|
16
|
-
/usr/bin/install -c -m 0755 stringio.so ./.gem.20250718-
|
15
|
+
make DESTDIR\= sitearchdir\=./.gem.20250718-1943-cxwvks sitelibdir\=./.gem.20250718-1943-cxwvks install
|
16
|
+
/usr/bin/install -c -m 0755 stringio.so ./.gem.20250718-1943-cxwvks
|
data/whatpulse-sdk.gemspec
CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
s.version = WhatpulseSdk::VERSION
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["WhatPulse"]
|
23
|
-
s.email = [""]
|
23
|
+
s.email = ["support@whatpulse.org"]
|
24
24
|
s.homepage = "https://whatpulse.org"
|
25
25
|
s.summary = "WhatPulse API Ruby Gem"
|
26
26
|
s.description = "Public API for WhatPulse user data access. This API allows authenticated users to access their own data and public data from other users, depending on privacy settings."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: whatpulse-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- WhatPulse
|
@@ -54,7 +54,7 @@ description: Public API for WhatPulse user data access. This API allows authenti
|
|
54
54
|
users to access their own data and public data from other users, depending on privacy
|
55
55
|
settings.
|
56
56
|
email:
|
57
|
-
-
|
57
|
+
- support@whatpulse.org
|
58
58
|
executables: []
|
59
59
|
extensions: []
|
60
60
|
extra_rdoc_files: []
|