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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/lingutest_client/exam.rb +15 -4
- data/lib/lingutest_client/examination.rb +1 -0
- data/lib/lingutest_client/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 417da16253a1521c7982e12a35f7106bdcd5a87f0f286758da394413ae86b841
|
4
|
+
data.tar.gz: ea6c217eaa41cf2b3cdb4e5ec32ef77daf03c107e31cad2b595148fe289e743e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ece3583c1321c8ce05fa63c0247fbd9a48e6d7535f1879f56d77f42bb4b9cd7b95eb9f20da3fcd7807de3959bd33ddc9aa8bcdd00b4b1330ca18cfae220d91d
|
7
|
+
data.tar.gz: 69ff1dd779a9deefbd0341ef2c55f8c3a593a9ed501a99ecdb050e4152bf4976ac37f7bfd78e8acec20c145c31b104a4710d2a86587794c2a0a36495898c79a2
|
data/Gemfile.lock
CHANGED
@@ -7,10 +7,21 @@ module LingutestClient
|
|
7
7
|
include Api::Resource
|
8
8
|
include Api::Operations::List.module(ExamList)
|
9
9
|
|
10
|
-
|
11
|
-
|
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,
|
14
|
-
attribute :updated_at,
|
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)
|
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
|
+
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:
|
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.
|
178
|
+
rubygems_version: 3.3.7
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: lingutest client
|