mail_grabber 1.2.0 → 1.3.0

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: aea5e39deacb823607303c62537b8eced611a1e121f3c0f098532b4aba5c2914
4
- data.tar.gz: 8921cffcefaa54d1238acfdc5a1d8977d5ea45093470817a4829fec4fc2e850c
3
+ metadata.gz: d5ed200e3646e50bca4fcc83c87f5f1d73526ff259f20c32b5e173f2e736a6de
4
+ data.tar.gz: ba1a3991959017efe34d664bcfa41dcd70a2d5dd8d24118bb2478e9dd77aec1d
5
5
  SHA512:
6
- metadata.gz: 176f7dcea3dd597e1b9a7ef0178e60f6e457dc08a9bba0655c7a722ab944b659eb5ec02aef67840e48169d386a550b66272e36e0f71c1d1d1d37ea99f3fd0d27
7
- data.tar.gz: f89030ad607b1bd7ae29377b7c1adcaceb3cc9d78d3cc439f28e8c27a9ac20cb2568ecaea5e41809352cd1d39fd2f430a1a7f5c7038dcb99c8f8f6af56c0e1ec
6
+ metadata.gz: 98479ae02348b9870c88d7bbbdaafc29a33ba19100411da2007ee0fbf37f8155c6f693a417ba61ac59744b92c409a52ece95567678ec3f7de4b6a05f9c4cb1a2
7
+ data.tar.gz: 50595e7c0dd1b0db976f8641e4ef4621202e730f02af7c1617765f3498e675dc13045a8d0793d7d76bda86f6f0ebf4fa91a56a9792ea04240fd65e0838bfd6b8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Change log
2
2
 
3
+ ## 1.3.0 (2022-10-04)
4
+
5
+ ### Changes
6
+
7
+ * Replace rack to rackup gem as a dependency.
8
+ In the rack 3.x gem it was extracted rackup command, Rack::Server, Rack::Handler, Rack::Lobster and related code into a separate gem.
9
+ * Update bundler and gems.
10
+
11
+ ### Bug fixes
12
+
13
+ * Fix infinite scroll.
14
+ In the new Chrome browser, the scrollTop is a float and not an integer. Because of that, the infinite scroll was stopped working.
15
+ * Override webrick server for capybara in RSpec configuration.
16
+ At this moment capybara does not support the new rack/rackup changes.
17
+
18
+
19
+ ## 1.2.1 (2022-05-27)
20
+
21
+ ### Changes
22
+
23
+ * Update rack to version 2.2.3.1 because of security issues.
24
+
25
+
3
26
  ## 1.2.0 (2022-05-26)
4
27
 
5
28
  ### Changes
@@ -28,7 +51,7 @@
28
51
  ### Changes
29
52
 
30
53
  * Update documentation.
31
- * Change javascript to hide HTML tab if mail does not have HTML part.
54
+ * Change JavaScript to hide HTML tab if mail does not have HTML part.
32
55
  * Refactoring the JavaScript code.
33
56
  * Change the documentation uri in the gemspec file.
34
57
  * 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.0'
4
+ VERSION = '1.3.0'
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.0
4
+ version: 1.3.0
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-26 00:00:00.000000000 Z
11
+ date: 2022-10-04 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'
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'
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.3.3
121
+ rubygems_version: 3.1.4
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Grab mails to inspect with MailGrabber.