blackstack-core 1.2.25 → 1.2.27
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/lib/extend_exception.rb +1 -1
- data/lib/functions.rb +3 -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: 51ccdc5a340ef6ea723f5a4698b915fbb0502c8ee787f493738993ceedd174d1
|
4
|
+
data.tar.gz: 3918dd18149cd98f2aea89a2809e388b419a4a574735c5556d213555518f8c19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cbec53ec3c0c135c9d241677bb85d9375fd0cd03b7b8c5d410d598cdc956d79195b43a9930f3919170352cd7fb2248d8e1e35283e5e8776102be6a9c41e570f
|
7
|
+
data.tar.gz: 38f3be7efc93d053acc74f3b927caa4b87a53d3f05718c49526301ad8d1b984a6b3a9960e6f4f3d1f4ea14d71b073e06d3d40aa93d93bc36113b8b0e116d5f1c
|
data/lib/extend_exception.rb
CHANGED
data/lib/functions.rb
CHANGED
@@ -127,14 +127,16 @@ module BlackStack
|
|
127
127
|
#
|
128
128
|
# Parameters:
|
129
129
|
# - id_account: guid. Id of the account to bring the profiles. Sysowner must provide the id_account for getting an account value. For non sysowner it is assigned to his account.
|
130
|
+
# - promiscuous: boolean. It works only for Sysowner. If true, it will bring all non-deleted rows. If false, it will bring only rows matching id_profile. Default: false.
|
130
131
|
# - page: integer. Page number.
|
131
132
|
# - limit: integer. Number of profiles per page.
|
132
133
|
# - params: hash. Additional filter parameters used by the specific child class.
|
133
134
|
#
|
134
|
-
def self.page(id_account: nil, page:, limit:, filters: {})
|
135
|
+
def self.page(id_account: nil, promiscuous: false, page:, limit:, filters: {})
|
135
136
|
# add page and limit to the params
|
136
137
|
params = {}
|
137
138
|
params['id_account'] = id_account
|
139
|
+
params['promiscuous'] = promiscuous
|
138
140
|
params['page'] = page
|
139
141
|
params['limit'] = limit
|
140
142
|
params['filters'] = filters
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blackstack-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: content_spinning
|