karafka 1.4.1 → 1.4.2

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: 7bae0f63af5f741dc00d382e34a0a5a35262692c9b03930dc18fd05440bf418b
4
- data.tar.gz: f9a82e8ee1324b62820f24e8dddd09fdd1ec153c50a32f4f31f50a9192983341
3
+ metadata.gz: b67c595b8ce4b5ff1589517547f94c8e1ba4caf51361074949b7bae1c5368bf6
4
+ data.tar.gz: 17c507ddf4d2b4cd62eea3df3a1dec0cef5a257054f7d0321e1c71dcba0d400e
5
5
  SHA512:
6
- metadata.gz: a8fecf4be83990908c8aaf6b1e0f262391e9cdd65079362f76f68871d9ec3f45e4c0e9ceb1b277036de7f4c6ab2c140e52ee4ad855ec150c64626e9728a650a6
7
- data.tar.gz: 2b626896aad5bc96bce14f0943a8d9c279dd877d2a221994f2ae56031d0bc97a33e5696b892bc8224f1c527a27e0861a79aaedd4b7716286528f6baf8f00de04
6
+ metadata.gz: 818d4d75303eda22f8e923e7ade1c445f0c2e99aebdb7e56511b5fdf38ea39c047f61c0983bc8d38641676be2c2fcc901df9d2bc0d812c3454664dd73ab27b2e
7
+ data.tar.gz: 5c10aced279e74af09d42dd3367a1593abf11267cb09099d0d92a3b4e540f19fa3c06bd9e0f61f7025c3fc0774cde9f4902fb929ca9e24aa308f9d72e6a61def
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -8,15 +8,17 @@ on:
8
8
  jobs:
9
9
  specs:
10
10
  runs-on: ubuntu-latest
11
+ needs: diffend
11
12
  strategy:
12
13
  fail-fast: false
13
14
  matrix:
14
15
  ruby:
16
+ - '3.0'
15
17
  - '2.7'
16
18
  - '2.6'
17
19
  - '2.5'
18
20
  include:
19
- - ruby: '2.7'
21
+ - ruby: '3.0'
20
22
  coverage: 'true'
21
23
  steps:
22
24
  - uses: actions/checkout@v2
@@ -40,6 +42,26 @@ jobs:
40
42
  env:
41
43
  GITHUB_COVERAGE: ${{matrix.coverage}}
42
44
  run: bundle exec rspec
45
+
46
+ diffend:
47
+ runs-on: ubuntu-latest
48
+ strategy:
49
+ fail-fast: false
50
+ steps:
51
+ - uses: actions/checkout@v2
52
+ with:
53
+ fetch-depth: 0
54
+ - name: Set up Ruby
55
+ uses: ruby/setup-ruby@v1
56
+ with:
57
+ ruby-version: 3.0
58
+ - name: Install latest bundler
59
+ run: gem install bundler --no-document
60
+ - name: Install Diffend plugin
61
+ run: bundle plugin install diffend
62
+ - name: Bundle Secure
63
+ run: bundle secure
64
+
43
65
  coditsu:
44
66
  runs-on: ubuntu-latest
45
67
  strategy:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.2
1
+ 3.0.0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Karafka framework changelog
2
2
 
3
+ ## 1.4.2 (2021-02-16)
4
+ - Rescue Errno::EROFS in ensure_dir_exists (unasuke)
5
+
3
6
  ## 1.4.1 (2020-12-04)
4
7
  - Return non-zero exit code when printing usage
5
8
  - Add support for :assignment_strategy for consumers
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- karafka (1.4.1)
4
+ karafka (1.4.2)
5
5
  dry-configurable (~> 0.8)
6
6
  dry-inflector (~> 0.1)
7
7
  dry-monitor (~> 0.3)
@@ -17,29 +17,28 @@ PATH
17
17
  GEM
18
18
  remote: https://rubygems.org/
19
19
  specs:
20
- activesupport (6.0.3.4)
20
+ activesupport (6.1.3)
21
21
  concurrent-ruby (~> 1.0, >= 1.0.2)
22
- i18n (>= 0.7, < 2)
23
- minitest (~> 5.1)
24
- tzinfo (~> 1.1)
25
- zeitwerk (~> 2.2, >= 2.2.2)
22
+ i18n (>= 1.6, < 2)
23
+ minitest (>= 5.1)
24
+ tzinfo (~> 2.0)
25
+ zeitwerk (~> 2.3)
26
26
  byebug (11.1.3)
27
- concurrent-ruby (1.1.7)
28
- delivery_boy (1.0.1)
29
- king_konf (~> 0.3)
27
+ concurrent-ruby (1.1.8)
28
+ delivery_boy (1.1.0)
29
+ king_konf (~> 1.0)
30
30
  ruby-kafka (~> 1.0)
31
31
  diff-lcs (1.4.4)
32
- digest-crc (0.6.1)
33
- rake (~> 13.0)
34
- docile (1.3.2)
35
- dry-configurable (0.11.6)
32
+ digest-crc (0.6.3)
33
+ rake (>= 12.0.0, < 14.0.0)
34
+ docile (1.3.5)
35
+ dry-configurable (0.12.1)
36
36
  concurrent-ruby (~> 1.0)
37
- dry-core (~> 0.4, >= 0.4.7)
38
- dry-equalizer (~> 0.2)
37
+ dry-core (~> 0.5, >= 0.5.0)
39
38
  dry-container (0.7.2)
40
39
  concurrent-ruby (~> 1.0)
41
40
  dry-configurable (~> 0.1, >= 0.1.3)
42
- dry-core (0.4.10)
41
+ dry-core (0.5.0)
43
42
  concurrent-ruby (~> 1.0)
44
43
  dry-equalizer (0.3.0)
45
44
  dry-events (0.2.0)
@@ -48,31 +47,28 @@ GEM
48
47
  dry-equalizer (~> 0.2)
49
48
  dry-inflector (0.2.0)
50
49
  dry-initializer (3.0.4)
51
- dry-logic (1.0.8)
50
+ dry-logic (1.1.0)
52
51
  concurrent-ruby (~> 1.0)
53
- dry-core (~> 0.2)
54
- dry-equalizer (~> 0.2)
52
+ dry-core (~> 0.5, >= 0.5)
55
53
  dry-monitor (0.3.2)
56
54
  dry-configurable (~> 0.5)
57
55
  dry-core (~> 0.4)
58
56
  dry-equalizer (~> 0.2)
59
57
  dry-events (~> 0.2)
60
- dry-schema (1.5.6)
58
+ dry-schema (1.6.1)
61
59
  concurrent-ruby (~> 1.0)
62
60
  dry-configurable (~> 0.8, >= 0.8.3)
63
- dry-core (~> 0.4)
64
- dry-equalizer (~> 0.2)
61
+ dry-core (~> 0.5, >= 0.5)
65
62
  dry-initializer (~> 3.0)
66
63
  dry-logic (~> 1.0)
67
- dry-types (~> 1.4)
68
- dry-types (1.4.0)
64
+ dry-types (~> 1.5)
65
+ dry-types (1.5.1)
69
66
  concurrent-ruby (~> 1.0)
70
67
  dry-container (~> 0.3)
71
- dry-core (~> 0.4, >= 0.4.4)
72
- dry-equalizer (~> 0.3)
68
+ dry-core (~> 0.5, >= 0.5)
73
69
  dry-inflector (~> 0.1, >= 0.1.2)
74
70
  dry-logic (~> 1.0, >= 1.0.2)
75
- dry-validation (1.5.6)
71
+ dry-validation (1.6.0)
76
72
  concurrent-ruby (~> 1.0)
77
73
  dry-container (~> 0.7, >= 0.7.1)
78
74
  dry-core (~> 0.4)
@@ -83,41 +79,40 @@ GEM
83
79
  dry-inflector (~> 0.1)
84
80
  factory_bot (6.1.0)
85
81
  activesupport (>= 5.0.0)
86
- i18n (1.8.5)
82
+ i18n (1.8.9)
87
83
  concurrent-ruby (~> 1.0)
88
- io-console (0.5.6)
89
- irb (1.2.7)
84
+ io-console (0.5.8)
85
+ irb (1.3.4)
90
86
  reline (>= 0.1.5)
91
- king_konf (0.3.7)
92
- minitest (5.14.2)
93
- rake (13.0.1)
94
- reline (0.1.9)
87
+ king_konf (1.0.0)
88
+ minitest (5.14.3)
89
+ rake (13.0.3)
90
+ reline (0.2.4)
95
91
  io-console (~> 0.5)
96
92
  rspec (3.10.0)
97
93
  rspec-core (~> 3.10.0)
98
94
  rspec-expectations (~> 3.10.0)
99
95
  rspec-mocks (~> 3.10.0)
100
- rspec-core (3.10.0)
96
+ rspec-core (3.10.1)
101
97
  rspec-support (~> 3.10.0)
102
- rspec-expectations (3.10.0)
98
+ rspec-expectations (3.10.1)
103
99
  diff-lcs (>= 1.2.0, < 2.0)
104
100
  rspec-support (~> 3.10.0)
105
- rspec-mocks (3.10.0)
101
+ rspec-mocks (3.10.2)
106
102
  diff-lcs (>= 1.2.0, < 2.0)
107
103
  rspec-support (~> 3.10.0)
108
- rspec-support (3.10.0)
104
+ rspec-support (3.10.2)
109
105
  ruby-kafka (1.3.0)
110
106
  digest-crc
111
- simplecov (0.20.0)
107
+ simplecov (0.21.2)
112
108
  docile (~> 1.1)
113
109
  simplecov-html (~> 0.11)
114
110
  simplecov_json_formatter (~> 0.1)
115
111
  simplecov-html (0.12.3)
116
112
  simplecov_json_formatter (0.1.2)
117
- thor (1.0.1)
118
- thread_safe (0.3.6)
119
- tzinfo (1.2.8)
120
- thread_safe (~> 0.1)
113
+ thor (1.1.0)
114
+ tzinfo (2.0.4)
115
+ concurrent-ruby (~> 1.0)
121
116
  waterdrop (1.4.0)
122
117
  delivery_boy (>= 0.2, < 2.x)
123
118
  dry-configurable (~> 0.8)
@@ -129,6 +124,7 @@ GEM
129
124
 
130
125
  PLATFORMS
131
126
  ruby
127
+ x86_64-darwin-19
132
128
 
133
129
  DEPENDENCIES
134
130
  byebug
@@ -138,4 +134,4 @@ DEPENDENCIES
138
134
  simplecov
139
135
 
140
136
  BUNDLED WITH
141
- 2.1.4
137
+ 2.2.11
@@ -39,7 +39,7 @@ module Karafka
39
39
  # Makes sure the log directory exists as long as we can write to it
40
40
  def ensure_dir_exists
41
41
  FileUtils.mkdir_p(File.dirname(log_path))
42
- rescue Errno::EACCES
42
+ rescue Errno::EACCES, Errno::EROFS
43
43
  nil
44
44
  end
45
45
 
@@ -3,5 +3,5 @@
3
3
  # Main module namespace
4
4
  module Karafka
5
5
  # Current Karafka version
6
- VERSION = '1.4.1'
6
+ VERSION = '1.4.2'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -36,7 +36,7 @@ cert_chain:
36
36
  2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
37
37
  nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
38
38
  -----END CERTIFICATE-----
39
- date: 2020-12-04 00:00:00.000000000 Z
39
+ date: 2021-02-26 00:00:00.000000000 Z
40
40
  dependencies:
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-configurable
@@ -320,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
320
320
  - !ruby/object:Gem::Version
321
321
  version: '0'
322
322
  requirements: []
323
- rubygems_version: 3.1.4
323
+ rubygems_version: 3.2.3
324
324
  signing_key:
325
325
  specification_version: 4
326
326
  summary: Ruby based framework for working with Apache Kafka
metadata.gz.sig CHANGED
Binary file