multi_compress 0.3.4 → 0.5.0

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.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +89 -0
  3. data/GET_STARTED.md +194 -4
  4. data/README.md +58 -2
  5. data/db_core/include/mcdb_format.h +55 -0
  6. data/db_core/src/mcdb_format.c +341 -0
  7. data/db_deployment/mysql/Makefile +48 -0
  8. data/db_deployment/mysql/README.md +42 -0
  9. data/db_deployment/mysql/bin/common +160 -0
  10. data/db_deployment/mysql/bin/disable +40 -0
  11. data/db_deployment/mysql/bin/doctor +64 -0
  12. data/db_deployment/mysql/bin/enable +57 -0
  13. data/db_deployment/mysql/bin/install +64 -0
  14. data/db_deployment/mysql/bin/status +65 -0
  15. data/db_deployment/mysql/bin/uninstall +47 -0
  16. data/db_deployment/mysql/bin/upgrade +115 -0
  17. data/db_deployment/mysql/bin/verify +14 -0
  18. data/db_deployment/postgres/Makefile +45 -0
  19. data/db_deployment/postgres/README.md +60 -0
  20. data/db_deployment/postgres/bin/doctor +61 -0
  21. data/db_deployment/postgres/bin/enable +136 -0
  22. data/db_deployment/postgres/bin/install +104 -0
  23. data/db_deployment/postgres/bin/uninstall +54 -0
  24. data/db_deployment/postgres/bin/verify +14 -0
  25. data/docs/database-envelope-v1.md +159 -0
  26. data/exe/multi_compress +228 -0
  27. data/ext/multi_compress/extconf.rb +4 -0
  28. data/ext/multi_compress/multi_compress.c +39 -0
  29. data/lib/multi_compress/active_record.rb +61 -0
  30. data/lib/multi_compress/codec.rb +164 -0
  31. data/lib/multi_compress/database.rb +106 -0
  32. data/lib/multi_compress/db_deployment.rb +456 -0
  33. data/lib/multi_compress/version.rb +1 -1
  34. data/multi_compress.gemspec +55 -0
  35. data/mysql_udf/Makefile +96 -0
  36. data/mysql_udf/README.md +95 -0
  37. data/mysql_udf/sql/examples.sql +11 -0
  38. data/mysql_udf/sql/install.sql +15 -0
  39. data/mysql_udf/sql/uninstall.sql +4 -0
  40. data/mysql_udf/sql/views.sql +8 -0
  41. data/mysql_udf/src/multi_compress_mysql.c +133 -0
  42. data/mysql_udf/src/mysql_udf_abi_57.h +34 -0
  43. data/mysql_udf/test/mcdb_cli.c +60 -0
  44. data/mysql_udf/test/run_e2e.sh +296 -0
  45. data/postgres_extension/Makefile +74 -0
  46. data/postgres_extension/README.md +112 -0
  47. data/postgres_extension/multi_compress.control +4 -0
  48. data/postgres_extension/multi_compress_pg.exports +12 -0
  49. data/postgres_extension/sql/examples.sql +12 -0
  50. data/postgres_extension/sql/multi_compress--0.5.0.sql +24 -0
  51. data/postgres_extension/sql/uninstall.sql +2 -0
  52. data/postgres_extension/sql/views.sql +7 -0
  53. data/postgres_extension/src/mcdb_format.c +2 -0
  54. data/postgres_extension/src/multi_compress_pg.c +96 -0
  55. data/postgres_extension/test/run_e2e.sh +323 -0
  56. metadata +54 -5
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multi_compress
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Haydarov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-05-10 00:00:00.000000000 Z
11
+ date: 2026-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,7 +72,8 @@ description: 'Unified C-extension gem for zstd, lz4, and brotli compression. One
72
72
  sources — no system libraries required.'
73
73
  email:
74
74
  - romnhajdarov@gmail.com
75
- executables: []
75
+ executables:
76
+ - multi_compress
76
77
  extensions:
77
78
  - ext/multi_compress/extconf.rb
78
79
  extra_rdoc_files: []
@@ -82,6 +83,28 @@ files:
82
83
  - LICENSE.txt
83
84
  - README.md
84
85
  - THIRD_PARTY_NOTICES.md
86
+ - db_core/include/mcdb_format.h
87
+ - db_core/src/mcdb_format.c
88
+ - db_deployment/mysql/Makefile
89
+ - db_deployment/mysql/README.md
90
+ - db_deployment/mysql/bin/common
91
+ - db_deployment/mysql/bin/disable
92
+ - db_deployment/mysql/bin/doctor
93
+ - db_deployment/mysql/bin/enable
94
+ - db_deployment/mysql/bin/install
95
+ - db_deployment/mysql/bin/status
96
+ - db_deployment/mysql/bin/uninstall
97
+ - db_deployment/mysql/bin/upgrade
98
+ - db_deployment/mysql/bin/verify
99
+ - db_deployment/postgres/Makefile
100
+ - db_deployment/postgres/README.md
101
+ - db_deployment/postgres/bin/doctor
102
+ - db_deployment/postgres/bin/enable
103
+ - db_deployment/postgres/bin/install
104
+ - db_deployment/postgres/bin/uninstall
105
+ - db_deployment/postgres/bin/verify
106
+ - docs/database-envelope-v1.md
107
+ - exe/multi_compress
85
108
  - ext/multi_compress/brotli_dec_static_init.c
86
109
  - ext/multi_compress/brotli_enc_static_init.c
87
110
  - ext/multi_compress/extconf.rb
@@ -320,7 +343,33 @@ files:
320
343
  - ext/multi_compress/vendor/zstd/lib/zstd.h
321
344
  - ext/multi_compress/vendor/zstd/lib/zstd_errors.h
322
345
  - lib/multi_compress.rb
346
+ - lib/multi_compress/active_record.rb
347
+ - lib/multi_compress/codec.rb
348
+ - lib/multi_compress/database.rb
349
+ - lib/multi_compress/db_deployment.rb
323
350
  - lib/multi_compress/version.rb
351
+ - multi_compress.gemspec
352
+ - mysql_udf/Makefile
353
+ - mysql_udf/README.md
354
+ - mysql_udf/sql/examples.sql
355
+ - mysql_udf/sql/install.sql
356
+ - mysql_udf/sql/uninstall.sql
357
+ - mysql_udf/sql/views.sql
358
+ - mysql_udf/src/multi_compress_mysql.c
359
+ - mysql_udf/src/mysql_udf_abi_57.h
360
+ - mysql_udf/test/mcdb_cli.c
361
+ - mysql_udf/test/run_e2e.sh
362
+ - postgres_extension/Makefile
363
+ - postgres_extension/README.md
364
+ - postgres_extension/multi_compress.control
365
+ - postgres_extension/multi_compress_pg.exports
366
+ - postgres_extension/sql/examples.sql
367
+ - postgres_extension/sql/multi_compress--0.5.0.sql
368
+ - postgres_extension/sql/uninstall.sql
369
+ - postgres_extension/sql/views.sql
370
+ - postgres_extension/src/mcdb_format.c
371
+ - postgres_extension/src/multi_compress_pg.c
372
+ - postgres_extension/test/run_e2e.sh
324
373
  homepage: https://github.com/roman-haidarov/multi_compress
325
374
  licenses:
326
375
  - MIT
@@ -336,14 +385,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
336
385
  requirements:
337
386
  - - ">="
338
387
  - !ruby/object:Gem::Version
339
- version: 3.1.0
388
+ version: 2.7.1
340
389
  required_rubygems_version: !ruby/object:Gem::Requirement
341
390
  requirements:
342
391
  - - ">="
343
392
  - !ruby/object:Gem::Version
344
393
  version: '0'
345
394
  requirements: []
346
- rubygems_version: 3.3.27
395
+ rubygems_version: 3.4.22
347
396
  signing_key:
348
397
  specification_version: 4
349
398
  summary: 'Modern fiber-friendly compression for Ruby: zstd, lz4, brotli in one gem'