karafka-sidekiq-backend 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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.github/workflows/ci.yml +24 -2
- data/.ruby-version +1 -1
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +51 -56
- data/MIT-LICENSE +18 -0
- data/README.md +2 -3
- data/karafka-sidekiq-backend.gemspec +2 -2
- data/lib/karafka/backends/sidekiq.rb +1 -1
- data/lib/karafka/base_worker.rb +1 -0
- metadata +6 -6
- metadata.gz.sig +0 -0
- data/LICENSE +0 -165
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59f0d78d87fab493807408fc060573046af103be1bc309c5f1fa53aa326e6565
|
4
|
+
data.tar.gz: 16c5fa9968f3c0fcbaac95a87ff07b8eb8b417cbf5e8941c13b8b712b5ac2d8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a86bf1b17952a1281f54436373071c5e9f575c4bea12cf7f51748544bf0a7637eecc343443b01a46694358fdbea714095127d2cc66eb9ef64e8f2d8d818ccc7d
|
7
|
+
data.tar.gz: 9ad59e1ed9b67e5edeed76eaeb99c73090c48de55a5176db32c293401faa07d82f9fe4045f6ae8f3c995e618328bb09ca4d4065502748165025e0cf5e5647b31
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/.github/workflows/ci.yml
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
name: ci
|
2
2
|
|
3
3
|
on:
|
4
|
+
pull_request:
|
4
5
|
push:
|
5
6
|
schedule:
|
6
7
|
- cron: '0 1 * * *'
|
@@ -8,15 +9,16 @@ on:
|
|
8
9
|
jobs:
|
9
10
|
specs:
|
10
11
|
runs-on: ubuntu-latest
|
12
|
+
needs: diffend
|
11
13
|
strategy:
|
12
14
|
fail-fast: false
|
13
15
|
matrix:
|
14
16
|
ruby:
|
17
|
+
- '3.0'
|
15
18
|
- '2.7'
|
16
19
|
- '2.6'
|
17
|
-
- '2.5'
|
18
20
|
include:
|
19
|
-
- ruby: '
|
21
|
+
- ruby: '3.0'
|
20
22
|
coverage: 'true'
|
21
23
|
steps:
|
22
24
|
- uses: actions/checkout@v2
|
@@ -36,6 +38,26 @@ jobs:
|
|
36
38
|
env:
|
37
39
|
GITHUB_COVERAGE: ${{matrix.coverage}}
|
38
40
|
run: bundle exec rspec
|
41
|
+
|
42
|
+
diffend:
|
43
|
+
runs-on: ubuntu-latest
|
44
|
+
strategy:
|
45
|
+
fail-fast: false
|
46
|
+
steps:
|
47
|
+
- uses: actions/checkout@v2
|
48
|
+
with:
|
49
|
+
fetch-depth: 0
|
50
|
+
- name: Set up Ruby
|
51
|
+
uses: ruby/setup-ruby@v1
|
52
|
+
with:
|
53
|
+
ruby-version: 3.0
|
54
|
+
- name: Install latest bundler
|
55
|
+
run: gem install bundler --no-document
|
56
|
+
- name: Install Diffend plugin
|
57
|
+
run: bundle plugin install diffend
|
58
|
+
- name: Bundle Secure
|
59
|
+
run: bundle secure
|
60
|
+
|
39
61
|
coditsu:
|
40
62
|
runs-on: ubuntu-latest
|
41
63
|
strategy:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.1
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,127 +1,122 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
karafka-sidekiq-backend (1.4.
|
4
|
+
karafka-sidekiq-backend (1.4.2)
|
5
5
|
karafka (~> 1.4.0)
|
6
6
|
sidekiq (>= 4.2)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
concurrent-ruby (1.1.
|
12
|
-
connection_pool (2.2.
|
13
|
-
delivery_boy (1.0
|
14
|
-
king_konf (~> 0
|
11
|
+
concurrent-ruby (1.1.8)
|
12
|
+
connection_pool (2.2.5)
|
13
|
+
delivery_boy (1.1.0)
|
14
|
+
king_konf (~> 1.0)
|
15
15
|
ruby-kafka (~> 1.0)
|
16
16
|
diff-lcs (1.4.4)
|
17
|
-
digest-crc (0.6.
|
18
|
-
rake (
|
19
|
-
docile (1.3.
|
20
|
-
dry-configurable (0.
|
17
|
+
digest-crc (0.6.3)
|
18
|
+
rake (>= 12.0.0, < 14.0.0)
|
19
|
+
docile (1.3.5)
|
20
|
+
dry-configurable (0.12.1)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
|
-
dry-core (~> 0.
|
23
|
-
dry-equalizer (~> 0.2)
|
22
|
+
dry-core (~> 0.5, >= 0.5.0)
|
24
23
|
dry-container (0.7.2)
|
25
24
|
concurrent-ruby (~> 1.0)
|
26
25
|
dry-configurable (~> 0.1, >= 0.1.3)
|
27
|
-
dry-core (0.
|
26
|
+
dry-core (0.5.0)
|
28
27
|
concurrent-ruby (~> 1.0)
|
29
28
|
dry-equalizer (0.3.0)
|
30
|
-
dry-events (0.
|
29
|
+
dry-events (0.3.0)
|
31
30
|
concurrent-ruby (~> 1.0)
|
32
|
-
dry-core (~> 0.
|
33
|
-
dry-equalizer (~> 0.2)
|
31
|
+
dry-core (~> 0.5, >= 0.5)
|
34
32
|
dry-inflector (0.2.0)
|
35
33
|
dry-initializer (3.0.4)
|
36
|
-
dry-logic (1.
|
34
|
+
dry-logic (1.1.1)
|
37
35
|
concurrent-ruby (~> 1.0)
|
38
|
-
dry-core (~> 0.
|
39
|
-
|
40
|
-
dry-monitor (0.3.2)
|
36
|
+
dry-core (~> 0.5, >= 0.5)
|
37
|
+
dry-monitor (0.4.0)
|
41
38
|
dry-configurable (~> 0.5)
|
42
|
-
dry-core (~> 0.
|
43
|
-
dry-equalizer (~> 0.2)
|
39
|
+
dry-core (~> 0.5, >= 0.5)
|
44
40
|
dry-events (~> 0.2)
|
45
|
-
dry-schema (1.
|
41
|
+
dry-schema (1.6.2)
|
46
42
|
concurrent-ruby (~> 1.0)
|
47
43
|
dry-configurable (~> 0.8, >= 0.8.3)
|
48
|
-
dry-core (~> 0.
|
49
|
-
dry-equalizer (~> 0.2)
|
44
|
+
dry-core (~> 0.5, >= 0.5)
|
50
45
|
dry-initializer (~> 3.0)
|
51
46
|
dry-logic (~> 1.0)
|
52
|
-
dry-types (~> 1.
|
53
|
-
dry-types (1.
|
47
|
+
dry-types (~> 1.5)
|
48
|
+
dry-types (1.5.1)
|
54
49
|
concurrent-ruby (~> 1.0)
|
55
50
|
dry-container (~> 0.3)
|
56
|
-
dry-core (~> 0.
|
57
|
-
dry-equalizer (~> 0.3)
|
51
|
+
dry-core (~> 0.5, >= 0.5)
|
58
52
|
dry-inflector (~> 0.1, >= 0.1.2)
|
59
53
|
dry-logic (~> 1.0, >= 1.0.2)
|
60
|
-
dry-validation (1.
|
54
|
+
dry-validation (1.6.0)
|
61
55
|
concurrent-ruby (~> 1.0)
|
62
56
|
dry-container (~> 0.7, >= 0.7.1)
|
63
57
|
dry-core (~> 0.4)
|
64
58
|
dry-equalizer (~> 0.2)
|
65
59
|
dry-initializer (~> 3.0)
|
66
60
|
dry-schema (~> 1.5, >= 1.5.2)
|
67
|
-
envlogic (1.1.
|
61
|
+
envlogic (1.1.3)
|
68
62
|
dry-inflector (~> 0.1)
|
69
|
-
io-console (0.5.
|
70
|
-
irb (1.
|
63
|
+
io-console (0.5.9)
|
64
|
+
irb (1.3.5)
|
71
65
|
reline (>= 0.1.5)
|
72
|
-
karafka (1.4.
|
66
|
+
karafka (1.4.4)
|
73
67
|
dry-configurable (~> 0.8)
|
74
68
|
dry-inflector (~> 0.1)
|
75
69
|
dry-monitor (~> 0.3)
|
76
70
|
dry-validation (~> 1.2)
|
77
71
|
envlogic (~> 1.1)
|
78
72
|
irb (~> 1.0)
|
79
|
-
rake (>= 11.3)
|
80
73
|
ruby-kafka (>= 1.0.0)
|
81
74
|
thor (>= 0.20)
|
82
75
|
waterdrop (~> 1.4.0)
|
83
76
|
zeitwerk (~> 2.1)
|
84
|
-
king_konf (0.
|
77
|
+
king_konf (1.0.0)
|
85
78
|
rack (2.2.3)
|
86
|
-
rake (13.0.
|
87
|
-
redis (4.2.
|
88
|
-
reline (0.
|
79
|
+
rake (13.0.3)
|
80
|
+
redis (4.2.5)
|
81
|
+
reline (0.2.5)
|
89
82
|
io-console (~> 0.5)
|
90
|
-
rspec (3.
|
91
|
-
rspec-core (~> 3.
|
92
|
-
rspec-expectations (~> 3.
|
93
|
-
rspec-mocks (~> 3.
|
94
|
-
rspec-core (3.
|
95
|
-
rspec-support (~> 3.
|
96
|
-
rspec-expectations (3.
|
83
|
+
rspec (3.10.0)
|
84
|
+
rspec-core (~> 3.10.0)
|
85
|
+
rspec-expectations (~> 3.10.0)
|
86
|
+
rspec-mocks (~> 3.10.0)
|
87
|
+
rspec-core (3.10.1)
|
88
|
+
rspec-support (~> 3.10.0)
|
89
|
+
rspec-expectations (3.10.1)
|
97
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
98
|
-
rspec-support (~> 3.
|
99
|
-
rspec-mocks (3.
|
91
|
+
rspec-support (~> 3.10.0)
|
92
|
+
rspec-mocks (3.10.2)
|
100
93
|
diff-lcs (>= 1.2.0, < 2.0)
|
101
|
-
rspec-support (~> 3.
|
102
|
-
rspec-support (3.
|
94
|
+
rspec-support (~> 3.10.0)
|
95
|
+
rspec-support (3.10.2)
|
103
96
|
ruby-kafka (1.3.0)
|
104
97
|
digest-crc
|
105
|
-
sidekiq (6.1
|
98
|
+
sidekiq (6.2.1)
|
106
99
|
connection_pool (>= 2.2.2)
|
107
100
|
rack (~> 2.0)
|
108
101
|
redis (>= 4.2.0)
|
109
|
-
simplecov (0.
|
102
|
+
simplecov (0.21.2)
|
110
103
|
docile (~> 1.1)
|
111
104
|
simplecov-html (~> 0.11)
|
105
|
+
simplecov_json_formatter (~> 0.1)
|
112
106
|
simplecov-html (0.12.3)
|
113
|
-
|
114
|
-
|
107
|
+
simplecov_json_formatter (0.1.2)
|
108
|
+
thor (1.1.0)
|
109
|
+
waterdrop (1.4.2)
|
115
110
|
delivery_boy (>= 0.2, < 2.x)
|
116
111
|
dry-configurable (~> 0.8)
|
117
112
|
dry-monitor (~> 0.3)
|
118
113
|
dry-validation (~> 1.2)
|
119
114
|
ruby-kafka (>= 0.7.8)
|
120
115
|
zeitwerk (~> 2.1)
|
121
|
-
zeitwerk (2.4.
|
116
|
+
zeitwerk (2.4.2)
|
122
117
|
|
123
118
|
PLATFORMS
|
124
|
-
|
119
|
+
x86_64-linux
|
125
120
|
|
126
121
|
DEPENDENCIES
|
127
122
|
karafka-sidekiq-backend!
|
@@ -129,4 +124,4 @@ DEPENDENCIES
|
|
129
124
|
simplecov
|
130
125
|
|
131
126
|
BUNDLED WITH
|
132
|
-
2.
|
127
|
+
2.2.16
|
data/MIT-LICENSE
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
2
|
+
a copy of this software and associated documentation files (the
|
3
|
+
"Software"), to deal in the Software without restriction, including
|
4
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
5
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
6
|
+
permit persons to whom the Software is furnished to do so, subject to
|
7
|
+
the following conditions:
|
8
|
+
|
9
|
+
The above copyright notice and this permission notice shall be
|
10
|
+
included in all copies or substantial portions of the Software.
|
11
|
+
|
12
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
13
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
14
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
15
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
16
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
17
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
18
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
# Karafka Sidekiq Backend
|
2
2
|
|
3
3
|
[![Build Status](https://github.com/karafka/sidekiq-backend/workflows/ci/badge.svg)](https://github.com/karafka/sidekiq-backend/actions?query=workflow%3Aci)
|
4
|
-
[![
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/karafka-sidekiq-backend.svg)](http://badge.fury.io/rb/karafka-sidekiq-backend)
|
5
|
+
[![Join the chat at https://gitter.im/karafka/karafka](https://badges.gitter.im/karafka/karafka.svg)](https://gitter.im/karafka/karafka)
|
5
6
|
|
6
7
|
[Karafka Sidekiq Backend](https://github.com/karafka/sidekiq-backend) provides support for consuming (processing) received Kafka messages inside of Sidekiq workers.
|
7
8
|
|
@@ -138,5 +139,3 @@ Each pull request must pass all the RSpec specs and meet our quality requirement
|
|
138
139
|
To check if everything is as it should be, we use [Coditsu](https://coditsu.io) that combines multiple linters and code analyzers for both code and documentation. Once you're done with your changes, submit a pull request.
|
139
140
|
|
140
141
|
Coditsu will automatically check your work against our quality standards. You can find your commit check results on the [builds page](https://app.coditsu.io/karafka/repositories/karafka-sidekiq-backend/builds/commit_builds) of Karafka Sidekiq Backend repository.
|
141
|
-
|
142
|
-
[![coditsu](https://coditsu.io/assets/quality_bar.svg)](https://app.coditsu.io/karafka/repositories/karafka-sidekiq-backend/builds/commit_builds)
|
@@ -13,11 +13,11 @@ Gem::Specification.new do |spec|
|
|
13
13
|
spec.homepage = 'https://github.com/karafka/karafka-sidekiq-backend'
|
14
14
|
spec.summary = 'Karafka Sidekiq backend for background messages processing'
|
15
15
|
spec.description = 'Karafka Sidekiq backend for background messages processing'
|
16
|
-
spec.license = '
|
16
|
+
spec.license = 'MIT'
|
17
17
|
|
18
18
|
spec.add_dependency 'karafka', '~> 1.4.0'
|
19
19
|
spec.add_dependency 'sidekiq', '>= 4.2'
|
20
|
-
spec.required_ruby_version = '>= 2.
|
20
|
+
spec.required_ruby_version = '>= 2.6.0'
|
21
21
|
|
22
22
|
if $PROGRAM_NAME.end_with?('gem')
|
23
23
|
spec.signing_key = File.expand_path('~/.ssh/gem-private_key.pem')
|
@@ -6,7 +6,7 @@ module Karafka
|
|
6
6
|
# Sidekiq backend that schedules stuff to Sidekiq worker for delayed execution
|
7
7
|
module Sidekiq
|
8
8
|
# Karafka Sidekiq backend version
|
9
|
-
VERSION = '1.4.
|
9
|
+
VERSION = '1.4.2'
|
10
10
|
|
11
11
|
# Enqueues the execution of perform method into a worker.
|
12
12
|
# @note Each worker needs to have a class #perform_async method that will allow us to pass
|
data/lib/karafka/base_worker.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: karafka-sidekiq-backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maciej Mensfeld
|
@@ -34,7 +34,7 @@ cert_chain:
|
|
34
34
|
2DND//YJUikn1zwbz1kT70XmHd97B4Eytpln7K+M1u2g1pHVEPW4owD/ammXNpUy
|
35
35
|
nt70FcDD4yxJQ+0YNiHd0N8IcVBM1TMIVctMNQ==
|
36
36
|
-----END CERTIFICATE-----
|
37
|
-
date:
|
37
|
+
date: 2021-04-21 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: karafka
|
@@ -82,7 +82,7 @@ files:
|
|
82
82
|
- CHANGELOG.md
|
83
83
|
- Gemfile
|
84
84
|
- Gemfile.lock
|
85
|
-
- LICENSE
|
85
|
+
- MIT-LICENSE
|
86
86
|
- README.md
|
87
87
|
- Rakefile
|
88
88
|
- certs/mensfeld.pem
|
@@ -103,7 +103,7 @@ files:
|
|
103
103
|
- lib/karafka_sidekiq_backend.rb
|
104
104
|
homepage: https://github.com/karafka/karafka-sidekiq-backend
|
105
105
|
licenses:
|
106
|
-
-
|
106
|
+
- MIT
|
107
107
|
metadata: {}
|
108
108
|
post_install_message:
|
109
109
|
rdoc_options: []
|
@@ -113,14 +113,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
113
|
requirements:
|
114
114
|
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
|
-
version: 2.
|
116
|
+
version: 2.6.0
|
117
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
118
|
requirements:
|
119
119
|
- - ">="
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.
|
123
|
+
rubygems_version: 3.2.15
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Karafka Sidekiq backend for background messages processing
|
metadata.gz.sig
CHANGED
Binary file
|
data/LICENSE
DELETED
@@ -1,165 +0,0 @@
|
|
1
|
-
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
-
Version 3, 29 June 2007
|
3
|
-
|
4
|
-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
-
Everyone is permitted to copy and distribute verbatim copies
|
6
|
-
of this license document, but changing it is not allowed.
|
7
|
-
|
8
|
-
|
9
|
-
This version of the GNU Lesser General Public License incorporates
|
10
|
-
the terms and conditions of version 3 of the GNU General Public
|
11
|
-
License, supplemented by the additional permissions listed below.
|
12
|
-
|
13
|
-
0. Additional Definitions.
|
14
|
-
|
15
|
-
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
-
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
-
General Public License.
|
18
|
-
|
19
|
-
"The Library" refers to a covered work governed by this License,
|
20
|
-
other than an Application or a Combined Work as defined below.
|
21
|
-
|
22
|
-
An "Application" is any work that makes use of an interface provided
|
23
|
-
by the Library, but which is not otherwise based on the Library.
|
24
|
-
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
-
of using an interface provided by the Library.
|
26
|
-
|
27
|
-
A "Combined Work" is a work produced by combining or linking an
|
28
|
-
Application with the Library. The particular version of the Library
|
29
|
-
with which the Combined Work was made is also called the "Linked
|
30
|
-
Version".
|
31
|
-
|
32
|
-
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
-
Corresponding Source for the Combined Work, excluding any source code
|
34
|
-
for portions of the Combined Work that, considered in isolation, are
|
35
|
-
based on the Application, and not on the Linked Version.
|
36
|
-
|
37
|
-
The "Corresponding Application Code" for a Combined Work means the
|
38
|
-
object code and/or source code for the Application, including any data
|
39
|
-
and utility programs needed for reproducing the Combined Work from the
|
40
|
-
Application, but excluding the System Libraries of the Combined Work.
|
41
|
-
|
42
|
-
1. Exception to Section 3 of the GNU GPL.
|
43
|
-
|
44
|
-
You may convey a covered work under sections 3 and 4 of this License
|
45
|
-
without being bound by section 3 of the GNU GPL.
|
46
|
-
|
47
|
-
2. Conveying Modified Versions.
|
48
|
-
|
49
|
-
If you modify a copy of the Library, and, in your modifications, a
|
50
|
-
facility refers to a function or data to be supplied by an Application
|
51
|
-
that uses the facility (other than as an argument passed when the
|
52
|
-
facility is invoked), then you may convey a copy of the modified
|
53
|
-
version:
|
54
|
-
|
55
|
-
a) under this License, provided that you make a good faith effort to
|
56
|
-
ensure that, in the event an Application does not supply the
|
57
|
-
function or data, the facility still operates, and performs
|
58
|
-
whatever part of its purpose remains meaningful, or
|
59
|
-
|
60
|
-
b) under the GNU GPL, with none of the additional permissions of
|
61
|
-
this License applicable to that copy.
|
62
|
-
|
63
|
-
3. Object Code Incorporating Material from Library Header Files.
|
64
|
-
|
65
|
-
The object code form of an Application may incorporate material from
|
66
|
-
a header file that is part of the Library. You may convey such object
|
67
|
-
code under terms of your choice, provided that, if the incorporated
|
68
|
-
material is not limited to numerical parameters, data structure
|
69
|
-
layouts and accessors, or small macros, inline functions and templates
|
70
|
-
(ten or fewer lines in length), you do both of the following:
|
71
|
-
|
72
|
-
a) Give prominent notice with each copy of the object code that the
|
73
|
-
Library is used in it and that the Library and its use are
|
74
|
-
covered by this License.
|
75
|
-
|
76
|
-
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
-
document.
|
78
|
-
|
79
|
-
4. Combined Works.
|
80
|
-
|
81
|
-
You may convey a Combined Work under terms of your choice that,
|
82
|
-
taken together, effectively do not restrict modification of the
|
83
|
-
portions of the Library contained in the Combined Work and reverse
|
84
|
-
engineering for debugging such modifications, if you also do each of
|
85
|
-
the following:
|
86
|
-
|
87
|
-
a) Give prominent notice with each copy of the Combined Work that
|
88
|
-
the Library is used in it and that the Library and its use are
|
89
|
-
covered by this License.
|
90
|
-
|
91
|
-
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
-
document.
|
93
|
-
|
94
|
-
c) For a Combined Work that displays copyright notices during
|
95
|
-
execution, include the copyright notice for the Library among
|
96
|
-
these notices, as well as a reference directing the user to the
|
97
|
-
copies of the GNU GPL and this license document.
|
98
|
-
|
99
|
-
d) Do one of the following:
|
100
|
-
|
101
|
-
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
-
License, and the Corresponding Application Code in a form
|
103
|
-
suitable for, and under terms that permit, the user to
|
104
|
-
recombine or relink the Application with a modified version of
|
105
|
-
the Linked Version to produce a modified Combined Work, in the
|
106
|
-
manner specified by section 6 of the GNU GPL for conveying
|
107
|
-
Corresponding Source.
|
108
|
-
|
109
|
-
1) Use a suitable shared library mechanism for linking with the
|
110
|
-
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
-
a copy of the Library already present on the user's computer
|
112
|
-
system, and (b) will operate properly with a modified version
|
113
|
-
of the Library that is interface-compatible with the Linked
|
114
|
-
Version.
|
115
|
-
|
116
|
-
e) Provide Installation Information, but only if you would otherwise
|
117
|
-
be required to provide such information under section 6 of the
|
118
|
-
GNU GPL, and only to the extent that such information is
|
119
|
-
necessary to install and execute a modified version of the
|
120
|
-
Combined Work produced by recombining or relinking the
|
121
|
-
Application with a modified version of the Linked Version. (If
|
122
|
-
you use option 4d0, the Installation Information must accompany
|
123
|
-
the Minimal Corresponding Source and Corresponding Application
|
124
|
-
Code. If you use option 4d1, you must provide the Installation
|
125
|
-
Information in the manner specified by section 6 of the GNU GPL
|
126
|
-
for conveying Corresponding Source.)
|
127
|
-
|
128
|
-
5. Combined Libraries.
|
129
|
-
|
130
|
-
You may place library facilities that are a work based on the
|
131
|
-
Library side by side in a single library together with other library
|
132
|
-
facilities that are not Applications and are not covered by this
|
133
|
-
License, and convey such a combined library under terms of your
|
134
|
-
choice, if you do both of the following:
|
135
|
-
|
136
|
-
a) Accompany the combined library with a copy of the same work based
|
137
|
-
on the Library, uncombined with any other library facilities,
|
138
|
-
conveyed under the terms of this License.
|
139
|
-
|
140
|
-
b) Give prominent notice with the combined library that part of it
|
141
|
-
is a work based on the Library, and explaining where to find the
|
142
|
-
accompanying uncombined form of the same work.
|
143
|
-
|
144
|
-
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
-
|
146
|
-
The Free Software Foundation may publish revised and/or new versions
|
147
|
-
of the GNU Lesser General Public License from time to time. Such new
|
148
|
-
versions will be similar in spirit to the present version, but may
|
149
|
-
differ in detail to address new problems or concerns.
|
150
|
-
|
151
|
-
Each version is given a distinguishing version number. If the
|
152
|
-
Library as you received it specifies that a certain numbered version
|
153
|
-
of the GNU Lesser General Public License "or any later version"
|
154
|
-
applies to it, you have the option of following the terms and
|
155
|
-
conditions either of that published version or of any later version
|
156
|
-
published by the Free Software Foundation. If the Library as you
|
157
|
-
received it does not specify a version number of the GNU Lesser
|
158
|
-
General Public License, you may choose any version of the GNU Lesser
|
159
|
-
General Public License ever published by the Free Software Foundation.
|
160
|
-
|
161
|
-
If the Library as you received it specifies that a proxy can decide
|
162
|
-
whether future versions of the GNU Lesser General Public License shall
|
163
|
-
apply, that proxy's public statement of acceptance of any version is
|
164
|
-
permanent authorization for you to choose that version for the
|
165
|
-
Library.
|