ecoportal-api-graphql 0.3.16 → 0.3.17

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: 7d3550f5f5777e78de779031a4037935cc6ec9d461993ca642f7da06b6e96fa6
4
- data.tar.gz: 61e4eeedf713fa389aa8bf3a73093daa5f8400a5517c7cf15d9264055f9ecd01
3
+ metadata.gz: 22fc169e27555e55157e336492851a42ff0e924bedd9a91efdd7b1b8f02fc9a5
4
+ data.tar.gz: '045038332d30bb9377cd6d2be4c06f25c1ef3ab2b725272f9dc3d98bb408246e'
5
5
  SHA512:
6
- metadata.gz: '0286bc0b8a40a283772b70fc484b0f08ad8dab5026f0db553ff936b137783f7d10e0ceae53148090194df97aea722763a2765c744eb8ce6bb93e0ce9ff1e93be'
7
- data.tar.gz: 9bfa704f8104dd98c3d22eb9867ee902bf115a595479bf8cace89d06b12c1ebf0a614be03103d92dc73410e7ccf978c06a259d677d85cc8d4dd047455ae47e49
6
+ metadata.gz: 220537461d551cdb364521804d4bdf50a12e49596398dd400f8afdabec84aa91839805e632184da60d3b837276fbd373ce943512bd4ce20aecfbfe6d2f822adb
7
+ data.tar.gz: 477d15cd024fbe35279b0aa35377bc92e95615317a5aef537afa039f46b1e0b8b88766baebb6676195dd73bf2278c69c3592bd5ceb92bd82c5794def56ddfddc
data/CHANGELOG.md CHANGED
@@ -8,12 +8,19 @@ All notable changes to this project will be documented in this file.
8
8
  - Analyse how to "DSL" currentOrganization.action.activities
9
9
  - review `path` tracking
10
10
 
11
- ## [0.3.17] - 2024-05-xx
11
+ ## [0.3.18] - 2024-05-xx
12
12
 
13
13
  ### Added
14
14
  ### Changed
15
15
  ### Fixed
16
16
 
17
+ ## [0.3.17] - 2024-05-14
18
+
19
+ ### Added
20
+ ### Changed
21
+ ### Fixed
22
+ - `field_name` should add up to the path
23
+
17
24
  ## [0.3.16] - 2024-04-29
18
25
 
19
26
  ### Added
@@ -65,6 +65,7 @@ module Ecoportal
65
65
  result = @path
66
66
  result ||= default_path if respond_to?(:default_path, true)
67
67
  result ||= (base_path + [field_name]) if base_path && field_name
68
+ result ||= [field_name]
68
69
  result
69
70
  end
70
71
 
@@ -113,6 +114,7 @@ module Ecoportal
113
114
  msg = "Complete failure on request. Path: #{path}\n#{response.to_h.pretty_inspect}"
114
115
  raise msg
115
116
  end
117
+
116
118
  data = Ecoportal::API::Common::GraphQL::HashHelpers.deep_dup(res)
117
119
  response_class.new(data)
118
120
  end
@@ -31,12 +31,12 @@ module Ecoportal
31
31
  }
32
32
  }
33
33
  results {
34
+ ok
34
35
  command {
35
36
  id
36
37
  state
37
38
  __typename
38
39
  }
39
- ok
40
40
  error {
41
41
  conflictingIds
42
42
  message
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- GRAPQL_VERSION = '0.3.16'.freeze
3
+ GRAPQL_VERSION = '0.3.17'.freeze
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.16
4
+ version: 0.3.17
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-05-06 00:00:00.000000000 Z
11
+ date: 2024-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler