quake_timesheets_client 0.1.2 → 0.1.3
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 +74 -0
- data/README.md +4 -4
- data/lib/quake_timesheets_client/version.rb +1 -1
- data/ruby.config.yaml +1 -1
- metadata +13 -14
- data/commands +0 -13
- data/quake_timesheets_client-0.1.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0cf1f183e5a5205c00a19635235d92f5d28d2e956021182565b049fe63269a77
|
|
4
|
+
data.tar.gz: 5dae5326f1f1b915ba4fdc4183ca8e41145d710a5c2d66b2895314afae46f34d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 197ce471347f5ac49083f9b1446137d05d42ba5af28170db60c7efa3b389e87255692386f7a5524850099ec6962b1f5238599cd7ce7d4da022ec13029a931245
|
|
7
|
+
data.tar.gz: 67b843c5d36ffaa07661ae6fcc6b716827095999f4ea773c6aba1ea07643d21b43bcd5315b519995d22c58e52976991e15153e3b617af2e36f43c5931b958484
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
quake_timesheets_client (0.1.3)
|
|
5
|
+
faraday (~> 1.0, >= 1.0.1)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
ast (2.4.2)
|
|
11
|
+
byebug (11.1.3)
|
|
12
|
+
coderay (1.1.3)
|
|
13
|
+
diff-lcs (1.4.4)
|
|
14
|
+
faraday (1.4.1)
|
|
15
|
+
faraday-excon (~> 1.1)
|
|
16
|
+
faraday-net_http (~> 1.0)
|
|
17
|
+
faraday-net_http_persistent (~> 1.1)
|
|
18
|
+
multipart-post (>= 1.2, < 3)
|
|
19
|
+
ruby2_keywords (>= 0.0.4)
|
|
20
|
+
faraday-excon (1.1.0)
|
|
21
|
+
faraday-net_http (1.0.1)
|
|
22
|
+
faraday-net_http_persistent (1.1.0)
|
|
23
|
+
jaro_winkler (1.5.4)
|
|
24
|
+
method_source (1.0.0)
|
|
25
|
+
multipart-post (2.1.1)
|
|
26
|
+
parallel (1.20.1)
|
|
27
|
+
parser (3.0.1.1)
|
|
28
|
+
ast (~> 2.4.1)
|
|
29
|
+
pry (0.13.1)
|
|
30
|
+
coderay (~> 1.1)
|
|
31
|
+
method_source (~> 1.0)
|
|
32
|
+
pry-byebug (3.9.0)
|
|
33
|
+
byebug (~> 11.0)
|
|
34
|
+
pry (~> 0.13.0)
|
|
35
|
+
psych (3.3.1)
|
|
36
|
+
rainbow (3.0.0)
|
|
37
|
+
rake (13.0.3)
|
|
38
|
+
rspec (3.10.0)
|
|
39
|
+
rspec-core (~> 3.10.0)
|
|
40
|
+
rspec-expectations (~> 3.10.0)
|
|
41
|
+
rspec-mocks (~> 3.10.0)
|
|
42
|
+
rspec-core (3.10.1)
|
|
43
|
+
rspec-support (~> 3.10.0)
|
|
44
|
+
rspec-expectations (3.10.1)
|
|
45
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
46
|
+
rspec-support (~> 3.10.0)
|
|
47
|
+
rspec-mocks (3.10.2)
|
|
48
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
49
|
+
rspec-support (~> 3.10.0)
|
|
50
|
+
rspec-support (3.10.2)
|
|
51
|
+
rubocop (0.66.0)
|
|
52
|
+
jaro_winkler (~> 1.5.1)
|
|
53
|
+
parallel (~> 1.10)
|
|
54
|
+
parser (>= 2.5, != 2.5.1.1)
|
|
55
|
+
psych (>= 3.1.0)
|
|
56
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
57
|
+
ruby-progressbar (~> 1.7)
|
|
58
|
+
unicode-display_width (>= 1.4.0, < 1.6)
|
|
59
|
+
ruby-progressbar (1.11.0)
|
|
60
|
+
ruby2_keywords (0.0.4)
|
|
61
|
+
unicode-display_width (1.5.0)
|
|
62
|
+
|
|
63
|
+
PLATFORMS
|
|
64
|
+
x86_64-linux
|
|
65
|
+
|
|
66
|
+
DEPENDENCIES
|
|
67
|
+
pry-byebug
|
|
68
|
+
quake_timesheets_client!
|
|
69
|
+
rake (~> 13.0.1)
|
|
70
|
+
rspec (~> 3.6, >= 3.6.0)
|
|
71
|
+
rubocop (~> 0.66.0)
|
|
72
|
+
|
|
73
|
+
BUNDLED WITH
|
|
74
|
+
2.2.17
|
data/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Quake::Timesheets - the Ruby gem for the TimesheetsApi (params in:body)
|
|
|
9
9
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
10
10
|
|
|
11
11
|
- API version: 1.0
|
|
12
|
-
- Package version: 0.1.
|
|
12
|
+
- Package version: 0.1.3
|
|
13
13
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
14
14
|
|
|
15
15
|
## Generating
|
|
@@ -37,16 +37,16 @@ gem build quake_timesheets_client.gemspec
|
|
|
37
37
|
Then either install the gem locally:
|
|
38
38
|
|
|
39
39
|
```shell
|
|
40
|
-
gem install ./quake_timesheets_client-0.1.
|
|
40
|
+
gem install ./quake_timesheets_client-0.1.3.gem
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
-
(for development, run `gem install --dev ./quake_timesheets_client-0.1.
|
|
43
|
+
(for development, run `gem install --dev ./quake_timesheets_client-0.1.3.gem` to install the development dependencies)
|
|
44
44
|
|
|
45
45
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
46
46
|
|
|
47
47
|
Finally add this to the Gemfile:
|
|
48
48
|
|
|
49
|
-
gem 'quake_timesheets_client', '~> 0.1.
|
|
49
|
+
gem 'quake_timesheets_client', '~> 0.1.3'
|
|
50
50
|
|
|
51
51
|
### Install from Git
|
|
52
52
|
|
data/ruby.config.yaml
CHANGED
|
@@ -4,7 +4,7 @@ gemHomepage: https://www.quake.co.uk
|
|
|
4
4
|
gemSummary: A client for the Quake Timesheets API
|
|
5
5
|
gemDescription: Requires the Quake Timesheets system
|
|
6
6
|
gemLicense: MIT
|
|
7
|
-
gemVersion: 0.1.
|
|
7
|
+
gemVersion: 0.1.3
|
|
8
8
|
gemRequiredRubyVersion: ">= 2.7"
|
|
9
9
|
library: faraday
|
|
10
10
|
moduleName: Quake::Timesheets
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: quake_timesheets_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -59,10 +59,10 @@ extra_rdoc_files: []
|
|
|
59
59
|
files:
|
|
60
60
|
- GENERATING_README.md
|
|
61
61
|
- Gemfile
|
|
62
|
+
- Gemfile.lock
|
|
62
63
|
- README.md
|
|
63
64
|
- Rakefile
|
|
64
65
|
- build.sh
|
|
65
|
-
- commands
|
|
66
66
|
- docs/Approval.md
|
|
67
67
|
- docs/ApprovalType.md
|
|
68
68
|
- docs/ApprovalTypesApi.md
|
|
@@ -101,7 +101,6 @@ files:
|
|
|
101
101
|
- lib/quake_timesheets_client/models/person.rb
|
|
102
102
|
- lib/quake_timesheets_client/models/update_entries_input.rb
|
|
103
103
|
- lib/quake_timesheets_client/version.rb
|
|
104
|
-
- quake_timesheets_client-0.1.1.gem
|
|
105
104
|
- quake_timesheets_client.gemspec
|
|
106
105
|
- ruby-templates/README.mustache
|
|
107
106
|
- ruby-templates/api.mustache
|
|
@@ -149,27 +148,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
149
148
|
- !ruby/object:Gem::Version
|
|
150
149
|
version: '0'
|
|
151
150
|
requirements: []
|
|
152
|
-
rubygems_version: 3.1.
|
|
151
|
+
rubygems_version: 3.1.6
|
|
153
152
|
signing_key:
|
|
154
153
|
specification_version: 4
|
|
155
154
|
summary: A client for the Quake Timesheets API
|
|
156
155
|
test_files:
|
|
157
|
-
- spec/api/
|
|
156
|
+
- spec/api/people_api_spec.rb
|
|
157
|
+
- spec/api/approval_types_api_spec.rb
|
|
158
158
|
- spec/api/entries_api_spec.rb
|
|
159
159
|
- spec/api/datasets_api_spec.rb
|
|
160
|
-
- spec/api/
|
|
161
|
-
- spec/api/people_api_spec.rb
|
|
160
|
+
- spec/api/approvals_api_spec.rb
|
|
162
161
|
- spec/api_client_spec.rb
|
|
163
162
|
- spec/configuration_spec.rb
|
|
164
|
-
- spec/models/
|
|
163
|
+
- spec/models/approval_type_spec.rb
|
|
164
|
+
- spec/models/approval_spec.rb
|
|
165
|
+
- spec/models/create_datasets_input_spec.rb
|
|
165
166
|
- spec/models/entry_spec.rb
|
|
166
167
|
- spec/models/dataset_spec.rb
|
|
167
|
-
- spec/models/create_people_input_spec.rb
|
|
168
|
-
- spec/models/person_spec.rb
|
|
169
|
-
- spec/models/approval_type_spec.rb
|
|
170
|
-
- spec/models/create_entries_input_spec.rb
|
|
171
168
|
- spec/models/create_approvals_input_spec.rb
|
|
169
|
+
- spec/models/person_spec.rb
|
|
172
170
|
- spec/models/update_entries_input_spec.rb
|
|
173
|
-
- spec/models/
|
|
174
|
-
- spec/models/
|
|
171
|
+
- spec/models/create_people_input_spec.rb
|
|
172
|
+
- spec/models/create_approval_types_input_spec.rb
|
|
173
|
+
- spec/models/create_entries_input_spec.rb
|
|
175
174
|
- spec/spec_helper.rb
|
data/commands
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
require 'quake_timesheets_client'
|
|
2
|
-
|
|
3
|
-
config = Quake::Timesheets::Configuration.new
|
|
4
|
-
config.api_key['authToken'] = 'supersecretkey'
|
|
5
|
-
|
|
6
|
-
config.server_settings = [{url: 'http://localhost:3000'}]
|
|
7
|
-
|
|
8
|
-
client = Quake::Timesheets::ApiClient.new(config)
|
|
9
|
-
api_instance = Quake::Timesheets::ApprovalTypesApi.new(client)
|
|
10
|
-
result = api_instance.get_api_v1_approval_types(dataset_id: '05033a75-de02-4689-9c55-04b575d33b2c')
|
|
11
|
-
|
|
12
|
-
result.first.name == 'my approval'
|
|
13
|
-
result.first.weight == 2.0
|
|
Binary file
|