letter_opener_web 1.3.3 → 1.3.4

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: c21c77496f6df6b75142812d9a5c169871a34b5f5c02d3275a889d982989651f
4
- data.tar.gz: 81b1018eb27f23bb4d6c39a035c5d0c1c79cb2e4cb90736fcf43344f6307e479
3
+ metadata.gz: 5371ec444a8c7c1d8446e0c61e163787a52d0e9e919ccc9113ae611c19087f02
4
+ data.tar.gz: 2d6a00656c5f18e33d7a31d9dfea339c73af434c6dda1498ab803a4f0f045e96
5
5
  SHA512:
6
- metadata.gz: 57ef873424e0abc93f4d134359ffc2c5885f3bb0d2c75023273a18c91c298edb0441dfd9e3020016e5e96813a5688e950cc3744dda4d73ec517e9db19474c4c1
7
- data.tar.gz: 9bca31a5b8121db59579e57af298b0fc74820b765a9cda8cce87f2df19cc4096f4e3443fdc01364a4161954be67fdd4d5565ba1e404a502b46852e28227a5b7d
6
+ metadata.gz: 02a86b66e9c4804785777ffcffc790a024d5760edbfb49453680ce11d02055542d3bdf27e8e498f9fa10ed3b531d241c55b1dc11895e3e6d496713d015819487
7
+ data.tar.gz: 288baaa9373f2f02187197c49cf5078dc872ce89455ae119feb0491e756ec712a67a3d7134eb8bc66e1684579912671e3b3c785bd8aa3525f055ad751d6e0ff2
@@ -2,6 +2,7 @@
2
2
  AllCops:
3
3
  TargetRubyVersion: 2.3
4
4
  Exclude:
5
+ - "bin/**/*"
5
6
  - "spec/dummy/bin/**/*"
6
7
  - "tmp/**/*"
7
8
  - "vendor/**/*"
@@ -1,3 +1,11 @@
1
+ ## [Unreleased](https://github.com/fgrehm/letter_opener_web/compare/v1.3.4...master)
2
+
3
+ ## [1.3.4](https://github.com/fgrehm/letter_opener_web/compare/v1.3.3...v1.3.4) (Apr 04, 2018)
4
+
5
+ ### Fixed
6
+
7
+ - Due to a load order issue, sometimes the main `ApplicationController` was used by this gem (unnecessary) [#82](https://github.com/fgrehm/letter_opener_web/pull/82)
8
+
1
9
  ## [1.3.3](https://github.com/fgrehm/letter_opener_web/compare/v1.3.2...v1.3.3) (Jan 29, 2018)
2
10
 
3
11
  - Set `LAUNCHY_DRY_RUN` explicitly to avoid `Launchy::CommandNotFoundError` [#75](https://github.com/fgrehm/letter_opener_web/pull/75)
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_dependency 'letter_opener_web/application_controller'
4
+
3
5
  module LetterOpenerWeb
4
6
  class LettersController < ApplicationController
5
7
  before_action :check_style, only: [:show]
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path('../lib', __FILE__)
3
+ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
  require 'letter_opener_web/version'
6
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module LetterOpenerWeb
4
- VERSION = '1.3.3'
4
+ VERSION = '1.3.4'
5
5
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  describe LetterOpenerWeb::Letter do
4
- let(:location) { File.expand_path('../../../tmp', __FILE__) }
4
+ let(:location) { File.expand_path('../../tmp', __dir__) }
5
5
 
6
6
  def rich_text(mail_id)
7
7
  <<-MAIL
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  ENV['RAILS_ENV'] ||= 'test'
4
- require File.expand_path('../dummy/config/environment', __FILE__)
4
+ require File.expand_path('dummy/config/environment', __dir__)
5
5
  require 'spec_helper'
6
6
  require 'rspec/rails'
7
7
 
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.3
4
+ version: 1.3.4
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-29 00:00:00.000000000 Z
11
+ date: 2018-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  version: '0'
226
226
  requirements: []
227
227
  rubyforge_project:
228
- rubygems_version: 2.7.4
228
+ rubygems_version: 2.7.6
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: Gives letter_opener an interface for browsing sent emails