eco-rake 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa7405fb06b10d3052ffacab860fb0025d531991d75bfc1a1b9459045b13d301
4
- data.tar.gz: a8ee96250e7234e34308f0d713ec5353cee15f808bfd777587927409c407d5ce
3
+ metadata.gz: 2267520b8e3a96d2a5f0c6b44aafb129f7d75592b090991d9738f0824f4a397e
4
+ data.tar.gz: 75d8139d6dbe8be2a853b083cab99d98f6145b1b5e3ad73620b4569579ae7952
5
5
  SHA512:
6
- metadata.gz: 951153395cdc3d54497af9dbc34b1c6a4814726de827c823f6d4a93215a86767f40d7c13b6a096890b65e9e2a9454c573414f30ff36ba59a98dc99413788c133
7
- data.tar.gz: 18daed0a491aec28f760208eb48fde5675b00986574f78fe09a886ffd8ccb98cb71330129cc8a195780152f42a7c142f57497abddfedd666aabf0a3daf822bdb
6
+ metadata.gz: a5724ff6fd5ab51f0851783bd04850b972ca5a01f58674e4c02adef49b5c17d30b379d5644a4a2d66925ffa028094c28c727a651b4e22271f295c382c137ed8c
7
+ data.tar.gz: edd52995662c0346519bdc764a7241c55213349c9b5d32355333320ea4812496587090a88a041927cf715c082c041e717ec33ff170eb0f51e46b48fef08323da
data/CHANGELOG.md CHANGED
@@ -1,12 +1,17 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [0.1.2] - 2023-06-xx
4
+ ## [0.1.3] - 2023-06-xx
5
5
 
6
6
  ### Added
7
7
  ### Fixed
8
+
8
9
  ### Changed
9
- - Notify when file decryption fails
10
+
11
+ ## [0.1.4] - 2023-06-xx
12
+
13
+ ### Fixed
14
+ - Type in `EcoRake::Utils::Mailing#email`
10
15
 
11
16
  ## [0.1.2] - 2023-06-09
12
17
 
@@ -7,7 +7,8 @@ class EcoRake
7
7
  end
8
8
 
9
9
  def email(subject:, body:, to:, enviro: nil)
10
- subject = "#{enviro.upcase} - #{subject}" unless !enviro && subject.downcase.include?(enviro.downcase)
10
+ has_enviro = subject && subject.downcase.include?(enviro.downcase)
11
+ subject = "#{enviro.upcase} - #{subject}" unless !enviro && has_enviro
11
12
  mailer.mail(**{
12
13
  to: to,
13
14
  subject: subject,
@@ -1,5 +1,5 @@
1
1
  require 'rake-commander'
2
2
 
3
3
  class EcoRake < RakeCommander
4
- VERSION = '0.1.2'.freeze
4
+ VERSION = '0.1.3'.freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura Samper
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-09 00:00:00.000000000 Z
11
+ date: 2023-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler