sidekiq 3.4.1 → 7.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (235) hide show
  1. checksums.yaml +5 -5
  2. data/Changes.md +1118 -4
  3. data/LICENSE.txt +9 -0
  4. data/README.md +55 -47
  5. data/bin/multi_queue_bench +271 -0
  6. data/bin/sidekiq +26 -3
  7. data/bin/sidekiqload +247 -0
  8. data/bin/sidekiqmon +11 -0
  9. data/lib/generators/sidekiq/job_generator.rb +57 -0
  10. data/lib/generators/sidekiq/templates/{worker.rb.erb → job.rb.erb} +2 -2
  11. data/lib/generators/sidekiq/templates/job_spec.rb.erb +6 -0
  12. data/lib/generators/sidekiq/templates/job_test.rb.erb +8 -0
  13. data/lib/sidekiq/api.rb +714 -312
  14. data/lib/sidekiq/capsule.rb +130 -0
  15. data/lib/sidekiq/cli.rb +275 -241
  16. data/lib/sidekiq/client.rb +141 -110
  17. data/lib/sidekiq/component.rb +68 -0
  18. data/lib/sidekiq/config.rb +291 -0
  19. data/lib/sidekiq/deploy.rb +62 -0
  20. data/lib/sidekiq/embedded.rb +61 -0
  21. data/lib/sidekiq/fetch.rb +53 -121
  22. data/lib/sidekiq/iterable_job.rb +53 -0
  23. data/lib/sidekiq/job/interrupt_handler.rb +22 -0
  24. data/lib/sidekiq/job/iterable/active_record_enumerator.rb +53 -0
  25. data/lib/sidekiq/job/iterable/csv_enumerator.rb +47 -0
  26. data/lib/sidekiq/job/iterable/enumerators.rb +135 -0
  27. data/lib/sidekiq/job/iterable.rb +231 -0
  28. data/lib/sidekiq/job.rb +385 -0
  29. data/lib/sidekiq/job_logger.rb +64 -0
  30. data/lib/sidekiq/job_retry.rb +305 -0
  31. data/lib/sidekiq/job_util.rb +107 -0
  32. data/lib/sidekiq/launcher.rb +241 -66
  33. data/lib/sidekiq/logger.rb +131 -0
  34. data/lib/sidekiq/manager.rb +91 -192
  35. data/lib/sidekiq/metrics/query.rb +156 -0
  36. data/lib/sidekiq/metrics/shared.rb +95 -0
  37. data/lib/sidekiq/metrics/tracking.rb +140 -0
  38. data/lib/sidekiq/middleware/chain.rb +114 -56
  39. data/lib/sidekiq/middleware/current_attributes.rb +111 -0
  40. data/lib/sidekiq/middleware/i18n.rb +8 -7
  41. data/lib/sidekiq/middleware/modules.rb +21 -0
  42. data/lib/sidekiq/monitor.rb +146 -0
  43. data/lib/sidekiq/paginator.rb +29 -16
  44. data/lib/sidekiq/processor.rb +248 -112
  45. data/lib/sidekiq/rails.rb +61 -27
  46. data/lib/sidekiq/redis_client_adapter.rb +114 -0
  47. data/lib/sidekiq/redis_connection.rb +68 -48
  48. data/lib/sidekiq/ring_buffer.rb +29 -0
  49. data/lib/sidekiq/scheduled.rb +173 -52
  50. data/lib/sidekiq/sd_notify.rb +149 -0
  51. data/lib/sidekiq/systemd.rb +24 -0
  52. data/lib/sidekiq/testing/inline.rb +7 -5
  53. data/lib/sidekiq/testing.rb +206 -65
  54. data/lib/sidekiq/transaction_aware_client.rb +51 -0
  55. data/lib/sidekiq/version.rb +4 -1
  56. data/lib/sidekiq/web/action.rb +99 -0
  57. data/lib/sidekiq/web/application.rb +479 -0
  58. data/lib/sidekiq/web/csrf_protection.rb +183 -0
  59. data/lib/sidekiq/web/helpers.rb +415 -0
  60. data/lib/sidekiq/web/router.rb +104 -0
  61. data/lib/sidekiq/web.rb +158 -200
  62. data/lib/sidekiq/worker_compatibility_alias.rb +13 -0
  63. data/lib/sidekiq.rb +100 -132
  64. data/sidekiq.gemspec +27 -23
  65. data/web/assets/images/apple-touch-icon.png +0 -0
  66. data/web/assets/images/favicon.ico +0 -0
  67. data/web/assets/javascripts/application.js +177 -72
  68. data/web/assets/javascripts/base-charts.js +106 -0
  69. data/web/assets/javascripts/chart.min.js +13 -0
  70. data/web/assets/javascripts/chartjs-plugin-annotation.min.js +7 -0
  71. data/web/assets/javascripts/dashboard-charts.js +192 -0
  72. data/web/assets/javascripts/dashboard.js +37 -286
  73. data/web/assets/javascripts/metrics.js +298 -0
  74. data/web/assets/stylesheets/application-dark.css +147 -0
  75. data/web/assets/stylesheets/application-rtl.css +163 -0
  76. data/web/assets/stylesheets/application.css +228 -247
  77. data/web/assets/stylesheets/bootstrap-rtl.min.css +9 -0
  78. data/web/assets/stylesheets/bootstrap.css +4 -8
  79. data/web/locales/ar.yml +87 -0
  80. data/web/locales/cs.yml +62 -52
  81. data/web/locales/da.yml +60 -53
  82. data/web/locales/de.yml +65 -53
  83. data/web/locales/el.yml +43 -24
  84. data/web/locales/en.yml +86 -61
  85. data/web/locales/es.yml +70 -53
  86. data/web/locales/fa.yml +80 -0
  87. data/web/locales/fr.yml +86 -56
  88. data/web/locales/gd.yml +99 -0
  89. data/web/locales/he.yml +80 -0
  90. data/web/locales/hi.yml +59 -59
  91. data/web/locales/it.yml +53 -53
  92. data/web/locales/ja.yml +78 -56
  93. data/web/locales/ko.yml +52 -52
  94. data/web/locales/lt.yml +83 -0
  95. data/web/locales/{no.yml → nb.yml} +62 -54
  96. data/web/locales/nl.yml +52 -52
  97. data/web/locales/pl.yml +45 -45
  98. data/web/locales/pt-br.yml +83 -55
  99. data/web/locales/pt.yml +51 -51
  100. data/web/locales/ru.yml +68 -60
  101. data/web/locales/sv.yml +53 -53
  102. data/web/locales/ta.yml +60 -60
  103. data/web/locales/tr.yml +101 -0
  104. data/web/locales/uk.yml +77 -0
  105. data/web/locales/ur.yml +80 -0
  106. data/web/locales/vi.yml +83 -0
  107. data/web/locales/zh-cn.yml +43 -16
  108. data/web/locales/zh-tw.yml +42 -8
  109. data/web/views/_footer.erb +22 -9
  110. data/web/views/_job_info.erb +27 -6
  111. data/web/views/_metrics_period_select.erb +12 -0
  112. data/web/views/_nav.erb +8 -22
  113. data/web/views/_paging.erb +3 -1
  114. data/web/views/_poll_link.erb +4 -0
  115. data/web/views/_summary.erb +7 -7
  116. data/web/views/busy.erb +91 -31
  117. data/web/views/dashboard.erb +52 -22
  118. data/web/views/dead.erb +5 -4
  119. data/web/views/filtering.erb +7 -0
  120. data/web/views/layout.erb +19 -7
  121. data/web/views/metrics.erb +91 -0
  122. data/web/views/metrics_for_job.erb +59 -0
  123. data/web/views/morgue.erb +26 -20
  124. data/web/views/queue.erb +36 -25
  125. data/web/views/queues.erb +24 -7
  126. data/web/views/retries.erb +29 -21
  127. data/web/views/retry.erb +6 -5
  128. data/web/views/scheduled.erb +20 -17
  129. data/web/views/scheduled_job_info.erb +2 -1
  130. metadata +101 -232
  131. data/.gitignore +0 -12
  132. data/.travis.yml +0 -16
  133. data/3.0-Upgrade.md +0 -70
  134. data/COMM-LICENSE +0 -85
  135. data/Contributing.md +0 -32
  136. data/Gemfile +0 -22
  137. data/LICENSE +0 -9
  138. data/Pro-2.0-Upgrade.md +0 -138
  139. data/Pro-Changes.md +0 -412
  140. data/Rakefile +0 -9
  141. data/bin/sidekiqctl +0 -93
  142. data/lib/generators/sidekiq/templates/worker_spec.rb.erb +0 -6
  143. data/lib/generators/sidekiq/templates/worker_test.rb.erb +0 -8
  144. data/lib/generators/sidekiq/worker_generator.rb +0 -49
  145. data/lib/sidekiq/actor.rb +0 -39
  146. data/lib/sidekiq/core_ext.rb +0 -105
  147. data/lib/sidekiq/exception_handler.rb +0 -30
  148. data/lib/sidekiq/extensions/action_mailer.rb +0 -56
  149. data/lib/sidekiq/extensions/active_record.rb +0 -39
  150. data/lib/sidekiq/extensions/class_methods.rb +0 -39
  151. data/lib/sidekiq/extensions/generic_proxy.rb +0 -24
  152. data/lib/sidekiq/logging.rb +0 -104
  153. data/lib/sidekiq/middleware/server/active_record.rb +0 -13
  154. data/lib/sidekiq/middleware/server/logging.rb +0 -35
  155. data/lib/sidekiq/middleware/server/retry_jobs.rb +0 -206
  156. data/lib/sidekiq/util.rb +0 -55
  157. data/lib/sidekiq/web_helpers.rb +0 -234
  158. data/lib/sidekiq/worker.rb +0 -89
  159. data/test/config.yml +0 -9
  160. data/test/env_based_config.yml +0 -11
  161. data/test/fake_env.rb +0 -0
  162. data/test/fixtures/en.yml +0 -2
  163. data/test/helper.rb +0 -39
  164. data/test/test_api.rb +0 -494
  165. data/test/test_cli.rb +0 -365
  166. data/test/test_client.rb +0 -269
  167. data/test/test_exception_handler.rb +0 -55
  168. data/test/test_extensions.rb +0 -120
  169. data/test/test_fetch.rb +0 -104
  170. data/test/test_logging.rb +0 -34
  171. data/test/test_manager.rb +0 -164
  172. data/test/test_middleware.rb +0 -159
  173. data/test/test_processor.rb +0 -166
  174. data/test/test_redis_connection.rb +0 -127
  175. data/test/test_retry.rb +0 -373
  176. data/test/test_scheduled.rb +0 -120
  177. data/test/test_scheduling.rb +0 -71
  178. data/test/test_sidekiq.rb +0 -69
  179. data/test/test_testing.rb +0 -82
  180. data/test/test_testing_fake.rb +0 -271
  181. data/test/test_testing_inline.rb +0 -93
  182. data/test/test_web.rb +0 -594
  183. data/test/test_web_helpers.rb +0 -52
  184. data/test/test_worker_generator.rb +0 -17
  185. data/web/assets/images/bootstrap/glyphicons-halflings-white.png +0 -0
  186. data/web/assets/images/bootstrap/glyphicons-halflings.png +0 -0
  187. data/web/assets/images/status/active.png +0 -0
  188. data/web/assets/images/status/idle.png +0 -0
  189. data/web/assets/javascripts/locales/README.md +0 -27
  190. data/web/assets/javascripts/locales/jquery.timeago.ar.js +0 -96
  191. data/web/assets/javascripts/locales/jquery.timeago.bg.js +0 -18
  192. data/web/assets/javascripts/locales/jquery.timeago.bs.js +0 -49
  193. data/web/assets/javascripts/locales/jquery.timeago.ca.js +0 -18
  194. data/web/assets/javascripts/locales/jquery.timeago.cs.js +0 -18
  195. data/web/assets/javascripts/locales/jquery.timeago.cy.js +0 -20
  196. data/web/assets/javascripts/locales/jquery.timeago.da.js +0 -18
  197. data/web/assets/javascripts/locales/jquery.timeago.de.js +0 -18
  198. data/web/assets/javascripts/locales/jquery.timeago.el.js +0 -18
  199. data/web/assets/javascripts/locales/jquery.timeago.en-short.js +0 -20
  200. data/web/assets/javascripts/locales/jquery.timeago.en.js +0 -20
  201. data/web/assets/javascripts/locales/jquery.timeago.es.js +0 -18
  202. data/web/assets/javascripts/locales/jquery.timeago.et.js +0 -18
  203. data/web/assets/javascripts/locales/jquery.timeago.fa.js +0 -22
  204. data/web/assets/javascripts/locales/jquery.timeago.fi.js +0 -28
  205. data/web/assets/javascripts/locales/jquery.timeago.fr-short.js +0 -16
  206. data/web/assets/javascripts/locales/jquery.timeago.fr.js +0 -17
  207. data/web/assets/javascripts/locales/jquery.timeago.he.js +0 -18
  208. data/web/assets/javascripts/locales/jquery.timeago.hr.js +0 -49
  209. data/web/assets/javascripts/locales/jquery.timeago.hu.js +0 -18
  210. data/web/assets/javascripts/locales/jquery.timeago.hy.js +0 -18
  211. data/web/assets/javascripts/locales/jquery.timeago.id.js +0 -18
  212. data/web/assets/javascripts/locales/jquery.timeago.it.js +0 -16
  213. data/web/assets/javascripts/locales/jquery.timeago.ja.js +0 -19
  214. data/web/assets/javascripts/locales/jquery.timeago.ko.js +0 -17
  215. data/web/assets/javascripts/locales/jquery.timeago.lt.js +0 -20
  216. data/web/assets/javascripts/locales/jquery.timeago.mk.js +0 -20
  217. data/web/assets/javascripts/locales/jquery.timeago.nl.js +0 -20
  218. data/web/assets/javascripts/locales/jquery.timeago.no.js +0 -18
  219. data/web/assets/javascripts/locales/jquery.timeago.pl.js +0 -31
  220. data/web/assets/javascripts/locales/jquery.timeago.pt-br.js +0 -16
  221. data/web/assets/javascripts/locales/jquery.timeago.pt.js +0 -16
  222. data/web/assets/javascripts/locales/jquery.timeago.ro.js +0 -18
  223. data/web/assets/javascripts/locales/jquery.timeago.rs.js +0 -49
  224. data/web/assets/javascripts/locales/jquery.timeago.ru.js +0 -34
  225. data/web/assets/javascripts/locales/jquery.timeago.sk.js +0 -18
  226. data/web/assets/javascripts/locales/jquery.timeago.sl.js +0 -44
  227. data/web/assets/javascripts/locales/jquery.timeago.sv.js +0 -18
  228. data/web/assets/javascripts/locales/jquery.timeago.th.js +0 -20
  229. data/web/assets/javascripts/locales/jquery.timeago.tr.js +0 -16
  230. data/web/assets/javascripts/locales/jquery.timeago.uk.js +0 -34
  231. data/web/assets/javascripts/locales/jquery.timeago.uz.js +0 -19
  232. data/web/assets/javascripts/locales/jquery.timeago.zh-cn.js +0 -20
  233. data/web/assets/javascripts/locales/jquery.timeago.zh-tw.js +0 -20
  234. data/web/views/_poll.erb +0 -10
  235. /data/web/assets/images/{status-sd8051fd480.png → status.png} +0 -0
metadata CHANGED
@@ -1,73 +1,73 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 7.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Perham
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-19 00:00:00.000000000 Z
11
+ date: 2024-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: redis
14
+ name: redis-client
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 3.0.6
19
+ version: 0.22.2
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: 3.0.6
26
+ version: 0.22.2
27
27
  - !ruby/object:Gem::Dependency
28
- name: redis-namespace
28
+ name: connection_pool
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.3.1
33
+ version: 2.3.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.3.1
40
+ version: 2.3.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: connection_pool
42
+ name: rack
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 2.1.1
47
+ version: 2.2.4
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 2.1.1
54
+ version: 2.2.4
55
55
  - !ruby/object:Gem::Dependency
56
- name: celluloid
56
+ name: concurrent-ruby
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - "<"
60
60
  - !ruby/object:Gem::Version
61
- version: 0.16.0
61
+ version: '2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - "<"
67
67
  - !ruby/object:Gem::Version
68
- version: 0.16.0
68
+ version: '2'
69
69
  - !ruby/object:Gem::Dependency
70
- name: json
70
+ name: logger
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - ">="
@@ -80,249 +80,139 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
- - !ruby/object:Gem::Dependency
84
- name: sinatra
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '0'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - ">="
95
- - !ruby/object:Gem::Version
96
- version: '0'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 5.3.3
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 5.3.3
111
- - !ruby/object:Gem::Dependency
112
- name: rake
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - ">="
116
- - !ruby/object:Gem::Version
117
- version: '0'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - ">="
123
- - !ruby/object:Gem::Version
124
- version: '0'
125
- - !ruby/object:Gem::Dependency
126
- name: rails
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: 4.1.1
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: 4.1.1
139
- - !ruby/object:Gem::Dependency
140
- name: coveralls
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - ">="
144
- - !ruby/object:Gem::Version
145
- version: '0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - ">="
151
- - !ruby/object:Gem::Version
152
- version: '0'
153
- description: Simple, efficient background processing for Ruby
83
+ description: Simple, efficient background processing for Ruby.
154
84
  email:
155
- - mperham@gmail.com
85
+ - info@contribsys.com
156
86
  executables:
157
87
  - sidekiq
158
- - sidekiqctl
88
+ - sidekiqmon
159
89
  extensions: []
160
90
  extra_rdoc_files: []
161
91
  files:
162
- - ".gitignore"
163
- - ".travis.yml"
164
- - 3.0-Upgrade.md
165
- - COMM-LICENSE
166
92
  - Changes.md
167
- - Contributing.md
168
- - Gemfile
169
- - LICENSE
170
- - Pro-2.0-Upgrade.md
171
- - Pro-Changes.md
93
+ - LICENSE.txt
172
94
  - README.md
173
- - Rakefile
95
+ - bin/multi_queue_bench
174
96
  - bin/sidekiq
175
- - bin/sidekiqctl
176
- - lib/generators/sidekiq/templates/worker.rb.erb
177
- - lib/generators/sidekiq/templates/worker_spec.rb.erb
178
- - lib/generators/sidekiq/templates/worker_test.rb.erb
179
- - lib/generators/sidekiq/worker_generator.rb
97
+ - bin/sidekiqload
98
+ - bin/sidekiqmon
99
+ - lib/generators/sidekiq/job_generator.rb
100
+ - lib/generators/sidekiq/templates/job.rb.erb
101
+ - lib/generators/sidekiq/templates/job_spec.rb.erb
102
+ - lib/generators/sidekiq/templates/job_test.rb.erb
180
103
  - lib/sidekiq.rb
181
- - lib/sidekiq/actor.rb
182
104
  - lib/sidekiq/api.rb
105
+ - lib/sidekiq/capsule.rb
183
106
  - lib/sidekiq/cli.rb
184
107
  - lib/sidekiq/client.rb
185
- - lib/sidekiq/core_ext.rb
186
- - lib/sidekiq/exception_handler.rb
187
- - lib/sidekiq/extensions/action_mailer.rb
188
- - lib/sidekiq/extensions/active_record.rb
189
- - lib/sidekiq/extensions/class_methods.rb
190
- - lib/sidekiq/extensions/generic_proxy.rb
108
+ - lib/sidekiq/component.rb
109
+ - lib/sidekiq/config.rb
110
+ - lib/sidekiq/deploy.rb
111
+ - lib/sidekiq/embedded.rb
191
112
  - lib/sidekiq/fetch.rb
113
+ - lib/sidekiq/iterable_job.rb
114
+ - lib/sidekiq/job.rb
115
+ - lib/sidekiq/job/interrupt_handler.rb
116
+ - lib/sidekiq/job/iterable.rb
117
+ - lib/sidekiq/job/iterable/active_record_enumerator.rb
118
+ - lib/sidekiq/job/iterable/csv_enumerator.rb
119
+ - lib/sidekiq/job/iterable/enumerators.rb
120
+ - lib/sidekiq/job_logger.rb
121
+ - lib/sidekiq/job_retry.rb
122
+ - lib/sidekiq/job_util.rb
192
123
  - lib/sidekiq/launcher.rb
193
- - lib/sidekiq/logging.rb
124
+ - lib/sidekiq/logger.rb
194
125
  - lib/sidekiq/manager.rb
126
+ - lib/sidekiq/metrics/query.rb
127
+ - lib/sidekiq/metrics/shared.rb
128
+ - lib/sidekiq/metrics/tracking.rb
195
129
  - lib/sidekiq/middleware/chain.rb
130
+ - lib/sidekiq/middleware/current_attributes.rb
196
131
  - lib/sidekiq/middleware/i18n.rb
197
- - lib/sidekiq/middleware/server/active_record.rb
198
- - lib/sidekiq/middleware/server/logging.rb
199
- - lib/sidekiq/middleware/server/retry_jobs.rb
132
+ - lib/sidekiq/middleware/modules.rb
133
+ - lib/sidekiq/monitor.rb
200
134
  - lib/sidekiq/paginator.rb
201
135
  - lib/sidekiq/processor.rb
202
136
  - lib/sidekiq/rails.rb
137
+ - lib/sidekiq/redis_client_adapter.rb
203
138
  - lib/sidekiq/redis_connection.rb
139
+ - lib/sidekiq/ring_buffer.rb
204
140
  - lib/sidekiq/scheduled.rb
141
+ - lib/sidekiq/sd_notify.rb
142
+ - lib/sidekiq/systemd.rb
205
143
  - lib/sidekiq/testing.rb
206
144
  - lib/sidekiq/testing/inline.rb
207
- - lib/sidekiq/util.rb
145
+ - lib/sidekiq/transaction_aware_client.rb
208
146
  - lib/sidekiq/version.rb
209
147
  - lib/sidekiq/web.rb
210
- - lib/sidekiq/web_helpers.rb
211
- - lib/sidekiq/worker.rb
148
+ - lib/sidekiq/web/action.rb
149
+ - lib/sidekiq/web/application.rb
150
+ - lib/sidekiq/web/csrf_protection.rb
151
+ - lib/sidekiq/web/helpers.rb
152
+ - lib/sidekiq/web/router.rb
153
+ - lib/sidekiq/worker_compatibility_alias.rb
212
154
  - sidekiq.gemspec
213
- - test/config.yml
214
- - test/env_based_config.yml
215
- - test/fake_env.rb
216
- - test/fixtures/en.yml
217
- - test/helper.rb
218
- - test/test_api.rb
219
- - test/test_cli.rb
220
- - test/test_client.rb
221
- - test/test_exception_handler.rb
222
- - test/test_extensions.rb
223
- - test/test_fetch.rb
224
- - test/test_logging.rb
225
- - test/test_manager.rb
226
- - test/test_middleware.rb
227
- - test/test_processor.rb
228
- - test/test_redis_connection.rb
229
- - test/test_retry.rb
230
- - test/test_scheduled.rb
231
- - test/test_scheduling.rb
232
- - test/test_sidekiq.rb
233
- - test/test_testing.rb
234
- - test/test_testing_fake.rb
235
- - test/test_testing_inline.rb
236
- - test/test_web.rb
237
- - test/test_web_helpers.rb
238
- - test/test_worker_generator.rb
239
- - web/assets/images/bootstrap/glyphicons-halflings-white.png
240
- - web/assets/images/bootstrap/glyphicons-halflings.png
155
+ - web/assets/images/apple-touch-icon.png
156
+ - web/assets/images/favicon.ico
241
157
  - web/assets/images/logo.png
242
- - web/assets/images/status-sd8051fd480.png
243
- - web/assets/images/status/active.png
244
- - web/assets/images/status/idle.png
158
+ - web/assets/images/status.png
245
159
  - web/assets/javascripts/application.js
160
+ - web/assets/javascripts/base-charts.js
161
+ - web/assets/javascripts/chart.min.js
162
+ - web/assets/javascripts/chartjs-plugin-annotation.min.js
163
+ - web/assets/javascripts/dashboard-charts.js
246
164
  - web/assets/javascripts/dashboard.js
247
- - web/assets/javascripts/locales/README.md
248
- - web/assets/javascripts/locales/jquery.timeago.ar.js
249
- - web/assets/javascripts/locales/jquery.timeago.bg.js
250
- - web/assets/javascripts/locales/jquery.timeago.bs.js
251
- - web/assets/javascripts/locales/jquery.timeago.ca.js
252
- - web/assets/javascripts/locales/jquery.timeago.cs.js
253
- - web/assets/javascripts/locales/jquery.timeago.cy.js
254
- - web/assets/javascripts/locales/jquery.timeago.da.js
255
- - web/assets/javascripts/locales/jquery.timeago.de.js
256
- - web/assets/javascripts/locales/jquery.timeago.el.js
257
- - web/assets/javascripts/locales/jquery.timeago.en-short.js
258
- - web/assets/javascripts/locales/jquery.timeago.en.js
259
- - web/assets/javascripts/locales/jquery.timeago.es.js
260
- - web/assets/javascripts/locales/jquery.timeago.et.js
261
- - web/assets/javascripts/locales/jquery.timeago.fa.js
262
- - web/assets/javascripts/locales/jquery.timeago.fi.js
263
- - web/assets/javascripts/locales/jquery.timeago.fr-short.js
264
- - web/assets/javascripts/locales/jquery.timeago.fr.js
265
- - web/assets/javascripts/locales/jquery.timeago.he.js
266
- - web/assets/javascripts/locales/jquery.timeago.hr.js
267
- - web/assets/javascripts/locales/jquery.timeago.hu.js
268
- - web/assets/javascripts/locales/jquery.timeago.hy.js
269
- - web/assets/javascripts/locales/jquery.timeago.id.js
270
- - web/assets/javascripts/locales/jquery.timeago.it.js
271
- - web/assets/javascripts/locales/jquery.timeago.ja.js
272
- - web/assets/javascripts/locales/jquery.timeago.ko.js
273
- - web/assets/javascripts/locales/jquery.timeago.lt.js
274
- - web/assets/javascripts/locales/jquery.timeago.mk.js
275
- - web/assets/javascripts/locales/jquery.timeago.nl.js
276
- - web/assets/javascripts/locales/jquery.timeago.no.js
277
- - web/assets/javascripts/locales/jquery.timeago.pl.js
278
- - web/assets/javascripts/locales/jquery.timeago.pt-br.js
279
- - web/assets/javascripts/locales/jquery.timeago.pt.js
280
- - web/assets/javascripts/locales/jquery.timeago.ro.js
281
- - web/assets/javascripts/locales/jquery.timeago.rs.js
282
- - web/assets/javascripts/locales/jquery.timeago.ru.js
283
- - web/assets/javascripts/locales/jquery.timeago.sk.js
284
- - web/assets/javascripts/locales/jquery.timeago.sl.js
285
- - web/assets/javascripts/locales/jquery.timeago.sv.js
286
- - web/assets/javascripts/locales/jquery.timeago.th.js
287
- - web/assets/javascripts/locales/jquery.timeago.tr.js
288
- - web/assets/javascripts/locales/jquery.timeago.uk.js
289
- - web/assets/javascripts/locales/jquery.timeago.uz.js
290
- - web/assets/javascripts/locales/jquery.timeago.zh-cn.js
291
- - web/assets/javascripts/locales/jquery.timeago.zh-tw.js
165
+ - web/assets/javascripts/metrics.js
166
+ - web/assets/stylesheets/application-dark.css
167
+ - web/assets/stylesheets/application-rtl.css
292
168
  - web/assets/stylesheets/application.css
169
+ - web/assets/stylesheets/bootstrap-rtl.min.css
293
170
  - web/assets/stylesheets/bootstrap.css
171
+ - web/locales/ar.yml
294
172
  - web/locales/cs.yml
295
173
  - web/locales/da.yml
296
174
  - web/locales/de.yml
297
175
  - web/locales/el.yml
298
176
  - web/locales/en.yml
299
177
  - web/locales/es.yml
178
+ - web/locales/fa.yml
300
179
  - web/locales/fr.yml
180
+ - web/locales/gd.yml
181
+ - web/locales/he.yml
301
182
  - web/locales/hi.yml
302
183
  - web/locales/it.yml
303
184
  - web/locales/ja.yml
304
185
  - web/locales/ko.yml
186
+ - web/locales/lt.yml
187
+ - web/locales/nb.yml
305
188
  - web/locales/nl.yml
306
- - web/locales/no.yml
307
189
  - web/locales/pl.yml
308
190
  - web/locales/pt-br.yml
309
191
  - web/locales/pt.yml
310
192
  - web/locales/ru.yml
311
193
  - web/locales/sv.yml
312
194
  - web/locales/ta.yml
195
+ - web/locales/tr.yml
196
+ - web/locales/uk.yml
197
+ - web/locales/ur.yml
198
+ - web/locales/vi.yml
313
199
  - web/locales/zh-cn.yml
314
200
  - web/locales/zh-tw.yml
315
201
  - web/views/_footer.erb
316
202
  - web/views/_job_info.erb
203
+ - web/views/_metrics_period_select.erb
317
204
  - web/views/_nav.erb
318
205
  - web/views/_paging.erb
319
- - web/views/_poll.erb
206
+ - web/views/_poll_link.erb
320
207
  - web/views/_status.erb
321
208
  - web/views/_summary.erb
322
209
  - web/views/busy.erb
323
210
  - web/views/dashboard.erb
324
211
  - web/views/dead.erb
212
+ - web/views/filtering.erb
325
213
  - web/views/layout.erb
214
+ - web/views/metrics.erb
215
+ - web/views/metrics_for_job.erb
326
216
  - web/views/morgue.erb
327
217
  - web/views/queue.erb
328
218
  - web/views/queues.erb
@@ -330,11 +220,17 @@ files:
330
220
  - web/views/retry.erb
331
221
  - web/views/scheduled.erb
332
222
  - web/views/scheduled_job_info.erb
333
- homepage: http://sidekiq.org
223
+ homepage: https://sidekiq.org
334
224
  licenses:
335
225
  - LGPL-3.0
336
- metadata: {}
337
- post_install_message:
226
+ metadata:
227
+ homepage_uri: https://sidekiq.org
228
+ bug_tracker_uri: https://github.com/sidekiq/sidekiq/issues
229
+ documentation_uri: https://github.com/sidekiq/sidekiq/wiki
230
+ changelog_uri: https://github.com/sidekiq/sidekiq/blob/main/Changes.md
231
+ source_code_uri: https://github.com/sidekiq/sidekiq
232
+ rubygems_mfa_required: 'true'
233
+ post_install_message:
338
234
  rdoc_options: []
339
235
  require_paths:
340
236
  - lib
@@ -342,42 +238,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
342
238
  requirements:
343
239
  - - ">="
344
240
  - !ruby/object:Gem::Version
345
- version: '0'
241
+ version: 2.7.0
346
242
  required_rubygems_version: !ruby/object:Gem::Requirement
347
243
  requirements:
348
244
  - - ">="
349
245
  - !ruby/object:Gem::Version
350
246
  version: '0'
351
247
  requirements: []
352
- rubyforge_project:
353
- rubygems_version: 2.4.5
354
- signing_key:
248
+ rubygems_version: 3.5.11
249
+ signing_key:
355
250
  specification_version: 4
356
251
  summary: Simple, efficient background processing for Ruby
357
- test_files:
358
- - test/config.yml
359
- - test/env_based_config.yml
360
- - test/fake_env.rb
361
- - test/fixtures/en.yml
362
- - test/helper.rb
363
- - test/test_api.rb
364
- - test/test_cli.rb
365
- - test/test_client.rb
366
- - test/test_exception_handler.rb
367
- - test/test_extensions.rb
368
- - test/test_fetch.rb
369
- - test/test_logging.rb
370
- - test/test_manager.rb
371
- - test/test_middleware.rb
372
- - test/test_processor.rb
373
- - test/test_redis_connection.rb
374
- - test/test_retry.rb
375
- - test/test_scheduled.rb
376
- - test/test_scheduling.rb
377
- - test/test_sidekiq.rb
378
- - test/test_testing.rb
379
- - test/test_testing_fake.rb
380
- - test/test_testing_inline.rb
381
- - test/test_web.rb
382
- - test/test_web_helpers.rb
383
- - test/test_worker_generator.rb
252
+ test_files: []
data/.gitignore DELETED
@@ -1,12 +0,0 @@
1
- .rvmrc
2
- .ruby-version
3
- tags
4
- Gemfile.lock
5
- *.swp
6
- dump.rdb
7
- .rbx
8
- coverage/
9
- vendor/
10
- .bundle/
11
- .sass-cache/
12
- tmp/
data/.travis.yml DELETED
@@ -1,16 +0,0 @@
1
- language: ruby
2
- sudo: false
3
- cache: bundler
4
- services:
5
- - redis-server
6
- rvm:
7
- - 2.1
8
- - 2.0.0
9
- - 2.2
10
- - jruby
11
- - jruby-head
12
- - rbx-2
13
- matrix:
14
- allow_failures:
15
- - rvm: rbx-2
16
- - rvm: jruby-head
data/3.0-Upgrade.md DELETED
@@ -1,70 +0,0 @@
1
- # Upgrading to Sidekiq 3.0
2
-
3
- Sidekiq 3.0 brings several new features but also removes old APIs and
4
- changes a few data elements in Redis. To upgrade cleanly:
5
-
6
- * Upgrade to the latest Sidekiq 2.x and run it for a few weeks.
7
- `gem 'sidekiq', '< 3'`
8
- This is only needed if you have retries pending.
9
- * 3rd party gems which use **client-side middleware** will need to update
10
- due to an API change. The Redis connection for a particular job is
11
- passed thru the middleware to handle sharding where jobs can
12
- be pushed to different redis server instances.
13
-
14
- `def call(worker_class, msg, queue, redis_pool)`
15
-
16
- Client-side middleware should use `redis_pool.with { |conn| ... }` to
17
- perform Redis operations and **not** `Sidekiq.redis`.
18
- * If you used the capistrano integration, you'll need to pull in the
19
- new [capistrano-sidekiq](https://github.com/seuros/capistrano-sidekiq)
20
- gem and use it in your deploy.rb.
21
- * API changes:
22
- - `Sidekiq::Client.registered_workers` replaced by `Sidekiq::Workers.new`
23
- - `Sidekiq::Client.registered_queues` replaced by `Sidekiq::Queue.all`
24
- - `Sidekiq::Worker#retries_exhausted` replaced by `Sidekiq::Worker.sidekiq_retries_exhausted`
25
- - `Sidekiq::Workers#each` has changed significantly with a reworking
26
- of Sidekiq's internal process/thread data model.
27
- * `sidekiq/api` is no longer automatically required. If your code uses
28
- the API, you will need to require it.
29
- * Redis-to-Go is no longer transparently activated on Heroku so as to not play
30
- favorites with any particular Redis service. You need to set a config option
31
- for your app:
32
- `heroku config:set REDIS_PROVIDER=REDISTOGO_URL`. You may also use
33
- the generic `REDIS_URL`. See
34
- [Advanced Options: Setting the Location of your Redis server][1]
35
- for details.
36
- * Anyone using Airbrake, Honeybadger, Exceptional or ExceptionNotifier
37
- will need to update their error gem version to the latest to pull in
38
- Sidekiq support. Sidekiq will not provide explicit support for these
39
- services so as to not play favorites with any particular error service.
40
- * MRI 1.9 is no longer officially supported. Sidekiq's official
41
- support policy is to support the current and previous major releases
42
- of MRI and Rails. As of February 2014, that's MRI 2.1, MRI 2.0, JRuby 1.7, Rails 4.0
43
- and Rails 3.2. I will consider PRs to fix issues found by users for
44
- other platforms/versions.
45
-
46
- ## Error Service Providers
47
-
48
- If you previously provided a middleware to capture job errors, you
49
- should instead provide a global error handler with Sidekiq 3.0. This
50
- ensures **any** error within Sidekiq will be logged appropriately, not
51
- just during job execution.
52
-
53
- ```ruby
54
- if Sidekiq::VERSION < '3'
55
- # old behavior
56
- Sidekiq.configure_server do |config|
57
- config.server_middleware do |chain|
58
- chain.add MyErrorService::Middleware
59
- end
60
- end
61
- else
62
- Sidekiq.configure_server do |config|
63
- config.error_handlers << proc {|ex,context| MyErrorService.notify(ex, context) }
64
- end
65
- end
66
- ```
67
-
68
- Your error handler must respond to `call(exception, context_hash)`.
69
-
70
- [1]: https://github.com/mperham/sidekiq/wiki/Advanced-Options#via-env-variable
data/COMM-LICENSE DELETED
@@ -1,85 +0,0 @@
1
- THIS LICENSE AGREEMENT DESCRIBES YOUR RIGHTS WITH RESPECT TO THE SOFTWARE AND ITS COMPONENTS.
2
-
3
- 1. OWNERSHIP, LICENSE GRANT
4
-
5
- This is a license agreement and not an agreement for sale. We reserve ownership of all intellectual property rights inherent in or relating to the Software, which include, but are not limited to, all copyright, patent rights, all rights in relation to registered and unregistered trademarks (including service marks), confidential information (including trade secrets and know-how) and all rights other than those expressly granted by this License Agreement.
6
-
7
- Subject to the payment of the fee required and subject to the terms and conditions of this License Agreement, We grant to You a revocable, non- transferable and non-exclusive license (i) for Designated User(s) (as defined below) within Your organization to install and use the Software on any workstations used exclusively by such Designated User and (ii) for You to install and use the Software in connection with unlimited domains and sub-domains on unlimited servers, solely in connection with distribution of the Software in accordance with sections 3 and 4 below. This license is not sublicensable except as explicitly set forth herein. “Designated User(s)” shall mean Your employee(s) acting within the scope of their employment or Your consultant(s) or contractor(s) acting within the scope of the services they provide for You or on Your behalf for whom You have purchased a license to use the Software.
8
-
9
- 2. PERMITTED USES, SOURCE CODE, MODIFICATIONS
10
-
11
- We provide You with source code so that You can create Modifications of the original Software, where Modification means: a) any addition to or deletion from the contents of a file included in the original Software or previous Modifications created by You, or b) any new file that contains any part of the original Software or previous Modifications. While You retain all rights to any original work authored by You as part of the Modifications, We continue to own all copyright and other intellectual property rights in the Software.
12
-
13
- 3. DISTRIBUTION
14
-
15
- You may distribute the Software in any applications, frameworks, or elements (collectively referred to as an “Application” or “Applications”) that you develop using the Software in accordance with this License Agreement, provided that such distribution does not violate the restrictions set forth in section 4 of this License Agreement. You must not remove, obscure or interfere with any copyright, acknowledgment, attribution, trademark, warning or disclaimer statement affixed to, incorporated in or otherwise applied in connection with the Software.
16
-
17
- You are required to ensure that the Software is not reused by or with any applications other than those with which You distribute it as permitted herein. For example, if You install the Software on a customer’s server, that customer is not permitted to use the Software independently of Your application, and must be informed as such.
18
-
19
- You will not owe Us any royalties for Your distribution of the Software in accordance with this License Agreement.
20
-
21
- 4. PROHIBITED USES
22
-
23
- You may not, without Our prior written consent, redistribute the Software or Modifications other than by including the Software or a portion thereof within Your own product, which must have substantially different functionality than the Software or Modifications and must not allow any third party to use the Software or Modifications, or any portions thereof, for software development or application development purposes. You are explicitly not allowed to redistribute the Software or Modifications as part of any product that can be described as a development toolkit or library, an application builder, a website builder or any product that is intended for use by software, application, or website developers or designers. You are not allowed to redistribute any part of the Software documentation. You may not change or remove the copyright notice from any of the files included in the Software or Modifications.
24
-
25
- You may not redistribute the Software as part of a product, "appliance" or "virtual server". You may not redistribute the Software on any server which is not directly under Your control.
26
-
27
- You may not publicize your unique "Source URL" for Sidekiq Pro. If your unique Source URL is ever publicized, We reserve the right to terminate your access without notice.
28
-
29
- UNDER NO CIRCUMSTANCES MAY YOU USE THE SOFTWARE FOR A PRODUCT THAT IS INTENDED FOR SOFTWARE OR APPLICATION DEVELOPMENT PURPOSES.
30
-
31
- The Open Source version of the Software (“LGPL Version”) is licensed
32
- under the terms of the GNU Lesser General Public License versions 3.0
33
- (“LGPL”) and not under this License Agreement. If You, or another third
34
- party, has, at any time, developed all (or any portions of) the
35
- Application(s) using the LGPL Version, You may not combine such
36
- development work with the Software and must license such Application(s)
37
- (or any portions derived there from) under the terms of the GNU Lesser
38
- General Public License version 3, a copy of which is located at
39
- http://www.gnu.org/copyleft/lgpl.html.
40
-
41
- 5. TERMINATION
42
-
43
- This License Agreement and Your right to use the Software and Modifications will terminate immediately without notice if You fail to comply with the terms and conditions of this License Agreement. Upon termination, You agree to immediately cease using and destroy the Software or Modifications, including all accompanying documents. The provisions of sections 4, 5, 6, 7, 8, 9, 10 and 12 will survive any termination of this License Agreement.
44
-
45
- 6. DISCLAIMER OF WARRANTIES
46
-
47
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, WE AND OUR SUPPLIERS DISCLAIM ALL WARRANTIES AND CONDITIONS, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT, WITH REGARD TO THE SOFTWARE. WE DO NOT GUARANTEE THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, AND YOU ACKNOWLEDGE THAT IT IS NOT TECHNICALLY PRACTICABLE FOR US TO DO SO.
48
-
49
- 7. LIMITATION OF LIABILITIES
50
-
51
- TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL WE OR OUR SUPPLIERS BE LIABLE FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES WHATSOEVER (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION OR ANY OTHER PECUNIARY LAW) ARISING OUT OF THE USE OF OR INABILITY TO USE THE SOFTWARE, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN ANY CASE, OUR ENTIRE LIABILITY UNDER ANY PROVISION OF THIS LICENSE AGREEMENT SHALL BE LIMITED TO THE AMOUNT ACTUALLY PAID BY YOU FOR THE SOFTWARE.
52
-
53
- 8. VERIFICATION
54
-
55
- We or a certified auditor acting on Our behalf, may, upon its reasonable request and at its expense, audit You with respect to the use of the Software. Such audit may be conducted by mail, electronic means or through an in-person visit to Your place of business. Any such in-person audit shall be conducted during regular business hours at Your facilities and shall not unreasonably interfere with Your business activities. We shall not remove, copy, or redistribute any electronic material during the course of an audit. If an audit reveals that You are using the Software in a way that is in material violation of the terms of the License Agreement, then You shall pay Our reasonable costs of conducting the audit. In the case of a material violation, You agree to pay Us any amounts owing that are attributable to the unauthorized use. In the alternative, We reserve the right, at Our sole option, to terminate the licenses for the Software.
56
-
57
- 9. THIRD PARTY SOFTWARE
58
-
59
- Examples included in Software may provide links to third party libraries or code (collectively “Third Party Software”) to implement various functions. Third Party Software does not comprise part of the Software. In some cases, access to Third Party Software may be included along with the Software delivery as a convenience for demonstration purposes. Such source code and libraries may be included in the “…/examples” source tree delivered with the Software and do not comprise the Software. Licensee acknowledges (1) that some part of Third Party Software may require additional licensing of copyright and patents from the owners of such, and (2) that distribution of any of the Software referencing or including any portion of a Third Party Software may require appropriate licensing from such third parties.
60
-
61
- 10. PAYMENT AND TAXES
62
-
63
- If credit has been extended to You by Us, all payments under this License Agreement are due within thirty (30) days of the date We mail an invoice to You. If We have not extended credit to You, You shall be required to make payment concurrent with the delivery of the Software by Us. All amounts payable are gross amounts but exclusive of any value added tax, use tax, sales tax or similar tax. You shall be entitled to withhold from payments any applicable withholding taxes and comply with all applicable tax and employment legislation. Each party shall pay all taxes (including, but not limited to, taxes based upon its income) or levies imposed on it under applicable laws, regulations and tax treaties as a result of this Agreement and any payments made hereunder (including those required to be withheld or deducted from payments). Each party shall furnish evidence of such paid taxes as is sufficient to enable the other party to obtain any credits available to it, including original withholding tax certificates.
64
-
65
- 11. MISCELLANEOUS
66
-
67
- The license granted herein applies only to the version of the Software available when purchased in connection with the terms of this License Agreement. Any previous or subsequent license granted to You for use of the Software shall be governed by the terms and conditions of the agreement entered in connection with purchase of that version of the Software. You agree that you will comply with all applicable laws and regulations with respect to the Software, including without limitation all export and re-export control laws and regulations.
68
-
69
- While redistributing the Software or Modifications thereof, You may choose to offer acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License Agreement. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on our behalf. You agree to indemnify, defend, and hold Us harmless from and against any liability incurred by, or claims asserted against, Us (i) by reason of Your accepting any such support, warranty, indemnity or additional liability; or (ii) arising out of the use, reproduction or distribution of Your Application, except to the extent such claim is solely based on the inclusion of the Software therein.
70
-
71
- You agree to be identified as a customer of ours and You agree that We may refer to You by name, trade name and trademark, if applicable, and may briefly describe Your business in our marketing materials and web site.
72
-
73
- You may not assign this License Agreement without Our prior written consent, which will not be unreasonably withheld. This License Agreement will inure to the benefit of Our successors and assigns.
74
-
75
- You acknowledge that this License Agreement is complete and is the exclusive representation of our agreement. No oral or written information given by Us or on our behalf shall create a warranty or collateral contract, or in any way increase the scope of this License Agreement in any way, and You may not rely on any such oral or written information. No term or condition contained in any purchase order shall apply unless expressly accepted by Us in writing,
76
-
77
- There are no implied licenses or other implied rights granted under this License Agreement, and all rights, save for those expressly granted hereunder, shall remain with Us and our licensors. In addition, no licenses or immunities are granted to the combination of the Software and/or Modifications, as applicable, with any other software or hardware not delivered by Us to You under this License Agreement.
78
-
79
- If any provision in this License Agreement shall be determined to be invalid, such provision shall be deemed omitted; the remainder of this License Agreement shall continue in full force and effect. If any remedy provided is determined to have failed for its essential purpose, all limitations of liability and exclusions of damages set forth in this License Agreement shall remain in effect.
80
-
81
- This License Agreement may be modified only by a written instrument signed by an authorized representative of each party.
82
-
83
- This License Agreement is governed by the law of the State of Oregon, United States (notwithstanding conflicts of laws provisions), and all parties irrevocably submit to the jurisdiction of the courts of the State of Oregon and further agree to commence any litigation which may arise hereunder in the state or federal courts located in the judicial district of Multnomah County, Oregon, US.
84
-
85
- If the Software or any related documentation is licensed to the U.S. government or any agency thereof, it will be deemed to be “commercial computer software” or “commercial computer software documentation,” pursuant to DFAR Section 227.7202 and FAR Section 12.212. Any use of the Software or related documentation by the U.S. government will be governed solely by the terms of this License Agreement.