letter_opener_web 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +4 -2
- data/CHANGELOG.md +5 -0
- data/lib/letter_opener_web/delivery_method.rb +6 -1
- data/lib/letter_opener_web/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c21c77496f6df6b75142812d9a5c169871a34b5f5c02d3275a889d982989651f
|
4
|
+
data.tar.gz: 81b1018eb27f23bb4d6c39a035c5d0c1c79cb2e4cb90736fcf43344f6307e479
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 57ef873424e0abc93f4d134359ffc2c5885f3bb0d2c75023273a18c91c298edb0441dfd9e3020016e5e96813a5688e950cc3744dda4d73ec517e9db19474c4c1
|
7
|
+
data.tar.gz: 9bca31a5b8121db59579e57af298b0fc74820b765a9cda8cce87f2df19cc4096f4e3443fdc01364a4161954be67fdd4d5565ba1e404a502b46852e28227a5b7d
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## [1.3.3](https://github.com/fgrehm/letter_opener_web/compare/v1.3.2...v1.3.3) (Jan 29, 2018)
|
2
|
+
|
3
|
+
- Set `LAUNCHY_DRY_RUN` explicitly to avoid `Launchy::CommandNotFoundError` [#75](https://github.com/fgrehm/letter_opener_web/pull/75)
|
4
|
+
- Update Ruby matrix for test to include more recent versions [#77](https://github.com/fgrehm/letter_opener_web/pull/77)
|
5
|
+
|
1
6
|
## [1.3.2](https://github.com/fgrehm/letter_opener_web/compare/v1.3.1...v1.3.2) (Jan 14, 2018)
|
2
7
|
|
3
8
|
- Disable Launchy with ENV to avoid redefining the whole delivery method [#73](https://github.com/fgrehm/letter_opener_web/pull/73)
|
@@ -5,9 +5,14 @@ require 'letter_opener/delivery_method'
|
|
5
5
|
module LetterOpenerWeb
|
6
6
|
class DeliveryMethod < LetterOpener::DeliveryMethod
|
7
7
|
def deliver!(mail)
|
8
|
+
original = ENV['LAUNCHY_DRY_RUN']
|
8
9
|
ENV['LAUNCHY_DRY_RUN'] = 'true'
|
10
|
+
|
9
11
|
super
|
10
|
-
|
12
|
+
rescue Launchy::CommandNotFoundError # rubocop:disable HandleExceptions
|
13
|
+
# Ignore for non-executable Launchy environment.
|
14
|
+
ensure
|
15
|
+
ENV['LAUNCHY_DRY_RUN'] = original
|
11
16
|
end
|
12
17
|
end
|
13
18
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: letter_opener_web
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fabio Rehm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|