mail_grabber 1.2.1 → 1.3.1

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: 0dd58a8c4a209377bde0a889539208418aa1245b1b42a3e1799a4976711b01c4
4
- data.tar.gz: e8fa33ca7477ff7c0366eb5239f8718e6e1b000693288b282406084489cfa398
3
+ metadata.gz: 46f5553dcdc0ccc5065e67fb6ba745a4e0d1e8efc69a3198fcd2bf4812d9ac07
4
+ data.tar.gz: cc7371b78939c807fde7d05afebf18ab3f5359e375449878d5b6996cc20b5ac2
5
5
  SHA512:
6
- metadata.gz: f328e5349f02f4a4f0236f85b1712d9795ca9a41b74662d231c781c045f1122fa816dc1d49d10bae9026fd4c4da57fd3f193cef6aa2cb98ad0966367e6d0fb90
7
- data.tar.gz: 5eb4c771eefb94b130e601d5be15fe816eb8503d5a0c93997a3c2a2e46b151d6c11e76cee6e38c0665c6c9b6b88009f33b811e6a0e81a775e40165d222787dc3
6
+ metadata.gz: a6ee60f8e899975118dde5d719c871166ada0c7d98788044b41494899654bf08d1bebb17b1c51b483475e955c2aaeee3213223481464880153afa2f6433d1dd6
7
+ data.tar.gz: 8f5408d1d9ae2890db76f75241fb9da827414f968814b8f4c372a069548448cf3c711f2ceae604e45832ae418630a13f755c040ac8f6ddced8912ee1f308f3c2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Change log
2
2
 
3
+ ## 1.3.1 (2023-01-25)
4
+
5
+ ### Changes
6
+
7
+ * Update rack to version 3.0.4.1 because of security issues.
8
+
9
+
10
+ ## 1.3.0 (2022-10-04)
11
+
12
+ ### Changes
13
+
14
+ * Replace rack to rackup gem as a dependency.
15
+ In the rack 3.x gem it was extracted rackup command, Rack::Server, Rack::Handler, Rack::Lobster and related code into a separate gem.
16
+ * Update bundler and gems.
17
+
18
+ ### Bug fixes
19
+
20
+ * Fix infinite scroll.
21
+ In the new Chrome browser, the scrollTop is a float and not an integer. Because of that, the infinite scroll was stopped working.
22
+ * Override webrick server for capybara in RSpec configuration.
23
+ At this moment capybara does not support the new rack/rackup changes.
24
+
25
+
3
26
  ## 1.2.1 (2022-05-27)
4
27
 
5
28
  ### Changes
@@ -35,7 +58,7 @@
35
58
  ### Changes
36
59
 
37
60
  * Update documentation.
38
- * Change javascript to hide HTML tab if mail does not have HTML part.
61
+ * Change JavaScript to hide HTML tab if mail does not have HTML part.
39
62
  * Refactoring the JavaScript code.
40
63
  * Change the documentation uri in the gemspec file.
41
64
  * Update .rubocop.yml.
@@ -239,7 +239,7 @@ module MailGrabber
239
239
  if File.exist?(db_location)
240
240
  SQLite3::Database.new(db_location, **DATABASE[:params])
241
241
  else
242
- Dir.mkdir(DATABASE[:folder]) unless Dir.exist?(DATABASE[:folder])
242
+ FileUtils.mkdir_p(DATABASE[:folder])
243
243
 
244
244
  SQLite3::Database.new(db_location, **DATABASE[:params]).tap do |db|
245
245
  create_mail_table(db)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailGrabber
4
- VERSION = '1.2.1'
4
+ VERSION = '1.3.1'
5
5
  end
@@ -77,7 +77,7 @@ var MailGrabberApplication = {
77
77
  var scrollTop = messageList.scrollTop;
78
78
  var clientHeight = messageList.clientHeight;
79
79
 
80
- if(scrollHeight - scrollTop === clientHeight &&
80
+ if(scrollTop + clientHeight >= scrollHeight - 0.5 &&
81
81
  !MailGrabberVariables.messageListReloading) {
82
82
  MailGrabberApplication.getMessageList();
83
83
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mail_grabber
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Norbert Szivós
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-27 00:00:00.000000000 Z
11
+ date: 2023-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mail
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.5'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rack
28
+ name: rackup
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.3.1
33
+ version: '0.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.2.3.1
40
+ version: '0.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -118,7 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
118
118
  - !ruby/object:Gem::Version
119
119
  version: '0'
120
120
  requirements: []
121
- rubygems_version: 3.1.4
121
+ rubygems_version: 3.1.6
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Grab mails to inspect with MailGrabber.