eco-helpers 3.0.2 → 3.0.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 +11 -1
- data/lib/eco/api/organization/login_providers.rb +10 -7
- data/lib/eco/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: 4515e1cd31a6ef2104b4502ce26e8c6f881aba08e22ab36650b1de59a9a3fb56
|
4
|
+
data.tar.gz: c28a4d186bd8850576947aacee7d2b1908a94879ed44ec2b58302153aa8a4c6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2d252124e3076b348a9928994b12dccfc8ae3207ac889b45bbfd62fa97f07f208d82e76b567e998d9081037c9e8bfda0dc216200e7f53479b8a2ae53d35b751
|
7
|
+
data.tar.gz: 2f1d3b77a28ae09704dc6ddb7896c7aca91c07ca1b74f837d28d6b5495b74ed5a7752ac2a062f5cf3fd3944cba66d917ec2558c9bf52ad271e67b968a25ce4f7
|
data/CHANGELOG.md
CHANGED
@@ -2,12 +2,22 @@
|
|
2
2
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
-
## [3.0.
|
5
|
+
## [3.0.4] - 2024-08-xx
|
6
6
|
|
7
7
|
### Added
|
8
8
|
|
9
9
|
### Changed
|
10
10
|
|
11
|
+
### Fixed
|
12
|
+
|
13
|
+
## [3.0.3] - 2024-08-13
|
14
|
+
|
15
|
+
### Added
|
16
|
+
|
17
|
+
- `login_provider_ids` parser
|
18
|
+
- Natural options for `sso` and `magic_link`
|
19
|
+
- This links with people imports spreadsheet
|
20
|
+
|
11
21
|
## [3.0.2] - 2024-08-09
|
12
22
|
|
13
23
|
### Changed
|
@@ -96,15 +96,18 @@ module Eco
|
|
96
96
|
|
97
97
|
hash[type] = lp unless hash.key?(type)
|
98
98
|
|
99
|
-
|
100
|
-
|
101
|
-
hash[:sso]
|
99
|
+
if lp.type == 'saml'
|
100
|
+
# only map the first :sso
|
101
|
+
hash[:sso] = lp unless hash.key?(:sso)
|
102
|
+
hash['sso'] = lp unless hash.key?('sso')
|
102
103
|
end
|
103
104
|
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
105
|
+
next unless lp.type == 'onetimepassword'
|
106
|
+
|
107
|
+
hash[:magic_link] = lp
|
108
|
+
hash[:magiclink] = lp
|
109
|
+
hash['magic_link'] = lp
|
110
|
+
hash['magiclink'] = lp
|
108
111
|
end
|
109
112
|
|
110
113
|
@caches_init = true
|
data/lib/eco/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eco-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oscar Segura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|