ecoportal-api-graphql 0.4.0 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +7 -0
- data/CHANGELOG.md +24 -3
- data/ecoportal-api-graphql.gemspec +4 -1
- data/lib/ecoportal/api/common/graphql/client.rb +1 -0
- data/lib/ecoportal/api/common/graphql/http_client.rb +2 -2
- 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 +57 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5cc7a322eed9a692a7a7ec622a38909b66f0653b37f62743ce9edbc89010fc5
|
4
|
+
data.tar.gz: c04a73b90dbec766e8be560880cb997415445da8bb5ae5a97185235951763637
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70d02bea3953e7a1aac6691fcda1c85cec8bcbd70e4254761d5dc5f99189712e05efedf7e63e4726cf1ac5732d68c3cc2168f932ca6584fca06304fe052d9a13
|
7
|
+
data.tar.gz: 9c415037ed41fdae532fa3c53fdce546099479c4e70e4ae3ab81bfe5868e5afaa2e778eb57fc059be814f7c2fce18e7940ea7ab72eb7b74ca76cc6f10b091e6c
|
data/.rubocop.yml
CHANGED
@@ -29,6 +29,11 @@ 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
|
35
|
+
Style/ArgumentsForwarding:
|
36
|
+
UseAnonymousForwarding: false
|
32
37
|
Style/ClassAndModuleChildren:
|
33
38
|
Enabled: false
|
34
39
|
Style/FrozenStringLiteralComment:
|
@@ -86,3 +91,5 @@ Naming/RescuedExceptionsVariableName:
|
|
86
91
|
Enabled: false
|
87
92
|
Naming/MethodName:
|
88
93
|
Enabled: false
|
94
|
+
Naming/BlockForwarding:
|
95
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -9,16 +9,37 @@ 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.3] - 2024-10-xx
|
13
13
|
|
14
14
|
### Added
|
15
15
|
|
16
16
|
### Changed
|
17
17
|
|
18
|
-
- require `ruby 3`
|
19
|
-
|
20
18
|
### Fixed
|
21
19
|
|
20
|
+
## [0.4.2] - 2024-10-01
|
21
|
+
|
22
|
+
### Changed
|
23
|
+
|
24
|
+
- upgrade `ecoportal-api-v2` gem
|
25
|
+
- add explicit dependency onto `ecoportal-api` gem (client)
|
26
|
+
|
27
|
+
## [0.4.1] - 2024-08-09
|
28
|
+
|
29
|
+
### Added
|
30
|
+
|
31
|
+
- `ContractorEntity` added field `externalId`
|
32
|
+
|
33
|
+
### Changed
|
34
|
+
|
35
|
+
- gem upgrade `ecoportal-api-v2`
|
36
|
+
|
37
|
+
## [0.4.0] - 2024-08-01
|
38
|
+
|
39
|
+
### Changed
|
40
|
+
|
41
|
+
- require `ruby 3`
|
42
|
+
|
22
43
|
## [0.3.18] - 2024-05-16
|
23
44
|
|
24
45
|
### Fixed
|
@@ -27,8 +27,11 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "rake", ">= 13.0.3", "< 14"
|
28
28
|
spec.add_development_dependency "yard", ">= 0.9.34", "< 1"
|
29
29
|
spec.add_development_dependency "redcarpet", ">= 3.6.0", "< 4"
|
30
|
+
spec.add_development_dependency "rubocop", "~> 1"
|
31
|
+
spec.add_development_dependency "rubocop-rake", "~> 0"
|
30
32
|
spec.add_development_dependency "pry" , ">= 0.14"
|
31
33
|
|
32
|
-
spec.add_dependency 'ecoportal-api
|
34
|
+
spec.add_dependency 'ecoportal-api', '~> 0.10', '>= 0.10.3'
|
35
|
+
spec.add_dependency 'ecoportal-api-v2', '~> 2.0', '>= 2.0.10'
|
33
36
|
spec.add_dependency 'graphlient', '>= 0.8.0', '< 0.9'
|
34
37
|
end
|
@@ -20,14 +20,14 @@ module Ecoportal
|
|
20
20
|
version: "v1",
|
21
21
|
host: "live.ecoportal.com",
|
22
22
|
logger: ::Logger.new(IO::NULL),
|
23
|
-
|
23
|
+
deep_logging: false
|
24
24
|
)
|
25
25
|
super(
|
26
26
|
api_key: api_key,
|
27
27
|
version: version,
|
28
28
|
host: host,
|
29
29
|
logger: logger,
|
30
|
-
|
30
|
+
deep_logging: deep_logging
|
31
31
|
)
|
32
32
|
end
|
33
33
|
|
@@ -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.2
|
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-
|
11
|
+
date: 2024-10-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -90,6 +90,34 @@ dependencies:
|
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '4'
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: rubocop
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1'
|
100
|
+
type: :development
|
101
|
+
prerelease: false
|
102
|
+
version_requirements: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - "~>"
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: '1'
|
107
|
+
- !ruby/object:Gem::Dependency
|
108
|
+
name: rubocop-rake
|
109
|
+
requirement: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "~>"
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: '0'
|
114
|
+
type: :development
|
115
|
+
prerelease: false
|
116
|
+
version_requirements: !ruby/object:Gem::Requirement
|
117
|
+
requirements:
|
118
|
+
- - "~>"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '0'
|
93
121
|
- !ruby/object:Gem::Dependency
|
94
122
|
name: pry
|
95
123
|
requirement: !ruby/object:Gem::Requirement
|
@@ -104,6 +132,26 @@ dependencies:
|
|
104
132
|
- - ">="
|
105
133
|
- !ruby/object:Gem::Version
|
106
134
|
version: '0.14'
|
135
|
+
- !ruby/object:Gem::Dependency
|
136
|
+
name: ecoportal-api
|
137
|
+
requirement: !ruby/object:Gem::Requirement
|
138
|
+
requirements:
|
139
|
+
- - "~>"
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: '0.10'
|
142
|
+
- - ">="
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 0.10.3
|
145
|
+
type: :runtime
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '0.10'
|
152
|
+
- - ">="
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: 0.10.3
|
107
155
|
- !ruby/object:Gem::Dependency
|
108
156
|
name: ecoportal-api-v2
|
109
157
|
requirement: !ruby/object:Gem::Requirement
|
@@ -111,6 +159,9 @@ dependencies:
|
|
111
159
|
- - "~>"
|
112
160
|
- !ruby/object:Gem::Version
|
113
161
|
version: '2.0'
|
162
|
+
- - ">="
|
163
|
+
- !ruby/object:Gem::Version
|
164
|
+
version: 2.0.10
|
114
165
|
type: :runtime
|
115
166
|
prerelease: false
|
116
167
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -118,6 +169,9 @@ dependencies:
|
|
118
169
|
- - "~>"
|
119
170
|
- !ruby/object:Gem::Version
|
120
171
|
version: '2.0'
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: 2.0.10
|
121
175
|
- !ruby/object:Gem::Dependency
|
122
176
|
name: graphlient
|
123
177
|
requirement: !ruby/object:Gem::Requirement
|
@@ -310,7 +364,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
310
364
|
- !ruby/object:Gem::Version
|
311
365
|
version: '0'
|
312
366
|
requirements: []
|
313
|
-
rubygems_version: 3.5.
|
367
|
+
rubygems_version: 3.5.18
|
314
368
|
signing_key:
|
315
369
|
specification_version: 4
|
316
370
|
summary: A collection of helpers for interacting with the ecoPortal GraphQL API
|