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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a52b402271aaa9c2010cfd193fd3858e186328f0c13b4fafb3f449ed768eb62
4
- data.tar.gz: ad574fc2698517185a7b43a3dc02a431a12edf895f6bceb7b012d0cf61923f3b
3
+ metadata.gz: c21c77496f6df6b75142812d9a5c169871a34b5f5c02d3275a889d982989651f
4
+ data.tar.gz: 81b1018eb27f23bb4d6c39a035c5d0c1c79cb2e4cb90736fcf43344f6307e479
5
5
  SHA512:
6
- metadata.gz: a1c1eccaa4ac748e90f57069697724a9d5b9f4482f29c5e5cf1766407dc32ac85161fca9f9cce89db063b73b84b9f7ece72538eb6a78adf6f34bc02ab250a52d
7
- data.tar.gz: 272edf9e6edf6912074367770a454dcc824ab1cec0eabba3b464b83eb319f744dbd6e42d0b77d5c4ef1ccc812c6df692ce8bb95d45f53b65d9e70469fb1bacb5
6
+ metadata.gz: 57ef873424e0abc93f4d134359ffc2c5885f3bb0d2c75023273a18c91c298edb0441dfd9e3020016e5e96813a5688e950cc3744dda4d73ec517e9db19474c4c1
7
+ data.tar.gz: 9bca31a5b8121db59579e57af298b0fc74820b765a9cda8cce87f2df19cc4096f4e3443fdc01364a4161954be67fdd4d5565ba1e404a502b46852e28227a5b7d
data/.travis.yml CHANGED
@@ -2,8 +2,10 @@ sudo: false
2
2
  language: ruby
3
3
 
4
4
  rvm:
5
- - 2.3.3
6
- - 2.2.6
5
+ - 2.5.0
6
+ - 2.4.3
7
+ - 2.3.6
8
+ - 2.2.9
7
9
  - 2.1.10
8
10
 
9
11
  cache: bundler
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
- ENV['LAUNCHY_DRY_RUN'] = 'false'
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LetterOpenerWeb
4
- VERSION = '1.3.2'
4
+ VERSION = '1.3.3'
5
5
  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.2
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-14 00:00:00.000000000 Z
11
+ date: 2018-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer