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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45e5ed3cd96fedb7c4b79b0f302b0f97c5d20ba445de2a82c10b389f34172166
4
- data.tar.gz: e8abe2ee8382132028ad44b571724d315e9901e0bf7b37de245a2f2ef6f1a42c
3
+ metadata.gz: 5696bb0c226299139a1c081ec5de3c041fdd252d76ca56ff45479c78e53c84c5
4
+ data.tar.gz: 987ec0d24a1ee340b2b9cb8b68dd575eb1a5f0110d4a18c653d61c9145d320b9
5
5
  SHA512:
6
- metadata.gz: a84aad3d8fedf22538e01d64085d71c0c3b08ae43f6b573b4551342b3428f5428290109998ff65e297ca9b1845146384cdf90bb4b37a3fccbbe0bc37ed506bfb
7
- data.tar.gz: 907fd4763a58ccc82eab68d239aea2fb931bc5eb683c1eb1eda6773a8a84a89f5f3fc0e73709b73cfd7d8594e80789e66edc601ee4326cd84b92e5f83c7986e9
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.6] - 2024-02-03
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
@@ -19,9 +19,10 @@ Or install it yourself as:
19
19
 
20
20
  $ gem install ecoportal-api
21
21
 
22
- ## Usage
23
22
 
24
- TODO
23
+ ## Changelog
24
+
25
+ See {file:CHANGELOG.md} for a list of changes.
25
26
 
26
27
  ## Development
27
28
 
@@ -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, :subordinates, :contractor_organization_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 | ["subordinates"])
83
+ super(ref, ignore: ignore)
85
84
  end
86
85
 
87
86
  # Sets the PersonDetails to the person, depending on the paramter received:
@@ -1,5 +1,5 @@
1
1
  module Ecoportal
2
2
  module API
3
- VERSION = "0.9.6"
3
+ VERSION = "0.9.7"
4
4
  end
5
5
  end
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.6
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-02-02 00:00:00.000000000 Z
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
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.5.1
5
- before_install: gem install bundler -v 1.16.1