harbr 0.1.66 → 0.1.68

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/harbr/version.rb +1 -1
  3. data/lib/harbr.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a114138ef3d1f321f22ea3993a68f1cf8bc85f531e2243ed4369561cbb0e4d0e
4
- data.tar.gz: 273489a6954b2213484a5b40c01ac3e9a6d1b68a4b69c2f7c925e8931c84e5a8
3
+ metadata.gz: 597aee4fc387d75a436469f6dbef9b9ba7ab9df7d4bd1dc27d7d529f87a059dc
4
+ data.tar.gz: 9c67e6ef421123e8b6aaaf4524534236392ee7bdf1ba1c97263ac20d0e3c9930
5
5
  SHA512:
6
- metadata.gz: 5a13578468286319e1c08411cbf07eafcc03cff7f9491f1a3b7f04c1af2d2f6606ea464f0f299dc96c2f299036c4b50d2b4cbf41f9f2e6fd01016eedb0a5de4a
7
- data.tar.gz: face4310435a69a1469b652e3b771e932ef36676bc081972a0812c24b1da8a74751fe35384c795d660ee99f0420f8eccc875d73292c255ff185990de0527fff2
6
+ metadata.gz: 3e28d626ca3ff26fe806d106cad2fb3ec8d9d08c7e3bd408b7d73bd1750a1aab688ad4075adb888231ca2cd2fc3765921df69165acdc4e48290188d538502efd
7
+ data.tar.gz: b2191959bed90300855380829a0854018d2e05b466ea47cb6c068e14e515600e3f09810b321542ec8d07efc2298bb0739d2c88956139bae95ff3fdc2ce8a6440
data/lib/harbr/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Harbr
4
- VERSION = "0.1.66"
4
+ VERSION = "0.1.68"
5
5
  end
data/lib/harbr.rb CHANGED
@@ -19,10 +19,10 @@ module Harbr
19
19
  class Error < StandardError; end
20
20
 
21
21
  def self.send_notification(subject, body)
22
- Resend.api_key = ENV["RESEND_API_KEY"]
23
-
24
22
  resend_config = YAML.load_file("/etc/harbr/resend.yml")
25
-
23
+
24
+ Resend.api_key = resend_config["key"]
25
+
26
26
  params = {
27
27
  from: resend_config["from"],
28
28
  to: resend_config["to"],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.66
4
+ version: 0.1.68
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delaney Kuldvee Burke