imap 0.4.1 → 0.4.2
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 +6 -0
- data/lib/Imap/VERSION.rb +1 -1
- data/lib/imap.rb +1 -0
- data/test/Imap/VERSION_test.rb +15 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9b6a23a10253422d92d39fedd0aaf2b049f9299e469591eeb29ba818a464c294
|
|
4
|
+
data.tar.gz: 0522d1df9b764e67e9b9387ace78e2e0d2c10fd8d9514a43ed6a91993b183d40
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7975fc5e941153f9667f453b2e48919fb18251628706a98c06c22648e78457a253fd192b7650497c2fc712b81c0dbb87e2a7e82de1a2c5e2c0e7f01d3f0c8471
|
|
7
|
+
data.tar.gz: 55231af457bf5e7d541fbab46c9934094d844fb22c4702bf9a4f095d9c1814ea4255b2a763d83c4d528858440ace311bae89930f8777b3776abbf14f09ba2afb
|
data/CHANGELOG
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## [0.4.2] - 2026-09-10, ~ lib/imap.rb: + require_relative './Imap/VERSION'; + test/Imap/VERSION_test.rb
|
|
4
|
+
- ~ 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.
|
|
5
|
+
- + 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.
|
|
6
|
+
- 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.
|
|
7
|
+
- ~ Imap::VERSION: /0.4.1/0.4.2/
|
|
8
|
+
|
|
3
9
|
## [0.4.1] - 2026-08-22, + LICENSE; ~ imap.gemspec: + CHANGELOG
|
|
4
10
|
- + LICENSE: the MIT text, copyright 2025-2026 thoran. The gemspec had declared MIT while the repository carried no licence text at all.
|
|
5
11
|
- ~ imap.gemspec: + 'LICENSE' and 'CHANGELOG' to spec.files, neither of which the gem had been shipping.
|
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
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- thoran
|
|
@@ -68,6 +68,7 @@ files:
|
|
|
68
68
|
- lib/imap.rb
|
|
69
69
|
- test/Imap/Message_test.rb
|
|
70
70
|
- test/Imap/Search_test.rb
|
|
71
|
+
- test/Imap/VERSION_test.rb
|
|
71
72
|
- test/imap_test.rb
|
|
72
73
|
- test/test_all.rb
|
|
73
74
|
- test/test_helper.rb
|