ecoportal-api-graphql 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +10 -2
- data/ecoportal-api-graphql.gemspec +1 -1
- data/lib/ecoportal/api/common/graphql/client.rb +1 -0
- data/lib/ecoportal/api/graphql/base/contractor_entity.rb +1 -0
- data/lib/ecoportal/api/graphql/fragment/contractor_entity.rb +1 -0
- data/lib/ecoportal/api/graphql/query/contractor_entities.rb +11 -5
- data/lib/ecoportal/api/graphql_version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b010f2e79334e228ef058acb2c53aa92e894907a0a13557188227bb36f5c022
|
4
|
+
data.tar.gz: fdf9ca5d6486f68be8655a064a5293f1e92cf9d69bb831705ac9916fca60d836
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c63be5db720017916fc426ec1cc7d4d1cfd4c510834b10ec5addd401abe48f19e5973395165fee8106ac3e8b400b1ae588e7e1a49a7165bf16028f2441f0e17d
|
7
|
+
data.tar.gz: 2827e76c1c03965d032a6812ad61f3dcf92940b9baf162ac144fe06102d91cbe53caabf34e477a3862ccd58a419b7ab62bae694d019a7bbe7179b519f576da25
|
data/.rubocop.yml
CHANGED
@@ -29,6 +29,9 @@ Style/BlockDelimiters:
|
|
29
29
|
BracesRequiredMethods: ['log']
|
30
30
|
AllowedMethods: ['proc', 'new']
|
31
31
|
Enabled: false
|
32
|
+
Style/HashSyntax:
|
33
|
+
EnforcedShorthandSyntax: either
|
34
|
+
EnforcedStyle: no_mixed_keys
|
32
35
|
Style/ClassAndModuleChildren:
|
33
36
|
Enabled: false
|
34
37
|
Style/FrozenStringLiteralComment:
|
data/CHANGELOG.md
CHANGED
@@ -9,16 +9,24 @@ All notable changes to this project will be documented in this file.
|
|
9
9
|
- Analyse how to "DSL" currentOrganization.action.activities
|
10
10
|
- review `path` tracking
|
11
11
|
|
12
|
-
## [0.4.
|
12
|
+
## [0.4.1] - 2024-08-xx
|
13
13
|
|
14
14
|
### Added
|
15
15
|
|
16
|
+
- `ContractorEntity` added field `externalId`
|
17
|
+
|
16
18
|
### Changed
|
17
19
|
|
18
|
-
-
|
20
|
+
- gem upgrade `ecoportal-api-v2`
|
19
21
|
|
20
22
|
### Fixed
|
21
23
|
|
24
|
+
## [0.4.0] - 2024-08-01
|
25
|
+
|
26
|
+
### Changed
|
27
|
+
|
28
|
+
- require `ruby 3`
|
29
|
+
|
22
30
|
## [0.3.18] - 2024-05-16
|
23
31
|
|
24
32
|
### Fixed
|
@@ -29,6 +29,6 @@ Gem::Specification.new do |spec|
|
|
29
29
|
spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
|
30
30
|
spec.add_development_dependency "pry" , ">= 0.14"
|
31
31
|
|
32
|
-
spec.add_dependency 'ecoportal-api-v2', '~> 2.0'
|
32
|
+
spec.add_dependency 'ecoportal-api-v2', '~> 2.0', '>= 2.0.8'
|
33
33
|
spec.add_dependency 'graphlient', '>= 0.8.0', '< 0.9'
|
34
34
|
end
|
@@ -13,14 +13,20 @@ module Ecoportal
|
|
13
13
|
def basic_block(&block)
|
14
14
|
connection_block = block || default_connection_block
|
15
15
|
proc {
|
16
|
-
query(
|
16
|
+
query(
|
17
|
+
searchConf: :Search,
|
18
|
+
after: :string,
|
19
|
+
before: :string,
|
20
|
+
first: :int,
|
21
|
+
last: :int
|
22
|
+
) {
|
17
23
|
currentOrganization {
|
18
24
|
contractorEntities(
|
19
25
|
searchConf: :searchConf,
|
20
|
-
after:
|
21
|
-
before:
|
22
|
-
first:
|
23
|
-
last:
|
26
|
+
after: :after,
|
27
|
+
before: :before,
|
28
|
+
first: :first,
|
29
|
+
last: :last,
|
24
30
|
&connection_block
|
25
31
|
)
|
26
32
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecoportal-api-graphql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Segura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -111,6 +111,9 @@ dependencies:
|
|
111
111
|
- - "~>"
|
112
112
|
- !ruby/object:Gem::Version
|
113
113
|
version: '2.0'
|
114
|
+
- - ">="
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: 2.0.8
|
114
117
|
type: :runtime
|
115
118
|
prerelease: false
|
116
119
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -118,6 +121,9 @@ dependencies:
|
|
118
121
|
- - "~>"
|
119
122
|
- !ruby/object:Gem::Version
|
120
123
|
version: '2.0'
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: 2.0.8
|
121
127
|
- !ruby/object:Gem::Dependency
|
122
128
|
name: graphlient
|
123
129
|
requirement: !ruby/object:Gem::Requirement
|