ecoportal-api-graphql 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 311f8df4b5b299e4a1aa797958c96307247999738f115c6e475da35f262f4668
4
- data.tar.gz: 64f874379cb32d8df2ca6ae14c51f1cc024b8791dea081f0cf176957c28a1427
3
+ metadata.gz: 07ba83146627efb03fc8dff405390cafd4f5cfdb4ad2f3bc4411a49d42d8a259
4
+ data.tar.gz: 7be60f892e80c06418312fe6f566cc57b7f8c23bd45ebc339305439df8e5ca80
5
5
  SHA512:
6
- metadata.gz: 294a8af94c125cf58749562d08c3a1e1c281f6f693586547fe83e2084ae94a56a2291d53c96d1225b6ca11ceec260f9b15e19857cd9ca812a408624303961450
7
- data.tar.gz: 564eafaab9d6585fa7332d863d26ea7f94d319b07f45c0cbeca84ecb8f57cfab25829690a4f6a60aa337ec5d977f5d123d778b0a698a58017f8f33034404ffc8
6
+ metadata.gz: 59d820cad74807d561595cb157d92ec16094a028c1354501c8e5ea43efc4f962cee87f10bb0689055acd81839902319db4903bcd5ce8b4c1bbd84f97ff1fd2a2
7
+ data.tar.gz: e60dea5941855d499dbdaa60f2f835607612560a11b047623adbbd5f71a646492c37df234d265ac05a932bd3e784194ac921580329b35b1aaf5a1e418b5b2af6
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.1.3] - 2022-09-xx
4
+ ## [0.1.4] - 2022-09-xx
5
5
 
6
6
  ### Added
7
7
 
@@ -16,6 +16,12 @@ All notable changes to this project will be documented in this file.
16
16
  - Analyse how to "DSL" currentOrganization.action.activities
17
17
  - review `path` tracking
18
18
 
19
+
20
+ ## [0.1.3] - 2022-09-15
21
+
22
+ ### Fixed
23
+ - Fixed circular reference to `org_id` in `Ecoportal::API::Common::GraphQL::Client`
24
+
19
25
  ## [0.1.2] - 2022-09-15
20
26
 
21
27
  ### Changed
@@ -8,7 +8,7 @@ module Ecoportal
8
8
 
9
9
  include Ecoportal::API::Common::GraphQL::AuthService
10
10
 
11
- def initialize(email: nil, pass: nil, org_id: org_id,
11
+ def initialize(email: nil, pass: nil, org_id: self.org_id,
12
12
  host: server, schema_path: host, no_schema: false)
13
13
  @org_id = org_id
14
14
  @host = host
@@ -34,12 +34,12 @@ module Ecoportal
34
34
  self.class.new(org_id: org_id, host: host, schema_path: schema_path, no_schema: no_schema)
35
35
  end
36
36
 
37
- private
38
-
39
37
  def org_id
40
38
  @org_id || fetch_env_required("ORGANIZATION_ID")
41
39
  end
42
40
 
41
+ private
42
+
43
43
  def url
44
44
  "#{Ecoportal::API::Common::GraphQL::HttpClient.base_url(host)}/api/#{org_id}/graphql"
45
45
  end
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- GRAPQL_VERSION = "0.1.2"
3
+ GRAPQL_VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecoportal-api-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura