voltron-notify 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa1739df09fe0932193f362f2cbfc87a0d1cf75a
4
- data.tar.gz: ebd82b3a4221a9a1ba32fd249d635a749740bcfe
3
+ metadata.gz: 1a5b3698338034a49cbc2d913a7186affb077242
4
+ data.tar.gz: d023b2ab72347635fd0630ff4def8a1e47909c9d
5
5
  SHA512:
6
- metadata.gz: 0e6772721e3818480d21d44a8b9e5238a913da8cbbefd370edff5be0a809fde7219bbd4d526a49c835eeaef69a3a4e6d8da4fabe3323687dfe21122387be2a20
7
- data.tar.gz: e71e0911228ece8b8e94ee430bb55200005d6ed560e2cca4b90cf4ba8a89ccc937c686442cc6d6662b5f75eb99784eafd57756855d466fc0fd1f75ea88765e7e
6
+ metadata.gz: be032306f501371ee306dafa9fd816baa367681473a5bb72e24cebfe40f892d3b6a2faf56a1c1c1655d5de27154e5989e3ddc8159d373092ec567b6420324ee8
7
+ data.tar.gz: f4ffbed4709163b3ecb19b476b509ce422cb1e59fa8804b981dbc25af75c05f4abc01b99248b16c312264301e756f0de660bc51a6bd28d49e4bffd5e1ac14da5
@@ -34,7 +34,7 @@ class Voltron::Notification::EmailNotification < ActiveRecord::Base
34
34
  path = file.path
35
35
  file.close
36
36
  elsif !File.exist?(path)
37
- path = Voltron.asset.find(path)
37
+ path = Voltron.asset.find(path) || path
38
38
  end
39
39
 
40
40
  attachments[name] = path
data/bin/console CHANGED
File without changes
data/bin/setup CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  module Voltron
2
2
  module Notify
3
- VERSION = '0.2.1'.freeze
3
+ VERSION = '0.2.2'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voltron-notify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Hainer
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-22 00:00:00.000000000 Z
11
+ date: 2018-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.6.11
245
+ rubygems_version: 2.6.14
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Send notifications easier