ecoportal-api 0.9.6 → 0.9.7
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 -1
- data/README.md +3 -2
- data/lib/ecoportal/api/v1/person.rb +2 -3
- data/lib/ecoportal/api/version.rb +1 -1
- metadata +2 -3
- data/.travis.yml +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5696bb0c226299139a1c081ec5de3c041fdd252d76ca56ff45479c78e53c84c5
|
4
|
+
data.tar.gz: 987ec0d24a1ee340b2b9cb8b68dd575eb1a5f0110d4a18c653d61c9145d320b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85151476e47a2bfd61e0396e31d48dea0fb36053506c29dac394012d81986cd800476c06891eff5512166b26ca6a98513679a84d77227813807c65d80ab4ad2f
|
7
|
+
data.tar.gz: d36fb967335bed2db35afec997bc842cd6b660e251e0a9fa34f7b35adb4649a2410c2d1a73572c32c388878baa84c62d3ada9237702e9ffab70cd7719cd964b6
|
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,17 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [0.9.
|
4
|
+
## [0.9.7] - 2024-02-03
|
5
5
|
|
6
6
|
### Added
|
7
|
+
### Changed
|
8
|
+
- `Ecoportal::API::V1::Person`
|
9
|
+
- **removed** property `subordinates`
|
10
|
+
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
## [0.9.6] - 2024-02-03
|
14
|
+
|
7
15
|
### Changed
|
8
16
|
- upgraded some gems
|
9
17
|
|
data/README.md
CHANGED
@@ -6,11 +6,10 @@ module Ecoportal
|
|
6
6
|
# @attr name [String] the name of the person.
|
7
7
|
# @attr supervisor_id [String] internal or external id of the supervisor of this person.
|
8
8
|
# @attr contractor_organization_id [String] internal id of the contractor entity of this person.
|
9
|
-
# @attr_reader subordinates [Integer] the number of people this person is supervisor of.
|
10
9
|
# @attr details [PersonDetails, nil] the details of the person or `nil` if missing.
|
11
10
|
class Person < Common::BaseModel
|
12
11
|
passthrough :id, :external_id, :name, :email, :filter_tags
|
13
|
-
passthrough :supervisor_id, :
|
12
|
+
passthrough :supervisor_id, :contractor_organization_id
|
14
13
|
passthrough :freemium
|
15
14
|
|
16
15
|
class_resolver :person_schema_class, "Ecoportal::API::V1::PersonSchema"
|
@@ -81,7 +80,7 @@ module Ecoportal
|
|
81
80
|
end
|
82
81
|
|
83
82
|
def as_update(ref = :last, ignore: [])
|
84
|
-
super(ref, ignore: ignore
|
83
|
+
super(ref, ignore: ignore)
|
85
84
|
end
|
86
85
|
|
87
86
|
# Sets the PersonDetails to the person, depending on the paramter received:
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecoportal-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tapio Saarinen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -197,7 +197,6 @@ files:
|
|
197
197
|
- ".gitignore"
|
198
198
|
- ".rspec"
|
199
199
|
- ".rubocop.yml"
|
200
|
-
- ".travis.yml"
|
201
200
|
- ".yardopts"
|
202
201
|
- CHANGELOG.md
|
203
202
|
- Gemfile
|