testcontainers-redpanda 0.1.0 → 0.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5265bdbd4c6f552bbd4778fcc5e75315cbfd370a840cb7a2e8bc34b75a57b5af
4
- data.tar.gz: d3324517a4954ac7d0d03d7caa4077c6dcd0fb08ebc5f1c06f2a0d2b4ae45725
3
+ metadata.gz: 65d3725fb6644298122174eaf8d718db1cc379e2b78e2a526ab664429d7134c4
4
+ data.tar.gz: 138b1fe0d2d1a93c4d6272cc4ed473bd02c6c692fa663bdf02222fd546ace2c4
5
5
  SHA512:
6
- metadata.gz: 43d8a17e27c73569ee50980524f7c3df669b418971fad87f1f6bbc4b4937c5be9cb1db2336ba5fbe8e60775c79bf6c33f3a69337e20bc21c55959e2b9b75dc94
7
- data.tar.gz: 783e4de366113fea14722068a1e2db1f1ba65866ebeddd85db0cb328082545de9d1d122650160e6cb7be4a77dbef1ec5c05cd9f7271f16b279043655c765d18e
6
+ metadata.gz: 6a1cc4e35c47a45cea2c2630f51ba0ca8f47404d2b3d39ea7c937c20c6aec18273255073215734cf40fdb5951cf142db5c5584238a804f4694305683fcb807d8
7
+ data.tar.gz: 4d984bfc8c3f17a3b4c06967a1ef242e02f17cfa43108bd3493f61742812ffe2b2ce8aab5f8c0ab803691f33578cd57c253366b6eede0c8473c43da7a48413e0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.2.0] - 2024-02-08
2
+
3
+ ### Fixed
4
+
5
+ - Fixed startup script for the Redpanda module
6
+
7
+
1
8
  ## [0.1.0] - 2023-06-10
2
9
 
3
10
  ### Added
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: ../core
3
3
  specs:
4
- testcontainers-core (0.1.3)
4
+ testcontainers-core (0.2.0)
5
5
  docker-api (~> 2.2)
6
6
 
7
7
  PATH
8
8
  remote: .
9
9
  specs:
10
- testcontainers-redpanda (0.1.0)
11
- testcontainers-core (~> 0.1.3)
10
+ testcontainers-redpanda (0.2.0)
11
+ testcontainers-core (~> 0.1)
12
12
 
13
13
  GEM
14
14
  remote: https://rubygems.org/
@@ -69,6 +69,7 @@ GEM
69
69
 
70
70
  PLATFORMS
71
71
  arm64-darwin-21
72
+ ruby
72
73
 
73
74
  DEPENDENCIES
74
75
  minitest (~> 5.0)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Testcontainers
4
4
  module Redpanda
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
@@ -74,9 +74,9 @@ module Testcontainers
74
74
  def _startup_script
75
75
  startup_script = StringIO.new
76
76
  startup_script.print("#!/bin/sh\n")
77
- startup_script.print("/usr/bin/rpk redpanda start --mode dev-container")
77
+ startup_script.print("/usr/bin/rpk redpanda start --mode=dev-container --smp=1 --memory=1G")
78
78
  startup_script.print(" --kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://0.0.0.0:9092")
79
- startup_script.print(" --advertise-kafka-addr PLAINTEXT://0.0.0.0:29092,OUTSIDE://#{host}:#{mapped_port(port)}")
79
+ startup_script.print(" --advertise-kafka-addr PLAINTEXT://127.0.0.1:29092,OUTSIDE://#{host}:#{mapped_port(port)}")
80
80
  startup_script
81
81
  end
82
82
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testcontainers-redpanda
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillermo Iguaran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-10 00:00:00.000000000 Z
11
+ date: 2024-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: testcontainers-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.1.3
19
+ version: '0.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.1.3
26
+ version: '0.1'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  - !ruby/object:Gem::Version
133
133
  version: '0'
134
134
  requirements: []
135
- rubygems_version: 3.4.1
135
+ rubygems_version: 3.4.14
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: 'Testcontainers for Ruby: Redpanda module'