lingutest_client 0.2.6 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 417da16253a1521c7982e12a35f7106bdcd5a87f0f286758da394413ae86b841
4
- data.tar.gz: ea6c217eaa41cf2b3cdb4e5ec32ef77daf03c107e31cad2b595148fe289e743e
3
+ metadata.gz: aa427fd6672aba7265e90baca7b8ef3bb4b02a4d99792492f382dba1f8862835
4
+ data.tar.gz: d32e97f7336d6afb72a73041e830eaf4b8f3bea2560cd21c5c1a1484ab9eea2b
5
5
  SHA512:
6
- metadata.gz: 6ece3583c1321c8ce05fa63c0247fbd9a48e6d7535f1879f56d77f42bb4b9cd7b95eb9f20da3fcd7807de3959bd33ddc9aa8bcdd00b4b1330ca18cfae220d91d
7
- data.tar.gz: 69ff1dd779a9deefbd0341ef2c55f8c3a593a9ed501a99ecdb050e4152bf4976ac37f7bfd78e8acec20c145c31b104a4710d2a86587794c2a0a36495898c79a2
6
+ metadata.gz: 4863da3deb7d87511ca69572e28c664e9731501319d206f7e91b84f397cddc13212cfbdf41af71e2f65a948e8f98c9f4b7c5f41f3eed48304ae31a25c244ed37
7
+ data.tar.gz: 9a7db9e9e754d263626f26952620b653abc3930dae2dd051187a680db5e52d440a4b4a406167e4098efc30829ae2c7c1fff56640889e4d184e41e2dacdffdb20
@@ -31,11 +31,13 @@ module LingutestClient
31
31
  optional(:team_id_eq).filled(Types::Coercible::String)
32
32
  optional(:team_group_id_eq).filled(Types::Coercible::String)
33
33
  optional(:student_id_eq).filled(Types::Coercible::String)
34
- optional(:candidate_id_eq).filled(Types::Coercible::String)
35
34
 
36
35
  optional(:price_gteq).filled(Types::Coercible::Integer)
37
36
  optional(:created_at_gteq).filled(Types::DateTime)
38
37
  optional(:created_at_lteq).filled(Types::DateTime)
38
+ optional(:completed_at_gteq).filled(Types::DateTime)
39
+ optional(:completed_at_lteq).filled(Types::DateTime)
40
+ optional(:status_eq).filled(Types::Coercible::String)
39
41
  end
40
42
 
41
43
  include Api::Resource
@@ -62,6 +64,7 @@ module LingutestClient
62
64
 
63
65
  attribute :expires_at, Types::Time.optional.default(nil)
64
66
  attribute :created_at, Types::Time.optional.default(nil)
67
+ attribute :completed_at, Types::Time.optional.default(nil)
65
68
  attribute :updated_at, Types::Time.optional.default(nil)
66
69
 
67
70
  def url
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LingutestClient
4
- VERSION = '0.2.6'
4
+ VERSION = '0.3.1'
5
5
  end
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  $LOAD_PATH.unshift File.dirname(__FILE__)
4
+ require 'uri'
4
5
  require 'dry-configurable'
5
6
  require 'dry-schema'
6
7
  require 'dry-struct'
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.2.6
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatolii Didukh
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-16 00:00:00.000000000 Z
11
+ date: 2025-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -72,28 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 1.10.0
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 1.10.0
83
- - !ruby/object:Gem::Dependency
84
- name: faraday_middleware
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 1.2.0
75
+ version: '2.9'
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: 1.2.0
82
+ version: '2.9'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: zeitwerk
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -121,18 +107,9 @@ executables: []
121
107
  extensions: []
122
108
  extra_rdoc_files: []
123
109
  files:
124
- - ".gitignore"
125
- - ".rspec"
126
- - ".rubocop.yml"
127
- - ".travis.yml"
128
110
  - CHANGELOG.md
129
111
  - CODE_OF_CONDUCT.md
130
- - Gemfile
131
- - Gemfile.lock
132
112
  - README.md
133
- - Rakefile
134
- - bin/console
135
- - bin/setup
136
113
  - lib/lingutest_client.rb
137
114
  - lib/lingutest_client/api/operations/create.rb
138
115
  - lib/lingutest_client/api/operations/delete.rb
@@ -152,14 +129,12 @@ files:
152
129
  - lib/lingutest_client/types.rb
153
130
  - lib/lingutest_client/validation_error.rb
154
131
  - lib/lingutest_client/version.rb
155
- - lingutest_client.gemspec
156
132
  homepage: https://github.com/AdeptLMS/lingutest_client
157
133
  licenses: []
158
134
  metadata:
159
135
  rubygems_mfa_required: 'true'
160
136
  homepage_uri: https://github.com/AdeptLMS/lingutest_client
161
137
  source_code_uri: https://github.com/AdeptLMS/lingutest_client
162
- changelog_uri: https://github.com/AdeptLMS/lingutest_client/blob/master/CHANGELOG.md
163
138
  post_install_message:
164
139
  rdoc_options: []
165
140
  require_paths:
@@ -168,14 +143,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
143
  requirements:
169
144
  - - ">="
170
145
  - !ruby/object:Gem::Version
171
- version: 2.7.6
146
+ version: 3.0.0
172
147
  required_rubygems_version: !ruby/object:Gem::Requirement
173
148
  requirements:
174
149
  - - ">="
175
150
  - !ruby/object:Gem::Version
176
151
  version: '0'
177
152
  requirements: []
178
- rubygems_version: 3.3.7
153
+ rubygems_version: 3.4.19
179
154
  signing_key:
180
155
  specification_version: 4
181
156
  summary: lingutest client
data/.gitignore DELETED
@@ -1,13 +0,0 @@
1
- /.bundle/
2
- /.idea/
3
- /.yardoc
4
- /_yardoc/
5
- /coverage/
6
- /doc/
7
- /pkg/
8
- /spec/reports/
9
- /tmp/
10
- vendor
11
-
12
- # rspec failure tracking
13
- .rspec_status
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,9 +0,0 @@
1
- require:
2
- - rubocop-rake
3
- - rubocop-rspec
4
-
5
- AllCops:
6
- NewCops: enable
7
-
8
- Style/Documentation:
9
- Enabled: false
data/.travis.yml DELETED
@@ -1,6 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.7.0
6
- before_install: gem install bundler -v 2.1.4
data/Gemfile DELETED
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in lingutest_client.gemspec
6
- gemspec
7
-
8
- gem 'pry'
9
- gem 'rake', '~> 12.0'
10
- gem 'rspec', '~> 3.0'
11
- gem 'rubocop', '~> 1.43.0'
12
- gem 'rubocop-rake'
13
- gem 'rubocop-rspec'
14
- gem 'shoulda-matchers', '~> 5.0'
15
- gem 'vcr', '~> 6.0'
data/Gemfile.lock DELETED
@@ -1,157 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- lingutest_client (0.2.6)
5
- dry-configurable (~> 0.13.0)
6
- dry-schema (~> 1.10.0)
7
- dry-struct (~> 1.5.0)
8
- dry-types (~> 1.6.0)
9
- faraday (~> 1.10.0)
10
- faraday_middleware (~> 1.2.0)
11
- zeitwerk (~> 2.6.7, >= 2.6.7)
12
-
13
- GEM
14
- remote: https://rubygems.org/
15
- specs:
16
- activesupport (7.0.4.2)
17
- concurrent-ruby (~> 1.0, >= 1.0.2)
18
- i18n (>= 1.6, < 2)
19
- minitest (>= 5.1)
20
- tzinfo (~> 2.0)
21
- ast (2.4.2)
22
- coderay (1.1.3)
23
- concurrent-ruby (1.2.0)
24
- diff-lcs (1.5.0)
25
- dry-configurable (0.13.0)
26
- concurrent-ruby (~> 1.0)
27
- dry-core (~> 0.6)
28
- dry-container (0.11.0)
29
- concurrent-ruby (~> 1.0)
30
- dry-core (0.9.1)
31
- concurrent-ruby (~> 1.0)
32
- zeitwerk (~> 2.6)
33
- dry-inflector (0.3.0)
34
- dry-initializer (3.1.1)
35
- dry-logic (1.3.0)
36
- concurrent-ruby (~> 1.0)
37
- dry-core (~> 0.9, >= 0.9)
38
- zeitwerk (~> 2.6)
39
- dry-schema (1.10.6)
40
- concurrent-ruby (~> 1.0)
41
- dry-configurable (~> 0.13, >= 0.13.0)
42
- dry-core (~> 0.5, >= 0.5)
43
- dry-initializer (~> 3.0)
44
- dry-logic (~> 1.2)
45
- dry-types (~> 1.5)
46
- dry-struct (1.5.2)
47
- dry-core (~> 0.9, >= 0.9)
48
- dry-types (~> 1.6)
49
- ice_nine (~> 0.11)
50
- zeitwerk (~> 2.6)
51
- dry-types (1.6.1)
52
- concurrent-ruby (~> 1.0)
53
- dry-container (~> 0.3)
54
- dry-core (~> 0.9, >= 0.9)
55
- dry-inflector (~> 0.1, >= 0.1.2)
56
- dry-logic (~> 1.3, >= 1.3)
57
- zeitwerk (~> 2.6)
58
- faraday (1.10.3)
59
- faraday-em_http (~> 1.0)
60
- faraday-em_synchrony (~> 1.0)
61
- faraday-excon (~> 1.1)
62
- faraday-httpclient (~> 1.0)
63
- faraday-multipart (~> 1.0)
64
- faraday-net_http (~> 1.0)
65
- faraday-net_http_persistent (~> 1.0)
66
- faraday-patron (~> 1.0)
67
- faraday-rack (~> 1.0)
68
- faraday-retry (~> 1.0)
69
- ruby2_keywords (>= 0.0.4)
70
- faraday-em_http (1.0.0)
71
- faraday-em_synchrony (1.0.0)
72
- faraday-excon (1.1.0)
73
- faraday-httpclient (1.0.1)
74
- faraday-multipart (1.0.4)
75
- multipart-post (~> 2)
76
- faraday-net_http (1.0.1)
77
- faraday-net_http_persistent (1.2.0)
78
- faraday-patron (1.0.0)
79
- faraday-rack (1.0.0)
80
- faraday-retry (1.0.3)
81
- faraday_middleware (1.2.0)
82
- faraday (~> 1.0)
83
- i18n (1.12.0)
84
- concurrent-ruby (~> 1.0)
85
- ice_nine (0.11.2)
86
- json (2.6.3)
87
- method_source (1.0.0)
88
- minitest (5.17.0)
89
- multipart-post (2.3.0)
90
- parallel (1.22.1)
91
- parser (3.2.1.0)
92
- ast (~> 2.4.1)
93
- pry (0.14.2)
94
- coderay (~> 1.1)
95
- method_source (~> 1.0)
96
- rainbow (3.1.1)
97
- rake (12.3.3)
98
- regexp_parser (2.7.0)
99
- rexml (3.2.5)
100
- rspec (3.12.0)
101
- rspec-core (~> 3.12.0)
102
- rspec-expectations (~> 3.12.0)
103
- rspec-mocks (~> 3.12.0)
104
- rspec-core (3.12.1)
105
- rspec-support (~> 3.12.0)
106
- rspec-expectations (3.12.2)
107
- diff-lcs (>= 1.2.0, < 2.0)
108
- rspec-support (~> 3.12.0)
109
- rspec-mocks (3.12.3)
110
- diff-lcs (>= 1.2.0, < 2.0)
111
- rspec-support (~> 3.12.0)
112
- rspec-support (3.12.0)
113
- rubocop (1.43.0)
114
- json (~> 2.3)
115
- parallel (~> 1.10)
116
- parser (>= 3.2.0.0)
117
- rainbow (>= 2.2.2, < 4.0)
118
- regexp_parser (>= 1.8, < 3.0)
119
- rexml (>= 3.2.5, < 4.0)
120
- rubocop-ast (>= 1.24.1, < 2.0)
121
- ruby-progressbar (~> 1.7)
122
- unicode-display_width (>= 2.4.0, < 3.0)
123
- rubocop-ast (1.26.0)
124
- parser (>= 3.2.1.0)
125
- rubocop-capybara (2.17.1)
126
- rubocop (~> 1.41)
127
- rubocop-rake (0.6.0)
128
- rubocop (~> 1.0)
129
- rubocop-rspec (2.18.1)
130
- rubocop (~> 1.33)
131
- rubocop-capybara (~> 2.17)
132
- ruby-progressbar (1.11.0)
133
- ruby2_keywords (0.0.5)
134
- shoulda-matchers (5.3.0)
135
- activesupport (>= 5.2.0)
136
- tzinfo (2.0.6)
137
- concurrent-ruby (~> 1.0)
138
- unicode-display_width (2.4.2)
139
- vcr (6.1.0)
140
- zeitwerk (2.6.7)
141
-
142
- PLATFORMS
143
- ruby
144
-
145
- DEPENDENCIES
146
- lingutest_client!
147
- pry
148
- rake (~> 12.0)
149
- rspec (~> 3.0)
150
- rubocop (~> 1.43.0)
151
- rubocop-rake
152
- rubocop-rspec
153
- shoulda-matchers (~> 5.0)
154
- vcr (~> 6.0)
155
-
156
- BUNDLED WITH
157
- 2.4.18
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/bin/console DELETED
@@ -1,15 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require 'bundler/setup'
5
- require 'lingutest_client'
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- # (If you use this, don't forget to add pry to your Gemfile!)
11
- # require "pry"
12
- # Pry.start
13
-
14
- require 'irb'
15
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here
@@ -1,39 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative './lib/lingutest_client/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'lingutest_client'
7
- spec.version = LingutestClient::VERSION
8
- spec.authors = ['Anatolii Didukh']
9
- spec.email = ['railsme7@gmail.com']
10
-
11
- spec.summary = 'lingutest client'
12
- spec.description = 'test.lingu.com API ruby client'
13
- spec.homepage = 'https://github.com/AdeptLMS/lingutest_client'
14
- spec.required_ruby_version = Gem::Requirement.new('>= 2.7.6')
15
-
16
- spec.metadata['rubygems_mfa_required'] = 'true'
17
- # spec.metadata['allowed_push_host'] = "Set to 'http://mygemserver.com'"
18
-
19
- spec.metadata['homepage_uri'] = spec.homepage
20
- spec.metadata['source_code_uri'] = 'https://github.com/AdeptLMS/lingutest_client'
21
- spec.metadata['changelog_uri'] = 'https://github.com/AdeptLMS/lingutest_client/blob/master/CHANGELOG.md'
22
-
23
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
- `git ls-files -z`
25
- .split("\x0")
26
- .reject { |f| f.match(%r{^(test|spec|features)/}) }
27
- end
28
- spec.bindir = 'exe'
29
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
- spec.require_paths = ['lib']
31
-
32
- spec.add_dependency 'dry-configurable', '~> 0.13.0'
33
- spec.add_dependency 'dry-schema', '~> 1.10.0'
34
- spec.add_dependency 'dry-struct', '~> 1.5.0'
35
- spec.add_dependency 'dry-types', '~> 1.6.0'
36
- spec.add_dependency 'faraday', '~> 1.10.0'
37
- spec.add_dependency 'faraday_middleware', '~> 1.2.0'
38
- spec.add_dependency 'zeitwerk', '~> 2.6.7', '>= 2.6.7'
39
- end