ecoportal-api-graphql 0.1.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -5
- data/lib/ecoportal/api/common/graphql/client.rb +3 -3
- data/lib/ecoportal/api/graphql_version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07ba83146627efb03fc8dff405390cafd4f5cfdb4ad2f3bc4411a49d42d8a259
|
4
|
+
data.tar.gz: 7be60f892e80c06418312fe6f566cc57b7f8c23bd45ebc339305439df8e5ca80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59d820cad74807d561595cb157d92ec16094a028c1354501c8e5ea43efc4f962cee87f10bb0689055acd81839902319db4903bcd5ce8b4c1bbd84f97ff1fd2a2
|
7
|
+
data.tar.gz: e60dea5941855d499dbdaa60f2f835607612560a11b047623adbbd5f71a646492c37df234d265ac05a932bd3e784194ac921580329b35b1aaf5a1e418b5b2af6
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [0.
|
4
|
+
## [0.1.4] - 2022-09-xx
|
5
5
|
|
6
6
|
### Added
|
7
7
|
|
8
8
|
### Changed
|
9
|
-
- `Ecoportal::API::GraphQL` addded `email` and `pass` parameters on initialization
|
10
|
-
- This allows for integration in some client lib
|
11
9
|
|
12
10
|
### Fixed
|
13
11
|
|
@@ -18,13 +16,19 @@ All notable changes to this project will be documented in this file.
|
|
18
16
|
- Analyse how to "DSL" currentOrganization.action.activities
|
19
17
|
- review `path` tracking
|
20
18
|
|
21
|
-
|
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
|
+
|
25
|
+
## [0.1.2] - 2022-09-15
|
22
26
|
|
23
27
|
### Changed
|
24
28
|
- `Ecoportal::API::GraphQL` addded `email` and `pass` parameters on initialization
|
25
29
|
- This allows for integration in some client lib
|
26
30
|
|
27
|
-
## [0.0
|
31
|
+
## [0.1.0] - 2022-09-15
|
28
32
|
|
29
33
|
### Added
|
30
34
|
- First commit with some basic structure
|
@@ -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
|
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.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Segura
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-09-
|
11
|
+
date: 2022-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|