eco-rake 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -2
- data/lib/eco-rake/utils/mailing.rb +2 -2
- data/lib/eco-rake/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: 074016c49dcad11008927bbd2463b93b5f8f8b9fd78735c74ec5b1d67f8091a3
|
4
|
+
data.tar.gz: 42793537149d86f4c5761cc74370a47c7fa1943259ec32426d26db6feb20d64f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4f737b509802574d297f50494f2998c2babfb496d23a5b1420e3f00342f8ea49439f59b74e8c3644b048e99a871b3e93b225a1cedeb9baf5982e49cecac5854
|
7
|
+
data.tar.gz: 7b6240f0d0e6206051767b957d3b83fbe9673e96aed98e07584508fda034fde4849cc8a2df8c6d1e56e75feaf90a5c13252dbaf32d24f3540f60e2e933aa40c4
|
data/CHANGELOG.md
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [0.1.
|
4
|
+
## [0.1.4] - 2023-07-xx
|
5
5
|
|
6
6
|
### Added
|
7
7
|
### Fixed
|
8
8
|
|
9
9
|
### Changed
|
10
10
|
|
11
|
-
## [0.1.4] - 2023-
|
11
|
+
## [0.1.4] - 2023-07-23
|
12
12
|
|
13
13
|
### Fixed
|
14
14
|
- Type in `EcoRake::Utils::Mailing#email`
|
@@ -7,8 +7,8 @@ class EcoRake
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def email(subject:, body:, to:, enviro: nil)
|
10
|
-
has_enviro = subject && subject.downcase.include?(enviro.downcase)
|
11
|
-
subject = "#{enviro.upcase} - #{subject}"
|
10
|
+
has_enviro = enviro && subject && subject.downcase.include?(enviro.downcase)
|
11
|
+
subject = "#{enviro.upcase} - #{subject}" if enviro && !has_enviro
|
12
12
|
mailer.mail(**{
|
13
13
|
to: to,
|
14
14
|
subject: subject,
|
data/lib/eco-rake/version.rb
CHANGED