deflate-ruby 1.0.2 → 1.0.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/GEM_VERIFICATION_REPORT.md +140 -0
- data/lib/deflate_ruby/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fdfc0392357a3c83ae37ead8a527a2fb19a65d4766b54aff65ba1f9ac9932d7d
|
|
4
|
+
data.tar.gz: 0d9f6f394ccd087e3a78b280216940c16e125056c974c423fc3f85eba8ee53a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2889d522431b469e59dd9b0e85bbc154bdf0a1606de29778d7e110f141374c98512614a5afcf5d82500a8d333cd2ba19e47df700265f7882e6d83ff32c61d4bb
|
|
7
|
+
data.tar.gz: 77ecb909f92242d55aaa996f0645cb9f6e7165e2c722468bc2611288bb00b91794fe8ac5e7fe04a3098837568419c97d39ef7861a099fe79d59a16316f39c300
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
# DeflateRuby Gem Verification Report
|
|
2
|
+
|
|
3
|
+
## Version: 1.0.2
|
|
4
|
+
|
|
5
|
+
### ✅ Verification Complete
|
|
6
|
+
|
|
7
|
+
All verification steps completed successfully!
|
|
8
|
+
|
|
9
|
+
## 1. Source Code Inclusion Verification
|
|
10
|
+
|
|
11
|
+
**Status:** ✅ PASSED
|
|
12
|
+
|
|
13
|
+
- **Total libdeflate files in git:** 42 files
|
|
14
|
+
- **Total libdeflate files in gem:** 42 files
|
|
15
|
+
- **Verification:** All libdeflate source files are properly included in the gem package
|
|
16
|
+
|
|
17
|
+
Sample files included:
|
|
18
|
+
```
|
|
19
|
+
ext/deflate_ruby/libdeflate/COPYING
|
|
20
|
+
ext/deflate_ruby/libdeflate/adler32.c
|
|
21
|
+
ext/deflate_ruby/libdeflate/crc32.c
|
|
22
|
+
ext/deflate_ruby/libdeflate/deflate_compress.c
|
|
23
|
+
ext/deflate_ruby/libdeflate/deflate_decompress.c
|
|
24
|
+
ext/deflate_ruby/libdeflate/gzip_compress.c
|
|
25
|
+
ext/deflate_ruby/libdeflate/gzip_decompress.c
|
|
26
|
+
ext/deflate_ruby/libdeflate/zlib_compress.c
|
|
27
|
+
ext/deflate_ruby/libdeflate/zlib_decompress.c
|
|
28
|
+
... and 33 more files
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Architecture-specific optimizations included:
|
|
32
|
+
- `ext/deflate_ruby/libdeflate/arm/` - ARM/AArch64 optimizations (8 files)
|
|
33
|
+
- `ext/deflate_ruby/libdeflate/x86/` - x86/x86_64 optimizations (8 files)
|
|
34
|
+
- `ext/deflate_ruby/libdeflate/riscv/` - RISC-V optimizations (1 file)
|
|
35
|
+
|
|
36
|
+
## 2. Version Update
|
|
37
|
+
|
|
38
|
+
**Status:** ✅ PASSED
|
|
39
|
+
|
|
40
|
+
- **Previous version:** 0.1.0
|
|
41
|
+
- **Updated version:** 1.0.2
|
|
42
|
+
- **File updated:** `lib/deflate_ruby/version.rb`
|
|
43
|
+
- **Git commit:** d9df69c - "Bump version to 1.0.2"
|
|
44
|
+
|
|
45
|
+
## 3. Gem Build
|
|
46
|
+
|
|
47
|
+
**Status:** ✅ PASSED
|
|
48
|
+
|
|
49
|
+
```
|
|
50
|
+
Successfully built RubyGem
|
|
51
|
+
Name: deflate_ruby
|
|
52
|
+
Version: 1.0.2
|
|
53
|
+
File: deflate_ruby-1.0.2.gem
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
- **Build method:** `gem build deflate_ruby.gemspec`
|
|
57
|
+
- **Build time:** < 1 second
|
|
58
|
+
- **Package size:** ~140 KB (includes all source code)
|
|
59
|
+
|
|
60
|
+
## 4. Gem Installation
|
|
61
|
+
|
|
62
|
+
**Status:** ✅ PASSED
|
|
63
|
+
|
|
64
|
+
- **Installation method:** `gem install --local deflate_ruby-1.0.2.gem --user-install`
|
|
65
|
+
- **Native extension compilation:** Successful
|
|
66
|
+
- **Installation location:** `~/.local/share/gem/ruby/3.2.0/gems/deflate_ruby-1.0.2/`
|
|
67
|
+
|
|
68
|
+
## 5. Test Suite Results
|
|
69
|
+
|
|
70
|
+
**Status:** ✅ ALL TESTS PASSED
|
|
71
|
+
|
|
72
|
+
### Test Statistics
|
|
73
|
+
- **Total tests:** 21
|
|
74
|
+
- **Assertions:** 37
|
|
75
|
+
- **Failures:** 0
|
|
76
|
+
- **Errors:** 0
|
|
77
|
+
- **Skips:** 0
|
|
78
|
+
- **Run time:** 0.016 seconds
|
|
79
|
+
- **Speed:** 1,277 runs/s, 2,250 assertions/s
|
|
80
|
+
|
|
81
|
+
### Test Coverage
|
|
82
|
+
|
|
83
|
+
All tests passed including:
|
|
84
|
+
- ✅ Version number verification
|
|
85
|
+
- ✅ Compressor creation (default and with level)
|
|
86
|
+
- ✅ Decompressor creation
|
|
87
|
+
- ✅ DEFLATE compression and decompression
|
|
88
|
+
- ✅ Zlib compression and decompression
|
|
89
|
+
- ✅ Gzip compression and decompression
|
|
90
|
+
- ✅ Compression bound calculations (all formats)
|
|
91
|
+
- ✅ CRC32 checksum (with and without initial value)
|
|
92
|
+
- ✅ Adler32 checksum (with and without initial value)
|
|
93
|
+
- ✅ Multiple compression levels (0, 1, 6, 9, 12)
|
|
94
|
+
- ✅ Empty data handling
|
|
95
|
+
- ✅ Large data compression (1MB)
|
|
96
|
+
- ✅ Binary data compression
|
|
97
|
+
- ✅ Invalid data error handling
|
|
98
|
+
- ✅ Auto-close on garbage collection
|
|
99
|
+
|
|
100
|
+
## 6. Functional Testing
|
|
101
|
+
|
|
102
|
+
**Status:** ✅ PASSED
|
|
103
|
+
|
|
104
|
+
### Live Compression Test
|
|
105
|
+
```
|
|
106
|
+
Original size: 2900 bytes
|
|
107
|
+
Compressed size: 56 bytes
|
|
108
|
+
Compression ratio: 1.93%
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Features Verified
|
|
112
|
+
- ✅ Compression works correctly
|
|
113
|
+
- ✅ Decompression produces original data
|
|
114
|
+
- ✅ CRC32 calculation: 3632233996
|
|
115
|
+
- ✅ Adler32 calculation: 73204161
|
|
116
|
+
- ✅ All data integrity checks passed
|
|
117
|
+
|
|
118
|
+
## Summary
|
|
119
|
+
|
|
120
|
+
The deflate_ruby gem version 1.0.2 has been:
|
|
121
|
+
1. ✅ Built successfully with all libdeflate source code included
|
|
122
|
+
2. ✅ Installed successfully with native extension compilation
|
|
123
|
+
3. ✅ Tested comprehensively - all 21 tests passed
|
|
124
|
+
4. ✅ Verified functionally - compression/decompression working perfectly
|
|
125
|
+
|
|
126
|
+
**The gem is production-ready and can be published to RubyGems.org**
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
### Build Artifact
|
|
131
|
+
|
|
132
|
+
**File:** `deflate_ruby-1.0.2.gem`
|
|
133
|
+
**Location:** `/home/jgreninger/Work/deflate-native-ruby/deflate_ruby/`
|
|
134
|
+
**Ready for:** Publication to https://rubygems.org
|
|
135
|
+
|
|
136
|
+
### Publication Command
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
gem push deflate_ruby-1.0.2.gem
|
|
140
|
+
```
|
data/lib/deflate_ruby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deflate-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Greninger
|
|
@@ -21,6 +21,7 @@ extensions:
|
|
|
21
21
|
extra_rdoc_files: []
|
|
22
22
|
files:
|
|
23
23
|
- CLAUDE.md
|
|
24
|
+
- GEM_VERIFICATION_REPORT.md
|
|
24
25
|
- LICENSE.txt
|
|
25
26
|
- README.md
|
|
26
27
|
- Rakefile
|
|
@@ -113,7 +114,7 @@ licenses:
|
|
|
113
114
|
metadata:
|
|
114
115
|
allowed_push_host: https://rubygems.org
|
|
115
116
|
homepage_uri: https://github.com/jgreninger/deflate-ruby
|
|
116
|
-
source_code_uri: https://github.com/
|
|
117
|
+
source_code_uri: https://github.com/jpgreninger/deflate_ruby
|
|
117
118
|
post_install_message:
|
|
118
119
|
rdoc_options: []
|
|
119
120
|
require_paths:
|