lingutest_client 0.2.4 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8afc37ff56b1df876015bbcb79346a3399358d6543b1a960d2a9d8ba2c45ca52
4
- data.tar.gz: f50ea200dd6df9472969d5a7ba5b6e51f752948d6156b75f24605d358910881a
3
+ metadata.gz: 417da16253a1521c7982e12a35f7106bdcd5a87f0f286758da394413ae86b841
4
+ data.tar.gz: ea6c217eaa41cf2b3cdb4e5ec32ef77daf03c107e31cad2b595148fe289e743e
5
5
  SHA512:
6
- metadata.gz: 8e0fce747d14f6efda5eacb7cede2c3bd87f678c880bcd54d12bcb5458b0098534a9603737c9eef25347d0339c3d7c32d0c6f99c4c5aa680c25d53ec526a2f89
7
- data.tar.gz: c20938a765d78f3c0e7a84993869f8b6f4ba9166a84a628b9c7e1ad823426228bc14bcd24123f6c90a6cda69c6ec6625ed2f40cfe59241f9ed5d3d2973eb5ebd
6
+ metadata.gz: 6ece3583c1321c8ce05fa63c0247fbd9a48e6d7535f1879f56d77f42bb4b9cd7b95eb9f20da3fcd7807de3959bd33ddc9aa8bcdd00b4b1330ca18cfae220d91d
7
+ data.tar.gz: 69ff1dd779a9deefbd0341ef2c55f8c3a593a9ed501a99ecdb050e4152bf4976ac37f7bfd78e8acec20c145c31b104a4710d2a86587794c2a0a36495898c79a2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lingutest_client (0.2.4)
4
+ lingutest_client (0.2.6)
5
5
  dry-configurable (~> 0.13.0)
6
6
  dry-schema (~> 1.10.0)
7
7
  dry-struct (~> 1.5.0)
@@ -7,10 +7,21 @@ module LingutestClient
7
7
  include Api::Resource
8
8
  include Api::Operations::List.module(ExamList)
9
9
 
10
- attribute :id, Types::Coercible::Integer.optional.default(0)
11
- attribute :name, Types::Coercible::String.optional.default('')
10
+ FilterSchema = Dry::Schema.Params do
11
+ config.validate_keys = true
12
+ optional(:page).filled(Types::Coercible::Integer)
13
+ optional(:per_page).filled(Types::Coercible::Integer)
14
+
15
+ optional(:locale_eq).filled(Types::Coercible::String)
16
+ optional(:price_gt).filled(Types::Coercible::Integer)
17
+ end
18
+
19
+ attribute :id, Types::Coercible::Integer.optional.default(0)
20
+ attribute :name, Types::Coercible::String.optional.default('')
21
+ attribute :locale, Types::Coercible::String.optional.default('')
12
22
  attribute :description, Types::Coercible::String.optional.default('')
13
- attribute :price, Types::Coercible::Decimal.optional.default(0)
14
- attribute :updated_at, Types::DateTime.optional.default(nil)
23
+ attribute :price, Types::Coercible::Decimal.optional.default(0)
24
+ attribute :updated_at, Types::DateTime.optional.default(nil)
25
+ attribute :created_at, Types::DateTime.optional.default(nil)
15
26
  end
16
27
  end
@@ -31,6 +31,7 @@ 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)
34
35
 
35
36
  optional(:price_gteq).filled(Types::Coercible::Integer)
36
37
  optional(:created_at_gteq).filled(Types::DateTime)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LingutestClient
4
- VERSION = '0.2.4'
4
+ VERSION = '0.2.6'
5
5
  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.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anatolii Didukh
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-13 00:00:00.000000000 Z
11
+ date: 2024-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  - !ruby/object:Gem::Version
176
176
  version: '0'
177
177
  requirements: []
178
- rubygems_version: 3.4.18
178
+ rubygems_version: 3.3.7
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: lingutest client