lingutest_client 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +49 -32
- data/README.md +14 -4
- data/lib/lingutest_client/version.rb +1 -1
- data/lingutest_client.gemspec +2 -2
- metadata +15 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c720d6b45a1920d5e0d8b6624415807e2f5ae099f62020d949f0559d4e93cac1
|
4
|
+
data.tar.gz: 1d979933919db99cfaa57c5ecd40c06b58cbda121850406d8cee7ab87e79ef5c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc3ed1b9e05a0e7b7c58ae5c1cd83786f2a1e10fd1776a2265d2d1c750f2fd1449b14d72af26be6d02d15dc3b3221c1efbd4173dee3445bef30e8d73af05b46f
|
7
|
+
data.tar.gz: 6e291959bb887a3be5f5bdae7a16de8a0eb45a33f0227d7dc09d248219c5bc6e41c1ea609e4978d82801031a02d1fa04ec0908f898f81204092fbe48b156f82e
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,35 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lingutest_client (0.1.
|
4
|
+
lingutest_client (0.1.5)
|
5
5
|
dry-configurable (~> 0.9.0)
|
6
6
|
dry-schema (~> 1.4.3)
|
7
7
|
dry-struct (~> 1.2.0)
|
8
8
|
dry-types (~> 1.2.2)
|
9
|
-
faraday
|
10
|
-
faraday_middleware
|
9
|
+
faraday (~> 1.8.0)
|
10
|
+
faraday_middleware (~> 1.2.0)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
ast (2.4.
|
16
|
-
concurrent-ruby (1.1.
|
17
|
-
diff-lcs (1.
|
15
|
+
ast (2.4.2)
|
16
|
+
concurrent-ruby (1.1.9)
|
17
|
+
diff-lcs (1.5.0)
|
18
18
|
dry-configurable (0.9.0)
|
19
19
|
concurrent-ruby (~> 1.0)
|
20
20
|
dry-core (~> 0.4, >= 0.4.7)
|
21
|
-
dry-container (0.
|
21
|
+
dry-container (0.8.0)
|
22
22
|
concurrent-ruby (~> 1.0)
|
23
23
|
dry-configurable (~> 0.1, >= 0.1.3)
|
24
|
-
dry-core (0.
|
24
|
+
dry-core (0.7.1)
|
25
25
|
concurrent-ruby (~> 1.0)
|
26
26
|
dry-equalizer (0.3.0)
|
27
|
-
dry-inflector (0.2.
|
28
|
-
dry-initializer (3.0.
|
29
|
-
dry-logic (1.0
|
27
|
+
dry-inflector (0.2.1)
|
28
|
+
dry-initializer (3.0.4)
|
29
|
+
dry-logic (1.2.0)
|
30
30
|
concurrent-ruby (~> 1.0)
|
31
|
-
dry-core (~> 0.
|
32
|
-
dry-equalizer (~> 0.2)
|
31
|
+
dry-core (~> 0.5, >= 0.5)
|
33
32
|
dry-schema (1.4.3)
|
34
33
|
concurrent-ruby (~> 1.0)
|
35
34
|
dry-configurable (~> 0.8, >= 0.8.3)
|
@@ -50,31 +49,48 @@ GEM
|
|
50
49
|
dry-equalizer (~> 0.3)
|
51
50
|
dry-inflector (~> 0.1, >= 0.1.2)
|
52
51
|
dry-logic (~> 1.0, >= 1.0.2)
|
53
|
-
faraday (
|
52
|
+
faraday (1.8.0)
|
53
|
+
faraday-em_http (~> 1.0)
|
54
|
+
faraday-em_synchrony (~> 1.0)
|
55
|
+
faraday-excon (~> 1.1)
|
56
|
+
faraday-httpclient (~> 1.0.1)
|
57
|
+
faraday-net_http (~> 1.0)
|
58
|
+
faraday-net_http_persistent (~> 1.1)
|
59
|
+
faraday-patron (~> 1.0)
|
60
|
+
faraday-rack (~> 1.0)
|
54
61
|
multipart-post (>= 1.2, < 3)
|
55
|
-
|
56
|
-
|
62
|
+
ruby2_keywords (>= 0.0.4)
|
63
|
+
faraday-em_http (1.0.0)
|
64
|
+
faraday-em_synchrony (1.0.0)
|
65
|
+
faraday-excon (1.1.0)
|
66
|
+
faraday-httpclient (1.0.1)
|
67
|
+
faraday-net_http (1.0.1)
|
68
|
+
faraday-net_http_persistent (1.2.0)
|
69
|
+
faraday-patron (1.0.0)
|
70
|
+
faraday-rack (1.0.0)
|
71
|
+
faraday_middleware (1.2.0)
|
72
|
+
faraday (~> 1.0)
|
57
73
|
ice_nine (0.11.2)
|
58
74
|
jaro_winkler (1.5.4)
|
59
75
|
multipart-post (2.1.1)
|
60
|
-
parallel (1.
|
61
|
-
parser (
|
62
|
-
ast (~> 2.4.
|
76
|
+
parallel (1.21.0)
|
77
|
+
parser (3.1.0.0)
|
78
|
+
ast (~> 2.4.1)
|
63
79
|
rainbow (3.0.0)
|
64
80
|
rake (12.3.3)
|
65
|
-
rspec (3.
|
66
|
-
rspec-core (~> 3.
|
67
|
-
rspec-expectations (~> 3.
|
68
|
-
rspec-mocks (~> 3.
|
69
|
-
rspec-core (3.
|
70
|
-
rspec-support (~> 3.
|
71
|
-
rspec-expectations (3.
|
81
|
+
rspec (3.10.0)
|
82
|
+
rspec-core (~> 3.10.0)
|
83
|
+
rspec-expectations (~> 3.10.0)
|
84
|
+
rspec-mocks (~> 3.10.0)
|
85
|
+
rspec-core (3.10.1)
|
86
|
+
rspec-support (~> 3.10.0)
|
87
|
+
rspec-expectations (3.10.1)
|
72
88
|
diff-lcs (>= 1.2.0, < 2.0)
|
73
|
-
rspec-support (~> 3.
|
74
|
-
rspec-mocks (3.
|
89
|
+
rspec-support (~> 3.10.0)
|
90
|
+
rspec-mocks (3.10.2)
|
75
91
|
diff-lcs (>= 1.2.0, < 2.0)
|
76
|
-
rspec-support (~> 3.
|
77
|
-
rspec-support (3.
|
92
|
+
rspec-support (~> 3.10.0)
|
93
|
+
rspec-support (3.10.3)
|
78
94
|
rubocop (0.79.0)
|
79
95
|
jaro_winkler (~> 1.5.1)
|
80
96
|
parallel (~> 1.10)
|
@@ -82,7 +98,8 @@ GEM
|
|
82
98
|
rainbow (>= 2.2.2, < 4.0)
|
83
99
|
ruby-progressbar (~> 1.7)
|
84
100
|
unicode-display_width (>= 1.4.0, < 1.7)
|
85
|
-
ruby-progressbar (1.
|
101
|
+
ruby-progressbar (1.11.0)
|
102
|
+
ruby2_keywords (0.0.5)
|
86
103
|
unicode-display_width (1.6.1)
|
87
104
|
|
88
105
|
PLATFORMS
|
@@ -95,4 +112,4 @@ DEPENDENCIES
|
|
95
112
|
rubocop (~> 0.79.0)
|
96
113
|
|
97
114
|
BUNDLED WITH
|
98
|
-
|
115
|
+
2.2.27
|
data/README.md
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# LingutestClient
|
2
2
|
|
3
|
-
|
3
|
+
This library will allow you to communicate with Lingu Test API. You can create examinations for client, and receive examination results. You need API token from Lingu Test to use this gem. Check [documentation](https://test.lingu.com/documentation) for API calls.
|
4
4
|
|
5
|
-
TODO: Delete this and the text above, and describe your gem
|
6
5
|
|
7
6
|
## Installation
|
8
7
|
|
9
8
|
Add this line to your application's Gemfile:
|
10
9
|
|
11
10
|
```ruby
|
12
|
-
gem 'lingutest_client'
|
11
|
+
gem 'lingutest_client'
|
13
12
|
```
|
14
13
|
|
15
14
|
And then execute:
|
@@ -18,7 +17,18 @@ And then execute:
|
|
18
17
|
|
19
18
|
## Usage
|
20
19
|
|
21
|
-
|
20
|
+
```ruby
|
21
|
+
LingutestClient::Exam.list
|
22
|
+
|
23
|
+
LingutestClient::Candidate.list
|
24
|
+
LingutestClient::Candidate.find(id)
|
25
|
+
LingutestClient::Candidate.create(fname:, lname:, email:, ssn:, gender:, mobile:)
|
26
|
+
LingutestClient::Candidate.update(fname:, lname:, email:, ssn:, gender:, mobile:)
|
27
|
+
|
28
|
+
LingutestClient::Examination.list
|
29
|
+
LingutestClient::Examination.find(id)
|
30
|
+
LingutestClient::Examination.create(candidate_id:, exam_id:, expires_at:)
|
31
|
+
```
|
22
32
|
|
23
33
|
## Development
|
24
34
|
|
data/lingutest_client.gemspec
CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
32
32
|
spec.add_dependency 'dry-struct', '~> 1.2.0'
|
33
33
|
spec.add_dependency 'dry-types', '~> 1.2.2'
|
34
34
|
|
35
|
-
spec.add_dependency 'faraday'
|
36
|
-
spec.add_dependency 'faraday_middleware'
|
35
|
+
spec.add_dependency 'faraday', '~> 1.8.0'
|
36
|
+
spec.add_dependency 'faraday_middleware', '~> 1.2.0'
|
37
37
|
spec.add_development_dependency 'rubocop', '~> 0.79.0'
|
38
38
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lingutest_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anatolii Didukh
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
@@ -70,30 +70,30 @@ dependencies:
|
|
70
70
|
name: faraday
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 1.8.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 1.8.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: faraday_middleware
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - "
|
87
|
+
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 1.2.0
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - "
|
94
|
+
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 1.2.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -147,10 +147,10 @@ files:
|
|
147
147
|
- lib/lingutest_client/types.rb
|
148
148
|
- lib/lingutest_client/version.rb
|
149
149
|
- lingutest_client.gemspec
|
150
|
-
homepage:
|
150
|
+
homepage:
|
151
151
|
licenses: []
|
152
152
|
metadata: {}
|
153
|
-
post_install_message:
|
153
|
+
post_install_message:
|
154
154
|
rdoc_options: []
|
155
155
|
require_paths:
|
156
156
|
- lib
|
@@ -165,8 +165,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
167
|
requirements: []
|
168
|
-
rubygems_version: 3.
|
169
|
-
signing_key:
|
168
|
+
rubygems_version: 3.2.22
|
169
|
+
signing_key:
|
170
170
|
specification_version: 4
|
171
171
|
summary: Write a short summary, because RubyGems requires one.
|
172
172
|
test_files: []
|