imap 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG +11 -0
- data/imap.gemspec +1 -0
- data/lib/Imap/VERSION.rb +1 -1
- data/lib/imap.rb +1 -0
- data/test/Imap/VERSION_test.rb +15 -0
- data/test/test_helper.rb +1 -0
- metadata +17 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e81ccc78552de60b7572c00689364274012b24af157f81fdd21c4caa4a8b31dc
|
|
4
|
+
data.tar.gz: 432db4843d22cf60959de2ea0fe0ab43ecd1fc2da4c8b0858ef5045e24a57174
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dafa33325fcc4b61c9fa6a9d79ade8319b7b1c0a6738fd7f233f491cab209e6a65dc6d36a82a443263dbffb9fba6ac6a4be5fa56106a639703cc52f4176768b
|
|
7
|
+
data.tar.gz: 8bcb54f18b64616cad2e6220da09a3f70c04e29c3aa33e7cc8824535f1dc7e402c8bddfa3523b5ad8e9bdfe11805eeb2c70edb2b66217b90f9ec08bd22642426
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## [0.4.3] - 2026-09-17, ~ test/test_helper.rb: + require 'minitest/mock', which minitest 6 no longer brings
|
|
4
|
+
- ~ test/test_helper.rb: + `require 'minitest/mock'`. 35 of the 42 tests call stub and not one of them could: the suite answered "42 runs, 7 assertions, 0 failures, 35 errors". minitest 5's autorun required minitest/mock and shipped it, so the suite ran until minitest 6 dropped both the require and the file; the same thing coinmarketcap 0.6.1 found.
|
|
5
|
+
- ~ imap.gemspec: + minitest-mock as a development dependency, which minitest ~> 5.0 carried and minitest 6 does not.
|
|
6
|
+
- ~ Imap::VERSION: /0.4.2/0.4.3/
|
|
7
|
+
|
|
8
|
+
## [0.4.2] - 2026-09-10, ~ lib/imap.rb: + require_relative './Imap/VERSION'; + test/Imap/VERSION_test.rb
|
|
9
|
+
- ~ lib/imap.rb: + `require_relative './Imap/VERSION'`, last among the requires. The file had been present and unreached, so `require 'imap'` left Imap::VERSION undefined and the gemspec was the only thing loading it.
|
|
10
|
+
- + test/Imap/VERSION_test.rb: that Imap::VERSION is a string and that it is three numbers separated by dots. Modelled on moby's, less the example comparing against the changelog, which was unreachable here while the file was misspelt.
|
|
11
|
+
- The test loads the library rather than VERSION.rb, which is the whole of its value: run against v0.4.1 it fails with "uninitialized constant Imap::VERSION". Nine libraries were in that state and not one of them carried this test.
|
|
12
|
+
- ~ Imap::VERSION: /0.4.1/0.4.2/
|
|
13
|
+
|
|
3
14
|
## [0.4.1] - 2026-08-22, + LICENSE; ~ imap.gemspec: + CHANGELOG
|
|
4
15
|
- + LICENSE: the MIT text, copyright 2025-2026 thoran. The gemspec had declared MIT while the repository carried no licence text at all.
|
|
5
16
|
- ~ imap.gemspec: + 'LICENSE' and 'CHANGELOG' to spec.files, neither of which the gem had been shipping.
|
data/imap.gemspec
CHANGED
data/lib/Imap/VERSION.rb
CHANGED
data/lib/imap.rb
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# test/Imap/VERSION_test.rb
|
|
2
|
+
|
|
3
|
+
require_relative '../test_helper'
|
|
4
|
+
|
|
5
|
+
describe Imap do
|
|
6
|
+
describe "VERSION" do
|
|
7
|
+
it "is a string" do
|
|
8
|
+
_(Imap::VERSION).must_be_instance_of String
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
it "is three numbers separated by dots" do
|
|
12
|
+
_(Imap::VERSION).must_match(/\A\d+\.\d+\.\d+\z/)
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: imap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoran
|
|
@@ -37,6 +37,20 @@ dependencies:
|
|
|
37
37
|
- - "~>"
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
39
|
version: '5.0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: minitest-mock
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
40
54
|
- !ruby/object:Gem::Dependency
|
|
41
55
|
name: rake
|
|
42
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -68,6 +82,7 @@ files:
|
|
|
68
82
|
- lib/imap.rb
|
|
69
83
|
- test/Imap/Message_test.rb
|
|
70
84
|
- test/Imap/Search_test.rb
|
|
85
|
+
- test/Imap/VERSION_test.rb
|
|
71
86
|
- test/imap_test.rb
|
|
72
87
|
- test/test_all.rb
|
|
73
88
|
- test/test_helper.rb
|
|
@@ -89,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
89
104
|
- !ruby/object:Gem::Version
|
|
90
105
|
version: '0'
|
|
91
106
|
requirements: []
|
|
92
|
-
rubygems_version: 4.0.
|
|
107
|
+
rubygems_version: 4.0.20
|
|
93
108
|
specification_version: 4
|
|
94
109
|
summary: IMAP for Ruby made easy.
|
|
95
110
|
test_files: []
|