inst-jobs 2.2.1 → 2.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/migrate/20101216224513_create_delayed_jobs.rb +9 -7
- data/db/migrate/20110531144916_cleanup_delayed_jobs_indexes.rb +8 -13
- data/db/migrate/20110610213249_optimize_delayed_jobs.rb +8 -8
- data/db/migrate/20110831210257_add_delayed_jobs_next_in_strand.rb +25 -25
- data/db/migrate/20120510004759_delayed_jobs_delete_trigger_lock_for_update.rb +4 -8
- data/db/migrate/20120531150712_drop_psql_jobs_pop_fn.rb +1 -3
- data/db/migrate/20120607164022_delayed_jobs_use_advisory_locks.rb +11 -15
- data/db/migrate/20120607181141_index_jobs_on_locked_by.rb +1 -1
- data/db/migrate/20120608191051_add_jobs_run_at_index.rb +2 -2
- data/db/migrate/20120927184213_change_delayed_jobs_handler_to_text.rb +1 -1
- data/db/migrate/20140505215510_copy_failed_jobs_original_id.rb +2 -3
- data/db/migrate/20150807133223_add_max_concurrent_to_jobs.rb +9 -13
- data/db/migrate/20151210162949_improve_max_concurrent.rb +4 -8
- data/db/migrate/20161206323555_add_back_default_string_limits_jobs.rb +3 -2
- data/db/migrate/20181217155351_speed_up_max_concurrent_triggers.rb +13 -17
- data/db/migrate/20200330230722_add_id_to_get_delayed_jobs_index.rb +8 -8
- data/db/migrate/20200824222232_speed_up_max_concurrent_delete_trigger.rb +72 -77
- data/db/migrate/20200825011002_add_strand_order_override.rb +93 -97
- data/db/migrate/20210809145804_add_n_strand_index.rb +12 -0
- data/db/migrate/20210812210128_add_singleton_column.rb +203 -0
- data/exe/inst_jobs +3 -2
- data/lib/delayed/backend/active_record.rb +187 -159
- data/lib/delayed/backend/base.rb +80 -69
- data/lib/delayed/batch.rb +11 -9
- data/lib/delayed/cli.rb +98 -84
- data/lib/delayed/core_ext/kernel.rb +4 -2
- data/lib/delayed/daemon.rb +70 -74
- data/lib/delayed/job_tracking.rb +26 -25
- data/lib/delayed/lifecycle.rb +27 -24
- data/lib/delayed/log_tailer.rb +17 -17
- data/lib/delayed/logging.rb +13 -16
- data/lib/delayed/message_sending.rb +42 -51
- data/lib/delayed/performable_method.rb +5 -7
- data/lib/delayed/periodic.rb +66 -65
- data/lib/delayed/plugin.rb +2 -4
- data/lib/delayed/pool.rb +198 -192
- data/lib/delayed/server/helpers.rb +6 -6
- data/lib/delayed/server.rb +51 -54
- data/lib/delayed/settings.rb +93 -81
- data/lib/delayed/testing.rb +21 -22
- data/lib/delayed/version.rb +1 -1
- data/lib/delayed/work_queue/in_process.rb +21 -17
- data/lib/delayed/work_queue/parent_process/client.rb +55 -53
- data/lib/delayed/work_queue/parent_process/server.rb +215 -209
- data/lib/delayed/work_queue/parent_process.rb +52 -53
- data/lib/delayed/worker/consul_health_check.rb +21 -19
- data/lib/delayed/worker/health_check.rb +21 -12
- data/lib/delayed/worker/null_health_check.rb +3 -1
- data/lib/delayed/worker/process_helper.rb +8 -9
- data/lib/delayed/worker.rb +271 -261
- data/lib/delayed/yaml_extensions.rb +12 -10
- data/lib/delayed_job.rb +37 -37
- data/lib/inst-jobs.rb +1 -1
- data/spec/active_record_job_spec.rb +142 -138
- data/spec/delayed/cli_spec.rb +7 -7
- data/spec/delayed/daemon_spec.rb +8 -8
- data/spec/delayed/message_sending_spec.rb +8 -9
- data/spec/delayed/periodic_spec.rb +13 -12
- data/spec/delayed/server_spec.rb +38 -38
- data/spec/delayed/settings_spec.rb +26 -25
- data/spec/delayed/work_queue/in_process_spec.rb +7 -7
- data/spec/delayed/work_queue/parent_process/client_spec.rb +16 -12
- data/spec/delayed/work_queue/parent_process/server_spec.rb +43 -40
- data/spec/delayed/work_queue/parent_process_spec.rb +21 -21
- data/spec/delayed/worker/consul_health_check_spec.rb +22 -22
- data/spec/delayed/worker/health_check_spec.rb +51 -49
- data/spec/delayed/worker_spec.rb +28 -25
- data/spec/gemfiles/52.gemfile +5 -3
- data/spec/gemfiles/52.gemfile.lock +240 -0
- data/spec/gemfiles/60.gemfile +5 -3
- data/spec/gemfiles/60.gemfile.lock +246 -0
- data/spec/gemfiles/61.gemfile +9 -0
- data/spec/sample_jobs.rb +45 -15
- data/spec/shared/delayed_batch.rb +74 -67
- data/spec/shared/delayed_method.rb +143 -102
- data/spec/shared/performable_method.rb +39 -38
- data/spec/shared/shared_backend.rb +520 -437
- data/spec/shared/testing.rb +14 -14
- data/spec/shared/worker.rb +156 -148
- data/spec/shared_jobs_specs.rb +13 -13
- data/spec/spec_helper.rb +43 -51
- metadata +101 -70
- data/lib/delayed/backend/redis/bulk_update.lua +0 -50
- data/lib/delayed/backend/redis/destroy_job.lua +0 -2
- data/lib/delayed/backend/redis/enqueue.lua +0 -29
- data/lib/delayed/backend/redis/fail_job.lua +0 -5
- data/lib/delayed/backend/redis/find_available.lua +0 -3
- data/lib/delayed/backend/redis/functions.rb +0 -59
- data/lib/delayed/backend/redis/get_and_lock_next_available.lua +0 -17
- data/lib/delayed/backend/redis/includes/jobs_common.lua +0 -203
- data/lib/delayed/backend/redis/job.rb +0 -535
- data/lib/delayed/backend/redis/set_running.lua +0 -5
- data/lib/delayed/backend/redis/tickle_strand.lua +0 -2
- data/spec/gemfiles/42.gemfile +0 -7
- data/spec/gemfiles/50.gemfile +0 -7
- data/spec/gemfiles/51.gemfile +0 -7
- data/spec/redis_job_spec.rb +0 -148
data/spec/delayed/worker_spec.rb
CHANGED
@@ -3,22 +3,27 @@
|
|
3
3
|
require_relative "../spec_helper"
|
4
4
|
|
5
5
|
describe Delayed::Worker do
|
6
|
-
let(:worker_config) { {
|
7
|
-
queue: "test", min_priority: 1, max_priority: 2, stuff: "stuff",
|
8
|
-
}.freeze }
|
9
|
-
let(:job_attrs) { {
|
10
|
-
id: 42, name: "testjob", full_name: "testfullname", :last_error= => nil,
|
11
|
-
attempts: 1, reschedule: nil, :expired? => false,
|
12
|
-
payload_object: {}, priority: 25
|
13
|
-
}.freeze }
|
14
6
|
subject { described_class.new(worker_config.dup) }
|
15
7
|
|
16
|
-
|
8
|
+
let(:worker_config) do
|
9
|
+
{
|
10
|
+
queue: "test", min_priority: 1, max_priority: 2, stuff: "stuff"
|
11
|
+
}.freeze
|
12
|
+
end
|
13
|
+
let(:job_attrs) do
|
14
|
+
{
|
15
|
+
id: 42, name: "testjob", full_name: "testfullname", :last_error= => nil,
|
16
|
+
attempts: 1, reschedule: nil, :expired? => false,
|
17
|
+
payload_object: {}, priority: 25
|
18
|
+
}.freeze
|
19
|
+
end
|
20
|
+
|
21
|
+
after { described_class.lifecycle.reset! }
|
17
22
|
|
18
23
|
describe "#perform" do
|
19
24
|
it "fires off an error callback when a job raises an exception" do
|
20
25
|
fired = false
|
21
|
-
|
26
|
+
described_class.lifecycle.before(:error) { |_worker, _exception| fired = true }
|
22
27
|
job = double(job_attrs)
|
23
28
|
output_count = subject.perform(job)
|
24
29
|
expect(fired).to be_truthy
|
@@ -27,8 +32,8 @@ describe Delayed::Worker do
|
|
27
32
|
|
28
33
|
it "uses the retry callback for a retriable exception" do
|
29
34
|
error_fired = retry_fired = false
|
30
|
-
|
31
|
-
|
35
|
+
described_class.lifecycle.before(:error) { |_worker, _exception| error_fired = true }
|
36
|
+
described_class.lifecycle.before(:retry) { |_worker, _exception| retry_fired = true }
|
32
37
|
job = Delayed::Job.new(payload_object: {}, priority: 25, strand: "test_jobs", max_attempts: 3)
|
33
38
|
expect(job).to receive(:invoke_job) do
|
34
39
|
raise Delayed::RetriableError, "that's all this job does"
|
@@ -40,15 +45,13 @@ describe Delayed::Worker do
|
|
40
45
|
end
|
41
46
|
|
42
47
|
it "reloads" do
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
reloader: double()
|
49
|
-
)
|
48
|
+
fake_application = double("Rails.application",
|
49
|
+
config: double("Rails.application.config",
|
50
|
+
cache_classes: false,
|
51
|
+
reload_classes_only_on_change: false),
|
52
|
+
reloader: double)
|
50
53
|
|
51
|
-
allow(Rails).to receive(:application).and_return(
|
54
|
+
allow(Rails).to receive(:application).and_return(fake_application)
|
52
55
|
if Rails::VERSION::MAJOR >= 5
|
53
56
|
expect(Rails.application.reloader).to receive(:reload!).once
|
54
57
|
else
|
@@ -61,7 +64,7 @@ describe Delayed::Worker do
|
|
61
64
|
end
|
62
65
|
|
63
66
|
describe "#log_job" do
|
64
|
-
around
|
67
|
+
around do |block|
|
65
68
|
prev_logger = Delayed::Settings.job_detailed_log_format
|
66
69
|
block.call
|
67
70
|
Delayed::Settings.job_detailed_log_format = prev_logger
|
@@ -73,11 +76,11 @@ describe Delayed::Worker do
|
|
73
76
|
short_log_format = subject.log_job(job, :short)
|
74
77
|
expect(short_log_format).to eq("RSpec::Mocks::Double")
|
75
78
|
long_format = subject.log_job(job, :long)
|
76
|
-
expect(long_format).to eq("RSpec::Mocks::Double {\"priority\":25,\"attempts\":0,\"created_at\":null,\"tag\":\"RSpec::Mocks::Double#perform\",\"max_attempts\":null,\"strand\":\"test_jobs\",\"source\":null}")
|
79
|
+
expect(long_format).to eq("RSpec::Mocks::Double {\"priority\":25,\"attempts\":0,\"created_at\":null,\"tag\":\"RSpec::Mocks::Double#perform\",\"max_attempts\":null,\"strand\":\"test_jobs\",\"source\":null}") # rubocop:disable Layout/LineLength
|
77
80
|
end
|
78
81
|
|
79
82
|
it "logging format can be changed with settings" do
|
80
|
-
Delayed::Settings.job_detailed_log_format = ->(job){ "override format #{job.strand}"}
|
83
|
+
Delayed::Settings.job_detailed_log_format = ->(job) { "override format #{job.strand}" }
|
81
84
|
payload = double(perform: nil)
|
82
85
|
job = Delayed::Job.new(payload_object: payload, priority: 25, strand: "test_jobs")
|
83
86
|
short_log_format = subject.log_job(job, :short)
|
@@ -89,8 +92,8 @@ describe Delayed::Worker do
|
|
89
92
|
|
90
93
|
describe "#run" do
|
91
94
|
it "passes extra config options through to the WorkQueue" do
|
92
|
-
expect(subject.work_queue).to receive(:get_and_lock_next_available)
|
93
|
-
with(subject.name, worker_config).and_return(nil)
|
95
|
+
expect(subject.work_queue).to receive(:get_and_lock_next_available)
|
96
|
+
.with(subject.name, worker_config).and_return(nil)
|
94
97
|
subject.run
|
95
98
|
end
|
96
99
|
end
|
data/spec/gemfiles/52.gemfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source "https://rubygems.org"
|
2
4
|
|
3
|
-
gemspec :
|
5
|
+
gemspec path: "../../"
|
4
6
|
|
5
7
|
gem "rails", "~> 5.2.0"
|
6
|
-
gem
|
7
|
-
gem
|
8
|
+
gem "sinatra", "~> 2.0"
|
9
|
+
gem "sinatra-contrib", "~> 2.0"
|
@@ -0,0 +1,240 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
inst-jobs (2.3.3)
|
5
|
+
activerecord (>= 5.2)
|
6
|
+
activesupport (>= 5.2)
|
7
|
+
after_transaction_commit (>= 1.0, < 3)
|
8
|
+
debug_inspector (~> 1.0)
|
9
|
+
fugit (~> 1.3)
|
10
|
+
railties (>= 5.2)
|
11
|
+
redis (> 3.0)
|
12
|
+
redis-scripting (~> 1.0.1)
|
13
|
+
|
14
|
+
GEM
|
15
|
+
remote: https://rubygems.org/
|
16
|
+
specs:
|
17
|
+
actioncable (5.2.6)
|
18
|
+
actionpack (= 5.2.6)
|
19
|
+
nio4r (~> 2.0)
|
20
|
+
websocket-driver (>= 0.6.1)
|
21
|
+
actionmailer (5.2.6)
|
22
|
+
actionpack (= 5.2.6)
|
23
|
+
actionview (= 5.2.6)
|
24
|
+
activejob (= 5.2.6)
|
25
|
+
mail (~> 2.5, >= 2.5.4)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
actionpack (5.2.6)
|
28
|
+
actionview (= 5.2.6)
|
29
|
+
activesupport (= 5.2.6)
|
30
|
+
rack (~> 2.0, >= 2.0.8)
|
31
|
+
rack-test (>= 0.6.3)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
34
|
+
actionview (5.2.6)
|
35
|
+
activesupport (= 5.2.6)
|
36
|
+
builder (~> 3.1)
|
37
|
+
erubi (~> 1.4)
|
38
|
+
rails-dom-testing (~> 2.0)
|
39
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
40
|
+
activejob (5.2.6)
|
41
|
+
activesupport (= 5.2.6)
|
42
|
+
globalid (>= 0.3.6)
|
43
|
+
activemodel (5.2.6)
|
44
|
+
activesupport (= 5.2.6)
|
45
|
+
activerecord (5.2.6)
|
46
|
+
activemodel (= 5.2.6)
|
47
|
+
activesupport (= 5.2.6)
|
48
|
+
arel (>= 9.0)
|
49
|
+
activestorage (5.2.6)
|
50
|
+
actionpack (= 5.2.6)
|
51
|
+
activerecord (= 5.2.6)
|
52
|
+
marcel (~> 1.0.0)
|
53
|
+
activesupport (5.2.6)
|
54
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
55
|
+
i18n (>= 0.7, < 2)
|
56
|
+
minitest (~> 5.1)
|
57
|
+
tzinfo (~> 1.1)
|
58
|
+
addressable (2.8.0)
|
59
|
+
public_suffix (>= 2.0.2, < 5.0)
|
60
|
+
after_transaction_commit (2.2.2)
|
61
|
+
activerecord (>= 5.2)
|
62
|
+
arel (9.0.0)
|
63
|
+
builder (3.2.4)
|
64
|
+
bump (0.10.0)
|
65
|
+
byebug (11.1.3)
|
66
|
+
coderay (1.1.3)
|
67
|
+
concurrent-ruby (1.1.9)
|
68
|
+
crack (0.4.5)
|
69
|
+
rexml
|
70
|
+
crass (1.0.6)
|
71
|
+
database_cleaner (2.0.1)
|
72
|
+
database_cleaner-active_record (~> 2.0.0)
|
73
|
+
database_cleaner-active_record (2.0.1)
|
74
|
+
activerecord (>= 5.a)
|
75
|
+
database_cleaner-core (~> 2.0.0)
|
76
|
+
database_cleaner-core (2.0.1)
|
77
|
+
debug_inspector (1.1.0)
|
78
|
+
deep_merge (1.2.1)
|
79
|
+
diff-lcs (1.4.4)
|
80
|
+
diplomat (2.5.1)
|
81
|
+
deep_merge (~> 1.2)
|
82
|
+
faraday (>= 0.9)
|
83
|
+
erubi (1.10.0)
|
84
|
+
et-orbi (1.2.4)
|
85
|
+
tzinfo
|
86
|
+
faraday (1.7.0)
|
87
|
+
faraday-em_http (~> 1.0)
|
88
|
+
faraday-em_synchrony (~> 1.0)
|
89
|
+
faraday-excon (~> 1.1)
|
90
|
+
faraday-httpclient (~> 1.0.1)
|
91
|
+
faraday-net_http (~> 1.0)
|
92
|
+
faraday-net_http_persistent (~> 1.1)
|
93
|
+
faraday-patron (~> 1.0)
|
94
|
+
faraday-rack (~> 1.0)
|
95
|
+
multipart-post (>= 1.2, < 3)
|
96
|
+
ruby2_keywords (>= 0.0.4)
|
97
|
+
faraday-em_http (1.0.0)
|
98
|
+
faraday-em_synchrony (1.0.0)
|
99
|
+
faraday-excon (1.1.0)
|
100
|
+
faraday-httpclient (1.0.1)
|
101
|
+
faraday-net_http (1.0.1)
|
102
|
+
faraday-net_http_persistent (1.2.0)
|
103
|
+
faraday-patron (1.0.0)
|
104
|
+
faraday-rack (1.0.0)
|
105
|
+
fugit (1.5.0)
|
106
|
+
et-orbi (~> 1.1, >= 1.1.8)
|
107
|
+
raabro (~> 1.4)
|
108
|
+
globalid (0.5.2)
|
109
|
+
activesupport (>= 5.0)
|
110
|
+
hashdiff (1.0.1)
|
111
|
+
i18n (1.8.10)
|
112
|
+
concurrent-ruby (~> 1.0)
|
113
|
+
loofah (2.12.0)
|
114
|
+
crass (~> 1.0.2)
|
115
|
+
nokogiri (>= 1.5.9)
|
116
|
+
mail (2.7.1)
|
117
|
+
mini_mime (>= 0.1.1)
|
118
|
+
marcel (1.0.1)
|
119
|
+
method_source (1.0.0)
|
120
|
+
mini_mime (1.1.0)
|
121
|
+
minitest (5.14.4)
|
122
|
+
multi_json (1.15.0)
|
123
|
+
multipart-post (2.1.1)
|
124
|
+
mustermann (1.1.1)
|
125
|
+
ruby2_keywords (~> 0.0.1)
|
126
|
+
nio4r (2.5.8)
|
127
|
+
nokogiri (1.12.3-x86_64-darwin)
|
128
|
+
racc (~> 1.4)
|
129
|
+
pg (1.2.3)
|
130
|
+
pry (0.14.1)
|
131
|
+
coderay (~> 1.1)
|
132
|
+
method_source (~> 1.0)
|
133
|
+
public_suffix (4.0.6)
|
134
|
+
raabro (1.4.0)
|
135
|
+
racc (1.5.2)
|
136
|
+
rack (2.2.3)
|
137
|
+
rack-protection (2.1.0)
|
138
|
+
rack
|
139
|
+
rack-test (1.1.0)
|
140
|
+
rack (>= 1.0, < 3)
|
141
|
+
rails (5.2.6)
|
142
|
+
actioncable (= 5.2.6)
|
143
|
+
actionmailer (= 5.2.6)
|
144
|
+
actionpack (= 5.2.6)
|
145
|
+
actionview (= 5.2.6)
|
146
|
+
activejob (= 5.2.6)
|
147
|
+
activemodel (= 5.2.6)
|
148
|
+
activerecord (= 5.2.6)
|
149
|
+
activestorage (= 5.2.6)
|
150
|
+
activesupport (= 5.2.6)
|
151
|
+
bundler (>= 1.3.0)
|
152
|
+
railties (= 5.2.6)
|
153
|
+
sprockets-rails (>= 2.0.0)
|
154
|
+
rails-dom-testing (2.0.3)
|
155
|
+
activesupport (>= 4.2.0)
|
156
|
+
nokogiri (>= 1.6)
|
157
|
+
rails-html-sanitizer (1.3.0)
|
158
|
+
loofah (~> 2.3)
|
159
|
+
railties (5.2.6)
|
160
|
+
actionpack (= 5.2.6)
|
161
|
+
activesupport (= 5.2.6)
|
162
|
+
method_source
|
163
|
+
rake (>= 0.8.7)
|
164
|
+
thor (>= 0.19.0, < 2.0)
|
165
|
+
rake (13.0.6)
|
166
|
+
redis (4.4.0)
|
167
|
+
redis-scripting (1.0.1)
|
168
|
+
redis (>= 3.0)
|
169
|
+
rexml (3.2.5)
|
170
|
+
rspec (3.10.0)
|
171
|
+
rspec-core (~> 3.10.0)
|
172
|
+
rspec-expectations (~> 3.10.0)
|
173
|
+
rspec-mocks (~> 3.10.0)
|
174
|
+
rspec-core (3.10.1)
|
175
|
+
rspec-support (~> 3.10.0)
|
176
|
+
rspec-expectations (3.10.1)
|
177
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
178
|
+
rspec-support (~> 3.10.0)
|
179
|
+
rspec-mocks (3.10.2)
|
180
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
181
|
+
rspec-support (~> 3.10.0)
|
182
|
+
rspec-support (3.10.2)
|
183
|
+
ruby2_keywords (0.0.5)
|
184
|
+
sinatra (2.1.0)
|
185
|
+
mustermann (~> 1.0)
|
186
|
+
rack (~> 2.2)
|
187
|
+
rack-protection (= 2.1.0)
|
188
|
+
tilt (~> 2.0)
|
189
|
+
sinatra-contrib (2.1.0)
|
190
|
+
multi_json
|
191
|
+
mustermann (~> 1.0)
|
192
|
+
rack-protection (= 2.1.0)
|
193
|
+
sinatra (= 2.1.0)
|
194
|
+
tilt (~> 2.0)
|
195
|
+
sprockets (4.0.2)
|
196
|
+
concurrent-ruby (~> 1.0)
|
197
|
+
rack (> 1, < 3)
|
198
|
+
sprockets-rails (3.2.2)
|
199
|
+
actionpack (>= 4.0)
|
200
|
+
activesupport (>= 4.0)
|
201
|
+
sprockets (>= 3.0.0)
|
202
|
+
thor (1.1.0)
|
203
|
+
thread_safe (0.3.6)
|
204
|
+
tilt (2.0.10)
|
205
|
+
timecop (0.9.4)
|
206
|
+
tzinfo (1.2.9)
|
207
|
+
thread_safe (~> 0.1)
|
208
|
+
webmock (3.14.0)
|
209
|
+
addressable (>= 2.8.0)
|
210
|
+
crack (>= 0.3.2)
|
211
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
212
|
+
websocket-driver (0.7.5)
|
213
|
+
websocket-extensions (>= 0.1.0)
|
214
|
+
websocket-extensions (0.1.5)
|
215
|
+
wwtd (1.4.1)
|
216
|
+
|
217
|
+
PLATFORMS
|
218
|
+
x86_64-darwin-20
|
219
|
+
|
220
|
+
DEPENDENCIES
|
221
|
+
bump
|
222
|
+
byebug
|
223
|
+
database_cleaner (~> 2.0)
|
224
|
+
database_cleaner-active_record (~> 2.0)
|
225
|
+
diplomat (~> 2.5.1)
|
226
|
+
inst-jobs!
|
227
|
+
pg
|
228
|
+
pry
|
229
|
+
rack-test
|
230
|
+
rails (~> 5.2.0)
|
231
|
+
rake
|
232
|
+
rspec (~> 3.10)
|
233
|
+
sinatra (~> 2.0)
|
234
|
+
sinatra-contrib (~> 2.0)
|
235
|
+
timecop (= 0.9.4)
|
236
|
+
webmock
|
237
|
+
wwtd (~> 1.4.0)
|
238
|
+
|
239
|
+
BUNDLED WITH
|
240
|
+
2.2.24
|
data/spec/gemfiles/60.gemfile
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
source "https://rubygems.org"
|
2
4
|
|
3
|
-
gemspec :
|
5
|
+
gemspec path: "../../"
|
4
6
|
|
5
7
|
gem "rails", "~> 6.0.0"
|
6
|
-
gem
|
7
|
-
gem
|
8
|
+
gem "sinatra", "~> 2.0"
|
9
|
+
gem "sinatra-contrib", "~> 2.0"
|
@@ -0,0 +1,246 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
inst-jobs (2.3.3)
|
5
|
+
activerecord (>= 5.2)
|
6
|
+
activesupport (>= 5.2)
|
7
|
+
after_transaction_commit (>= 1.0, < 3)
|
8
|
+
debug_inspector (~> 1.0)
|
9
|
+
fugit (~> 1.3)
|
10
|
+
railties (>= 5.2)
|
11
|
+
redis (> 3.0)
|
12
|
+
redis-scripting (~> 1.0.1)
|
13
|
+
|
14
|
+
GEM
|
15
|
+
remote: https://rubygems.org/
|
16
|
+
specs:
|
17
|
+
actioncable (6.0.3.7)
|
18
|
+
actionpack (= 6.0.3.7)
|
19
|
+
nio4r (~> 2.0)
|
20
|
+
websocket-driver (>= 0.6.1)
|
21
|
+
actionmailbox (6.0.3.7)
|
22
|
+
actionpack (= 6.0.3.7)
|
23
|
+
activejob (= 6.0.3.7)
|
24
|
+
activerecord (= 6.0.3.7)
|
25
|
+
activestorage (= 6.0.3.7)
|
26
|
+
activesupport (= 6.0.3.7)
|
27
|
+
mail (>= 2.7.1)
|
28
|
+
actionmailer (6.0.3.7)
|
29
|
+
actionpack (= 6.0.3.7)
|
30
|
+
actionview (= 6.0.3.7)
|
31
|
+
activejob (= 6.0.3.7)
|
32
|
+
mail (~> 2.5, >= 2.5.4)
|
33
|
+
rails-dom-testing (~> 2.0)
|
34
|
+
actionpack (6.0.3.7)
|
35
|
+
actionview (= 6.0.3.7)
|
36
|
+
activesupport (= 6.0.3.7)
|
37
|
+
rack (~> 2.0, >= 2.0.8)
|
38
|
+
rack-test (>= 0.6.3)
|
39
|
+
rails-dom-testing (~> 2.0)
|
40
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
41
|
+
actiontext (6.0.3.7)
|
42
|
+
actionpack (= 6.0.3.7)
|
43
|
+
activerecord (= 6.0.3.7)
|
44
|
+
activestorage (= 6.0.3.7)
|
45
|
+
activesupport (= 6.0.3.7)
|
46
|
+
nokogiri (>= 1.8.5)
|
47
|
+
actionview (6.0.3.7)
|
48
|
+
activesupport (= 6.0.3.7)
|
49
|
+
builder (~> 3.1)
|
50
|
+
erubi (~> 1.4)
|
51
|
+
rails-dom-testing (~> 2.0)
|
52
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
53
|
+
activejob (6.0.3.7)
|
54
|
+
activesupport (= 6.0.3.7)
|
55
|
+
globalid (>= 0.3.6)
|
56
|
+
activemodel (6.0.3.7)
|
57
|
+
activesupport (= 6.0.3.7)
|
58
|
+
activerecord (6.0.3.7)
|
59
|
+
activemodel (= 6.0.3.7)
|
60
|
+
activesupport (= 6.0.3.7)
|
61
|
+
activestorage (6.0.3.7)
|
62
|
+
actionpack (= 6.0.3.7)
|
63
|
+
activejob (= 6.0.3.7)
|
64
|
+
activerecord (= 6.0.3.7)
|
65
|
+
marcel (~> 1.0.0)
|
66
|
+
activesupport (6.0.3.7)
|
67
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
68
|
+
i18n (>= 0.7, < 2)
|
69
|
+
minitest (~> 5.1)
|
70
|
+
tzinfo (~> 1.1)
|
71
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
72
|
+
addressable (2.7.0)
|
73
|
+
public_suffix (>= 2.0.2, < 5.0)
|
74
|
+
after_transaction_commit (2.2.2)
|
75
|
+
activerecord (>= 5.2)
|
76
|
+
builder (3.2.4)
|
77
|
+
bump (0.10.0)
|
78
|
+
byebug (11.1.3)
|
79
|
+
coderay (1.1.3)
|
80
|
+
concurrent-ruby (1.1.9)
|
81
|
+
crack (0.4.5)
|
82
|
+
rexml
|
83
|
+
crass (1.0.6)
|
84
|
+
database_cleaner (2.0.1)
|
85
|
+
database_cleaner-active_record (~> 2.0.0)
|
86
|
+
database_cleaner-active_record (2.0.0)
|
87
|
+
activerecord (>= 5.a)
|
88
|
+
database_cleaner-core (~> 2.0.0)
|
89
|
+
database_cleaner-core (2.0.1)
|
90
|
+
debug_inspector (1.1.0)
|
91
|
+
deep_merge (1.2.1)
|
92
|
+
diff-lcs (1.4.4)
|
93
|
+
diplomat (2.5.1)
|
94
|
+
deep_merge (~> 1.2)
|
95
|
+
faraday (>= 0.9)
|
96
|
+
erubi (1.10.0)
|
97
|
+
et-orbi (1.2.4)
|
98
|
+
tzinfo
|
99
|
+
faraday (1.4.1)
|
100
|
+
faraday-excon (~> 1.1)
|
101
|
+
faraday-net_http (~> 1.0)
|
102
|
+
faraday-net_http_persistent (~> 1.1)
|
103
|
+
multipart-post (>= 1.2, < 3)
|
104
|
+
ruby2_keywords (>= 0.0.4)
|
105
|
+
faraday-excon (1.1.0)
|
106
|
+
faraday-net_http (1.0.1)
|
107
|
+
faraday-net_http_persistent (1.1.0)
|
108
|
+
fugit (1.4.5)
|
109
|
+
et-orbi (~> 1.1, >= 1.1.8)
|
110
|
+
raabro (~> 1.4)
|
111
|
+
globalid (0.4.2)
|
112
|
+
activesupport (>= 4.2.0)
|
113
|
+
hashdiff (1.0.1)
|
114
|
+
i18n (1.8.10)
|
115
|
+
concurrent-ruby (~> 1.0)
|
116
|
+
loofah (2.10.0)
|
117
|
+
crass (~> 1.0.2)
|
118
|
+
nokogiri (>= 1.5.9)
|
119
|
+
mail (2.7.1)
|
120
|
+
mini_mime (>= 0.1.1)
|
121
|
+
marcel (1.0.1)
|
122
|
+
method_source (1.0.0)
|
123
|
+
mini_mime (1.1.0)
|
124
|
+
minitest (5.14.4)
|
125
|
+
multi_json (1.15.0)
|
126
|
+
multipart-post (2.1.1)
|
127
|
+
mustermann (1.1.1)
|
128
|
+
ruby2_keywords (~> 0.0.1)
|
129
|
+
nio4r (2.5.7)
|
130
|
+
nokogiri (1.11.7-x86_64-darwin)
|
131
|
+
racc (~> 1.4)
|
132
|
+
pg (1.2.3)
|
133
|
+
pry (0.14.1)
|
134
|
+
coderay (~> 1.1)
|
135
|
+
method_source (~> 1.0)
|
136
|
+
public_suffix (4.0.6)
|
137
|
+
raabro (1.4.0)
|
138
|
+
racc (1.5.2)
|
139
|
+
rack (2.2.3)
|
140
|
+
rack-protection (2.1.0)
|
141
|
+
rack
|
142
|
+
rack-test (1.1.0)
|
143
|
+
rack (>= 1.0, < 3)
|
144
|
+
rails (6.0.3.7)
|
145
|
+
actioncable (= 6.0.3.7)
|
146
|
+
actionmailbox (= 6.0.3.7)
|
147
|
+
actionmailer (= 6.0.3.7)
|
148
|
+
actionpack (= 6.0.3.7)
|
149
|
+
actiontext (= 6.0.3.7)
|
150
|
+
actionview (= 6.0.3.7)
|
151
|
+
activejob (= 6.0.3.7)
|
152
|
+
activemodel (= 6.0.3.7)
|
153
|
+
activerecord (= 6.0.3.7)
|
154
|
+
activestorage (= 6.0.3.7)
|
155
|
+
activesupport (= 6.0.3.7)
|
156
|
+
bundler (>= 1.3.0)
|
157
|
+
railties (= 6.0.3.7)
|
158
|
+
sprockets-rails (>= 2.0.0)
|
159
|
+
rails-dom-testing (2.0.3)
|
160
|
+
activesupport (>= 4.2.0)
|
161
|
+
nokogiri (>= 1.6)
|
162
|
+
rails-html-sanitizer (1.3.0)
|
163
|
+
loofah (~> 2.3)
|
164
|
+
railties (6.0.3.7)
|
165
|
+
actionpack (= 6.0.3.7)
|
166
|
+
activesupport (= 6.0.3.7)
|
167
|
+
method_source
|
168
|
+
rake (>= 0.8.7)
|
169
|
+
thor (>= 0.20.3, < 2.0)
|
170
|
+
rake (13.0.3)
|
171
|
+
redis (4.2.5)
|
172
|
+
redis-scripting (1.0.1)
|
173
|
+
redis (>= 3.0)
|
174
|
+
rexml (3.2.5)
|
175
|
+
rspec (3.10.0)
|
176
|
+
rspec-core (~> 3.10.0)
|
177
|
+
rspec-expectations (~> 3.10.0)
|
178
|
+
rspec-mocks (~> 3.10.0)
|
179
|
+
rspec-core (3.10.1)
|
180
|
+
rspec-support (~> 3.10.0)
|
181
|
+
rspec-expectations (3.10.1)
|
182
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
183
|
+
rspec-support (~> 3.10.0)
|
184
|
+
rspec-mocks (3.10.2)
|
185
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
186
|
+
rspec-support (~> 3.10.0)
|
187
|
+
rspec-support (3.10.2)
|
188
|
+
ruby2_keywords (0.0.4)
|
189
|
+
sinatra (2.1.0)
|
190
|
+
mustermann (~> 1.0)
|
191
|
+
rack (~> 2.2)
|
192
|
+
rack-protection (= 2.1.0)
|
193
|
+
tilt (~> 2.0)
|
194
|
+
sinatra-contrib (2.1.0)
|
195
|
+
multi_json
|
196
|
+
mustermann (~> 1.0)
|
197
|
+
rack-protection (= 2.1.0)
|
198
|
+
sinatra (= 2.1.0)
|
199
|
+
tilt (~> 2.0)
|
200
|
+
sprockets (4.0.2)
|
201
|
+
concurrent-ruby (~> 1.0)
|
202
|
+
rack (> 1, < 3)
|
203
|
+
sprockets-rails (3.2.2)
|
204
|
+
actionpack (>= 4.0)
|
205
|
+
activesupport (>= 4.0)
|
206
|
+
sprockets (>= 3.0.0)
|
207
|
+
thor (1.1.0)
|
208
|
+
thread_safe (0.3.6)
|
209
|
+
tilt (2.0.10)
|
210
|
+
timecop (0.9.4)
|
211
|
+
tzinfo (1.2.9)
|
212
|
+
thread_safe (~> 0.1)
|
213
|
+
webmock (3.13.0)
|
214
|
+
addressable (>= 2.3.6)
|
215
|
+
crack (>= 0.3.2)
|
216
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
217
|
+
websocket-driver (0.7.5)
|
218
|
+
websocket-extensions (>= 0.1.0)
|
219
|
+
websocket-extensions (0.1.5)
|
220
|
+
wwtd (1.4.1)
|
221
|
+
zeitwerk (2.4.2)
|
222
|
+
|
223
|
+
PLATFORMS
|
224
|
+
x86_64-darwin-20
|
225
|
+
|
226
|
+
DEPENDENCIES
|
227
|
+
bump
|
228
|
+
byebug
|
229
|
+
database_cleaner (~> 2.0)
|
230
|
+
database_cleaner-active_record (~> 2.0)
|
231
|
+
diplomat (~> 2.5.1)
|
232
|
+
inst-jobs!
|
233
|
+
pg
|
234
|
+
pry
|
235
|
+
rack-test
|
236
|
+
rails (~> 6.0.0)
|
237
|
+
rake
|
238
|
+
rspec (~> 3.10)
|
239
|
+
sinatra (~> 2.0)
|
240
|
+
sinatra-contrib (~> 2.0)
|
241
|
+
timecop (= 0.9.4)
|
242
|
+
webmock
|
243
|
+
wwtd (~> 1.4.0)
|
244
|
+
|
245
|
+
BUNDLED WITH
|
246
|
+
2.2.17
|