eco-helpers 2.0.51 → 2.0.52
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 -3
- data/lib/eco/api/usecases/default_cases/clean_unknown_tags_case.rb +6 -0
- data/lib/eco/data/files/directory.rb +1 -1
- data/lib/eco/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6424664c072321d2d1c45388fea06cfe16e8e42f4949e202be31555e8e052fa
|
4
|
+
data.tar.gz: 7b18ae74a24157949fbb80b26320b31312ef91c43eb73f1384c8c964da52e79c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d1e57dc41b76a01bc80cf08108b4e50a456976dbe05bb33a4620cccb2ae745c76e88ce5af0c43795171ac758f6f55465835e22373a484967dd5a4f3ed57e318
|
7
|
+
data.tar.gz: 901007d2346ef608b67011e6f49f560c16a5cb6f0010b16fa24441bf2cfd06a8f8aa82dfd4ba78b86e50cd0aca340047173f6e80800f56340dad668bb27f1516
|
data/CHANGELOG.md
CHANGED
@@ -1,15 +1,21 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## [2.0.52] - 2022-02-xx
|
5
|
+
|
6
|
+
### Added
|
7
|
+
- `Eco::API::UseCases::DefaultCases::CleanUnknownTags` include `default_tag` refresh
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
### Fixed
|
11
|
+
- `Eco::Data::Files::Directory#dir_files` to be returned in alphabetic order
|
12
|
+
|
4
13
|
## [2.0.51] - 2022-02-27
|
5
14
|
|
6
15
|
### Added
|
7
16
|
- `Eco::API::MicroCases#person_update!` launches an update against the Server for one person
|
8
17
|
- `Eco::API::MicroCases#take_email_from_account` with given an account associated to an `email` that we cannot take, it associates that account to a different email
|
9
18
|
|
10
|
-
### Changed
|
11
|
-
### Fixed
|
12
|
-
|
13
19
|
## [2.0.50] - 2022-02-23
|
14
20
|
|
15
21
|
### Added
|
@@ -23,6 +23,12 @@ class Eco::API::UseCases::DefaultCases::CleanUnknownTags < Eco::API::Common::Loa
|
|
23
23
|
unknown_tags = person.filter_tags.select {|tag| !tag?(tag)}
|
24
24
|
person.filter_tags -= unknown_tags
|
25
25
|
unknown_tag!(*unknown_tags)
|
26
|
+
if (account = person.account) && tag = account.default_tag
|
27
|
+
unless tag?(tag)
|
28
|
+
micro.refresh_default_tag(person.entry, person, options)
|
29
|
+
unknown_tag!(tag)
|
30
|
+
end
|
31
|
+
end
|
26
32
|
update.add(person)
|
27
33
|
end
|
28
34
|
end
|
data/lib/eco/version.rb
CHANGED