karafka-core 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 89262ad9172da20cb645406674d90025637d7f4aea8e73379d2d39d475ed9eaf
4
- data.tar.gz: f10d0f1748fc69859c9b1661c490304d23e8506f550eff2bc7446045d9fd2ff1
3
+ metadata.gz: e72c7e94ff3ed4be1b9e895f05f5642b72421f7cc8a0f62de4b41c193398e69d
4
+ data.tar.gz: 820738037d6ee277e8ce6a2c3786cfe7e26559836f3c71e46933feeeaff10081
5
5
  SHA512:
6
- metadata.gz: 3042fe634fccbcbb9e9331c0fab4b6637d8077c7cbd3695aa2802aac8b2d230be21eb1093bf4803886402a0bec292bd40078a74f115a85e532470378aaf3fd31
7
- data.tar.gz: 46d394f39d1cdecb581e92f6786ee6780b7aa3ca80815337f7638441e0b3e6ce3bb477e09a0c89bc285d77acc1803a2b0393d8b63e68c75f14be694bf1c53c11
6
+ metadata.gz: 17f4711778e4c0aa51355048100ae651eea92a8ca89b6ddaa7e8e312de14ee3770affb76fc88d7eb7780e73bf67bc6958de83bac9b62551743f5c254c35e15cb
7
+ data.tar.gz: e68bf7877cd31eaca51fb4ef7f5759e36a52216d41bd7aab05b7195906a1b00c29514c8624ab82534d3ae57d57c87dafc09913953b2462dce606b833228ec015
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Karafka core changelog
2
2
 
3
+ ## 2.0.9 (2023-01-11)
4
+ - Use `karafka-rdkafka` instead of `rdkafka`. This change is needed to ensure that all consecutive releases are stable and compatible.
5
+ - Relax Ruby requirement to `2.6`. It does not mean we officially support it but it may work. Go to [Versions Lifecycle and EOL](https://karafka.io/docs/Versions-Lifecycle-and-EOL/) for more details.
6
+
3
7
  ## 2.0.8 (2023-01-07)
4
8
  - Add `Karafka::Core::Helpers::Time` utility for time reporting.
5
9
 
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka-core (2.0.8)
4
+ karafka-core (2.0.9)
5
5
  concurrent-ruby (>= 1.1)
6
- rdkafka (>= 0.12)
6
+ karafka-rdkafka (>= 0.12)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -22,13 +22,13 @@ GEM
22
22
  ffi (1.15.5)
23
23
  i18n (1.12.0)
24
24
  concurrent-ruby (~> 1.0)
25
- mini_portile2 (2.8.1)
26
- minitest (5.17.0)
27
- rake (13.0.6)
28
- rdkafka (0.12.0)
25
+ karafka-rdkafka (0.12.0)
29
26
  ffi (~> 1.15)
30
27
  mini_portile2 (~> 2.6)
31
28
  rake (> 12)
29
+ mini_portile2 (2.8.1)
30
+ minitest (5.17.0)
31
+ rake (13.0.6)
32
32
  rspec (3.12.0)
33
33
  rspec-core (~> 3.12.0)
34
34
  rspec-expectations (~> 3.12.0)
data/karafka-core.gemspec CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.licenses = %w[MIT]
18
18
 
19
19
  spec.add_dependency 'concurrent-ruby', '>= 1.1'
20
- spec.add_dependency 'rdkafka', '>= 0.12'
20
+ spec.add_dependency 'karafka-rdkafka', '>= 0.12'
21
21
 
22
22
  spec.required_ruby_version = '>= 2.6.0'
23
23
 
@@ -63,9 +63,23 @@ module Karafka
63
63
  config.configure(&block)
64
64
  end
65
65
 
66
- # Pipes the settings setup to the config root node
67
- def setting(...)
68
- config.setting(...)
66
+ # Two versions are needed to pass arguments in the correct way
67
+ if RUBY_VERSION >= '2.7'
68
+ class_eval <<~CODE, __FILE__, __LINE__
69
+ # Pipes the settings setup to the config root node
70
+ def setting(...)
71
+ config.setting(...)
72
+ end
73
+ CODE
74
+ else
75
+ class_eval <<~CODE, __FILE__, __LINE__
76
+ # Pipes the settings setup to the config root node
77
+ # @param args [Object] anything provided to settings
78
+ # @param block [Proc] block for settings
79
+ def setting(*args, &block)
80
+ config.setting(*args, &block)
81
+ end
82
+ CODE
69
83
  end
70
84
  end
71
85
  end
@@ -4,6 +4,6 @@ module Karafka
4
4
  module Core
5
5
  # Current Karafka::Core version
6
6
  # We follow the versioning schema of given Karafka version
7
- VERSION = '2.0.8'
7
+ VERSION = '2.0.9'
8
8
  end
9
9
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.8
4
+ version: 2.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  Qf04B9ceLUaC4fPVEz10FyobjaFoY4i32xRto3XnrzeAgfEe4swLq8bQsR3w/EF3
36
36
  MGU0FeSV2Yj7Xc2x/7BzLK8xQn5l7Yy75iPF+KP3vVmDHnNl
37
37
  -----END CERTIFICATE-----
38
- date: 2023-01-07 00:00:00.000000000 Z
38
+ date: 2023-01-11 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: concurrent-ruby
@@ -52,7 +52,7 @@ dependencies:
52
52
  - !ruby/object:Gem::Version
53
53
  version: '1.1'
54
54
  - !ruby/object:Gem::Dependency
55
- name: rdkafka
55
+ name: karafka-rdkafka
56
56
  requirement: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - ">="
metadata.gz.sig CHANGED
@@ -1,2 +1 @@
1
- �$ľsvԓ���p����y#���:�����,C��� ����� ��y�iN
2
- ��&���6�����_� :�g۪V_�bv�e��%�?��h1��ڬ�L��Z���y}{Dn�Ɖ9��n�<c~f�w�O�%������<�E��%ΰH�1�Gʨ@NQ�D���tWn%� ��G�H�+N�@��J�������]��A��*go�.�>��E�$�uZ��wc·7�(h2Q�纎`=���
1
+ 57�7/B��y3�i�V{�������Y1�l���<�h) x� 4Ȍ�Mـ���vU�uu�jWCF]�e�h+�'�������&K��{�ff.�/�P�3"�]���q���Q��v �lk([ f�Q