ecoportal-api-v2 0.8.28 → 0.8.29
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 +4 -4
- data/CHANGELOG.md +13 -3
- data/lib/ecoportal/api/v2/page/component/action_field.rb +2 -1
- data/lib/ecoportal/api/v2/page/component/people_field.rb +2 -0
- data/lib/ecoportal/api/v2/page/permission_flags.rb +1 -1
- data/lib/ecoportal/api/v2/pages/page_stage.rb +7 -0
- data/lib/ecoportal/api/v2_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: ca7591fd58fc849aefad7508d07e7902d5016ccaa19642dc7f8bb94b2ad445ca
|
4
|
+
data.tar.gz: c0a76091ed2702c29973d7295654f447425bf8e819e9684913bc71132eeccc9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aab5c8003ceb2d0bfc71169f9a2bcda26cb37253cad9a6ec277309c4d2c6bb1a3e4a4fc8717b69286a81b4b6cf43b8e3c969267171f5d4b529fefbe1c85e2da8
|
7
|
+
data.tar.gz: 96d45a7aba715ea08eb0b96f6920f2dae25a8f27383f460e4883bf79233a9efb2a26bea10025d7b8a7931b3450c9650e1518da52044c90e03f8edfcbba8f9058
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,25 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [0.8.
|
4
|
+
## [0.8.29] - 2022-06-xx
|
5
5
|
|
6
6
|
### Added
|
7
|
-
- `Ecoportal::API::V2::Page::Component::
|
8
|
-
|
7
|
+
- `Ecoportal::API::V2::Page::Component::ActionField#permitted_person_schema_ids`
|
8
|
+
- Integration for the new feature
|
9
|
+
- `Ecoportal::API::V2::Pages::PageStage#uid` new method for directly rendering the uid
|
9
10
|
|
10
11
|
### Changed
|
12
|
+
- `Ecoportal::API::V2::Page::Component::PeopleField#configure_permits`
|
13
|
+
- Allow for `can_view` to prevent unnecessary errors
|
11
14
|
|
12
15
|
### Fixed
|
16
|
+
- `Ecoportal::API::V2::Page::PermissionFlags#configure` fixed typo
|
17
|
+
|
18
|
+
## [0.8.28] - 2022-05-31
|
19
|
+
|
20
|
+
### Added
|
21
|
+
- `Ecoportal::API::V2::Page::Component::File` added `label`
|
22
|
+
- `Ecoportal::API::V2::Page::Component::Image` added `upload_id` and `file_file_name`
|
13
23
|
|
14
24
|
## [0.8.27] - 2022-04-25
|
15
25
|
|
@@ -7,7 +7,8 @@ module Ecoportal
|
|
7
7
|
passboolean :create_actions
|
8
8
|
passthrough :required_number_of_completed_actions
|
9
9
|
passboolean :permits_and_rules_integration, :add_subscribed, :add_subscribed_to_tasks
|
10
|
-
|
10
|
+
passarray :permitted_person_schema_ids, order_matters: false
|
11
|
+
|
11
12
|
embeds_many :actions, klass: "Ecoportal::API::V2::Page::Component::Action", order_key: :weight
|
12
13
|
|
13
14
|
# Adds a task with `name` short description
|
@@ -10,6 +10,13 @@ module Ecoportal
|
|
10
10
|
#embeds_many :permits, klass: "Ecoportal::API::V2::Page::Permit"
|
11
11
|
passarray :force_errors, :subtags, order_matters: false
|
12
12
|
|
13
|
+
# @return [String] unique id
|
14
|
+
def uid
|
15
|
+
if counter = mould_counter
|
16
|
+
counter.render
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
13
20
|
# @return [String] `id` of the stage we got the data of.
|
14
21
|
def current_stage_id
|
15
22
|
doc.dig("active_stage", "id") || doc["current_stage_id"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecoportal-api-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.29
|
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-
|
11
|
+
date: 2022-07-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|