rails_email_preview 2.0.3 → 2.0.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
  SHA1:
3
- metadata.gz: 95c79b3a9b96da7424efff16a76e79fb8a1ef655
4
- data.tar.gz: a6effda07e1c14a4dc22a983311b7127565e99a3
3
+ metadata.gz: ad245287c2281ea3c9fb7d7d62fdb2eeaffe0f15
4
+ data.tar.gz: db3b448cbb4b90eb20100beb3c10d72a4892597f
5
5
  SHA512:
6
- metadata.gz: da18fdc01a498523012f835affd40902cd929c5d2c53da91b2f00e1e75f51934ba657e314a3df2f529fd942179e8cf4ca5f1c7bcd00d277b4c0dc18037995d66
7
- data.tar.gz: 49804955465d3083d9482d3457fa757ca512b0b23016765442b406a577c547783751927bc887a0fc114d37e8fdd196dc36c5d993f39869d41b3cb07517051ec0
6
+ metadata.gz: 78e8f48adeb858442e6221ca95576cc067d55e60a414db112bd7d0e4a78816e02ade0521c1d920526a60b5806427910410b8c3f193fb9dcad5e48d2802ff63d3
7
+ data.tar.gz: 6f9097e3a34c1dfd3524ecc623968cca04065f7385570de7f238a0b30558cee36d6083ab6295e1fcf4732533d982a7900608d21768f8a25f3852290aedc971e5
data/README.md CHANGED
@@ -17,7 +17,7 @@ REP comes with two themes: a simple standalone theme, and a theme that uses [Boo
17
17
  Add [![Gem Version][gem-badge]][gem] to Gemfile:
18
18
 
19
19
  ```ruby
20
- gem 'rails_email_preview', '~> 2.0.3'
20
+ gem 'rails_email_preview', '~> 2.0.4'
21
21
  ```
22
22
 
23
23
  Add an initializer and the routes:
@@ -28,7 +28,9 @@
28
28
  var scrollbarHeight = 17;
29
29
  return scrollbarHeight + marginY + Math.max(
30
30
  body.scrollHeight, body.offsetHeight, body.clientHeight,
31
- boundingRect.height + boundingRect.top);
31
+ boundingRect.height + boundingRect.top) +
32
+ // no idea why these 4px are needed:
33
+ 4;
32
34
  }
33
35
 
34
36
  function fetchHeaders() {
@@ -6,7 +6,6 @@ require 'rails_email_preview/delivery_handler'
6
6
  require 'rails_email_preview/view_hooks'
7
7
 
8
8
  require 'sass'
9
- require 'sass-rails'
10
9
  require 'request_store'
11
10
  require 'turbolinks'
12
11
  require 'pathname'
@@ -1,3 +1,3 @@
1
1
  module RailsEmailPreview
2
- VERSION = '2.0.3'
2
+ VERSION = '2.0.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_email_preview
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gleb Mazovetskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-06 00:00:00.000000000 Z
11
+ date: 2017-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '4.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: sass-rails
28
+ name: sass
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
190
  version: '0'
191
191
  requirements: []
192
192
  rubyforge_project:
193
- rubygems_version: 2.6.11
193
+ rubygems_version: 2.6.12
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: Preview emails in browser (rails engine)