ecoportal-api-graphql 0.3.1 → 0.3.3

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: ec2eecf9dcdb825a7a8f0a640d52bd891863ef29b3b64f07f6874a2617a9c49f
4
- data.tar.gz: b10190f2520def342c03fad24675b41f8ab69cbcbfc6a42e9159c39839c04018
3
+ metadata.gz: 802706f5cb251ec2df63b4f43576f779e244da1fb7ad0d93875e5d05d87e3539
4
+ data.tar.gz: d761dd4b221133959cf2a64b49e5cceb11c10b6bafea42dd115294b44f7812ae
5
5
  SHA512:
6
- metadata.gz: f18bcf0b7eaa538d6e34d90f6cdbf3e31403ff0f63538d2c62c2ebcb2d1ef44d406f356ef8ae48ec79a19ea23bd1446020b91a08e77534cecb281e061fa3fd72
7
- data.tar.gz: ed7da790ac05299f381d64af371df666d1578e017079e58a97278f6e8ff4eecf487a580cad511feb7b13490b4d646d59bfb99e4d7d63fa27de28a3bbff6f5ca4
6
+ metadata.gz: 9ea32be18933799c0a210250771f95f6fbfbf0bcaaee1bcf907b86cf759eb4350f6786d4c9efe3188a22dacad396cbd9b1d84b79c8233a194f2f99c8a4a3d77d
7
+ data.tar.gz: 8af6e498686d97e395a50195970346af89676652721ed673405287c45632f4077b47e5388d179b59ca45f15021ce38718e6aa1cfe54a718b039aaf8c5a63fa43
data/CHANGELOG.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [0.3.2] - 2023-03-xx
4
+ ## [0.3.4] - 2023-04-xx
5
5
 
6
6
  ### Added
7
7
  ### Changed
@@ -11,8 +11,19 @@ All notable changes to this project will be documented in this file.
11
11
  - Add update operation for `ContractorEntity`
12
12
  - Add currentOrganization.action
13
13
  - Analyse how to "DSL" currentOrganization.action.activities
14
+
14
15
  - review `path` tracking
15
16
 
17
+ ## [0.3.3] - 2023-04-02
18
+
19
+ ### Fixed
20
+ - `Ecoportal::API::GraphQL::Base::LocationNode` **added** attribute `archivedToken`
21
+
22
+ ## [0.3.2] - 2023-04-02
23
+
24
+ ### Changed
25
+ - `Ecoportal::API::GraphQL::Helpers::LocationsTree#treeify` added support for `archived_token`
26
+
16
27
  ## [0.3.1] - 2023-03-09
17
28
 
18
29
  ### Added
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_development_dependency "bundler", ">= 2.2.17", "< 2.3"
25
+ spec.add_development_dependency "bundler", ">= 2.4.9", "< 2.5"
26
26
  spec.add_development_dependency "rspec", ">= 3.10.0", "< 3.11"
27
27
  spec.add_development_dependency "rake", ">= 13.0.3", "< 13.1"
28
28
  spec.add_development_dependency "yard", ">= 0.9.26", "< 0.10"
@@ -8,6 +8,7 @@ module Ecoportal
8
8
  passthrough :weight
9
9
  embeds_one :parent, klass: Base::LocationNode, nullable: true
10
10
  passboolean :archived
11
+ passthrough :archivedToken
11
12
  end
12
13
  end
13
14
  end
@@ -8,6 +8,7 @@ module Ecoportal
8
8
  name
9
9
  weight
10
10
  archived
11
+ archivedToken
11
12
  parent {
12
13
  id
13
14
  name
@@ -19,11 +19,12 @@ module Ecoportal
19
19
  def get_children(node_id, parents)
20
20
  (parents[node_id] ||= []).each_with_object([]) do |child, results|
21
21
  results << {
22
- "id" => child.id,
23
- "name" => child.name,
24
- "weight" => child.weight,
22
+ "id" => child.id,
23
+ "name" => child.name,
24
+ "weight" => child.weight,
25
25
  "archived" => child.archived,
26
- "nodes" => get_children(child.id, parents).compact
26
+ "archived_token" => child.archivedToken,
27
+ "nodes" => get_children(child.id, parents).compact
27
28
  }
28
29
  end
29
30
  end
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- GRAPQL_VERSION = "0.3.1"
3
+ GRAPQL_VERSION = "0.3.3"
4
4
  end
5
5
  end
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.3.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-09 00:00:00.000000000 Z
11
+ date: 2023-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 2.2.17
19
+ version: 2.4.9
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '2.3'
22
+ version: '2.5'
23
23
  type: :development
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 2.2.17
29
+ version: 2.4.9
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '2.3'
32
+ version: '2.5'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rspec
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -164,7 +164,7 @@ dependencies:
164
164
  - - "<"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0.8'
167
- description:
167
+ description:
168
168
  email:
169
169
  - oscar@ecoportal.co.nz
170
170
  executables: []
@@ -301,7 +301,7 @@ homepage: https://www.ecoportal.com
301
301
  licenses:
302
302
  - MIT
303
303
  metadata: {}
304
- post_install_message:
304
+ post_install_message:
305
305
  rdoc_options: []
306
306
  require_paths:
307
307
  - lib
@@ -316,8 +316,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
316
316
  - !ruby/object:Gem::Version
317
317
  version: '0'
318
318
  requirements: []
319
- rubygems_version: 3.0.3
320
- signing_key:
319
+ rubygems_version: 3.1.4
320
+ signing_key:
321
321
  specification_version: 4
322
322
  summary: A collection of helpers for interacting with the ecoPortal GraphQL API
323
323
  test_files: []