Skip to content

Commit 6e3c901

Browse files
committed
Prefer foobara gem from rubygems
1 parent e0d6401 commit 6e3c901

File tree

4 files changed

+66
-102
lines changed

4 files changed

+66
-102
lines changed

Gemfile

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,13 @@ ruby File.read("#{__dir__}/.ruby-version")
33

44
gemspec
55

6-
# TODO: move this to .gemspec
7-
gem "foobara", git: "foobara", branch: "main"
8-
gem "foobara-util", github: "foobara/util"
9-
# If uncommenting the following for local development, you need to run: bundle config set local.foobara-util ../util
10-
# gem "foobara-util", git: "foobara-util"
11-
126
# Development dependencies go here
13-
gem "foobara-dotenv-loader", github: "foobara/dotenv-loader"
7+
gem "foobara-dotenv-loader"
148
# gem "foobara-dotenv-loader", path: "../dotenv-loader"
159
gem "foobara-resque-connector", github: "foobara/resque-connector"
1610
# gem "foobara-resque-connector", path: "../resque-connector"
17-
gem "foobara-rubocop-rules", github: "foobara/rubocop-rules"
18-
gem "foobara-spec-helpers", github: "foobara/spec-helpers"
11+
gem "foobara-rubocop-rules"
12+
gem "foobara-spec-helpers"
1913
gem "guard-rspec"
2014
gem "pry"
2115
gem "pry-byebug"

Gemfile.lock

Lines changed: 60 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,16 @@
1-
GIT
2-
remote: foobara
3-
revision: 692971ed7f8b3aad4071c8933e721088a786f248
4-
branch: main
5-
specs:
6-
foobara (0.0.1)
7-
8-
GIT
9-
remote: https://github.com/foobara/dotenv-loader.git
10-
revision: 15bd91f9f7b2793c1766584e8661c87a5c81085d
11-
specs:
12-
foobara-dotenv-loader (0.1.0)
13-
dotenv
14-
151
GIT
162
remote: https://github.com/foobara/resque-connector.git
17-
revision: 02f93505d3edb814545d63af926e6d7abf2b9ad6
3+
revision: 67ff0b413d5c04ebfcfc757106d1449676139841
184
specs:
195
foobara-resque-connector (0.1.0)
6+
foobara
207
resque
218

22-
GIT
23-
remote: https://github.com/foobara/rubocop-rules.git
24-
revision: ea100ea86b708a441ef66ce0861dc72237316f2a
25-
specs:
26-
foobara-rubocop-rules (0.0.1)
27-
rubocop
28-
rubocop-rspec
29-
30-
GIT
31-
remote: https://github.com/foobara/spec-helpers.git
32-
revision: e4ecc7b01a73b08dc12bd7422162a6afb0abec89
33-
specs:
34-
foobara-spec-helpers (0.1.0)
35-
36-
GIT
37-
remote: https://github.com/foobara/util.git
38-
revision: b2e2e9c04d866b26c21b6e223bc359c76fcea0f8
39-
specs:
40-
foobara-util (0.1.0)
41-
429
PATH
4310
remote: .
4411
specs:
4512
foobara-resque-scheduler-connector (0.1.0)
13+
foobara
4614
resque-scheduler
4715

4816
GEM
@@ -52,17 +20,27 @@ GEM
5220
base64 (0.2.0)
5321
byebug (11.1.3)
5422
coderay (1.1.3)
55-
concurrent-ruby (1.2.3)
23+
concurrent-ruby (1.3.4)
5624
connection_pool (2.4.1)
5725
diff-lcs (1.5.1)
58-
docile (1.4.0)
59-
dotenv (2.8.1)
60-
et-orbi (1.2.7)
26+
docile (1.4.1)
27+
dotenv (3.1.2)
28+
et-orbi (1.2.11)
6129
tzinfo
62-
ffi (1.16.3)
30+
ffi (1.17.0-x86_64-linux-gnu)
31+
foobara (0.0.8)
32+
foobara-util
33+
foobara-dotenv-loader (0.0.1)
34+
dotenv
35+
foobara-rubocop-rules (0.0.4)
36+
rubocop
37+
rubocop-rspec
38+
foobara-spec-helpers (0.0.3)
39+
foobara-util
40+
foobara-util (0.0.4)
6341
formatador (1.1.0)
64-
fugit (1.9.0)
65-
et-orbi (~> 1, >= 1.2.7)
42+
fugit (1.11.1)
43+
et-orbi (~> 1, >= 1.2.11)
6644
raabro (~> 1.4)
6745
guard (2.18.1)
6846
formatador (>= 0.2.4)
@@ -78,23 +56,23 @@ GEM
7856
guard (~> 2.1)
7957
guard-compat (~> 1.1)
8058
rspec (>= 2.99.0, < 4.0)
81-
json (2.7.1)
59+
json (2.7.2)
8260
language_server-protocol (3.17.0.3)
83-
listen (3.8.0)
61+
listen (3.9.0)
8462
rb-fsevent (~> 0.10, >= 0.10.3)
8563
rb-inotify (~> 0.9, >= 0.9.10)
8664
lumberjack (1.2.10)
87-
method_source (1.0.0)
65+
method_source (1.1.0)
8866
mono_logger (1.1.2)
8967
multi_json (1.15.0)
90-
mustermann (3.0.0)
68+
mustermann (3.0.3)
9169
ruby2_keywords (~> 0.0.1)
9270
nenv (0.3.0)
9371
notiffany (0.1.3)
9472
nenv (~> 0.1)
9573
shellany (~> 0.0)
96-
parallel (1.24.0)
97-
parser (3.3.0.5)
74+
parallel (1.26.3)
75+
parser (3.3.5.0)
9876
ast (~> 2.4.1)
9977
racc
10078
pry (0.14.2)
@@ -104,25 +82,25 @@ GEM
10482
byebug (~> 11.0)
10583
pry (>= 0.13, < 0.15)
10684
raabro (1.4.0)
107-
racc (1.7.3)
108-
rack (3.0.9)
85+
racc (1.8.1)
86+
rack (3.1.7)
10987
rack-protection (4.0.0)
11088
base64 (>= 0.1.0)
11189
rack (>= 3.0.0, < 4)
11290
rack-session (2.0.0)
11391
rack (>= 3.0.0)
11492
rainbow (3.1.1)
115-
rake (13.1.0)
93+
rake (13.2.1)
11694
rb-fsevent (0.11.2)
117-
rb-inotify (0.10.1)
95+
rb-inotify (0.11.1)
11896
ffi (~> 1.0)
119-
redis (5.1.0)
120-
redis-client (>= 0.17.0)
121-
redis-client (0.20.0)
97+
redis (5.3.0)
98+
redis-client (>= 0.22.0)
99+
redis-client (0.22.2)
122100
connection_pool
123101
redis-namespace (1.11.0)
124102
redis (>= 4)
125-
regexp_parser (2.9.0)
103+
regexp_parser (2.9.2)
126104
resque (2.6.0)
127105
mono_logger (~> 1.0)
128106
multi_json (~> 1.0)
@@ -133,65 +111,57 @@ GEM
133111
redis (>= 3.3)
134112
resque (>= 1.27)
135113
rufus-scheduler (~> 3.2, != 3.3)
136-
rexml (3.2.6)
137-
rspec (3.12.0)
138-
rspec-core (~> 3.12.0)
139-
rspec-expectations (~> 3.12.0)
140-
rspec-mocks (~> 3.12.0)
141-
rspec-core (3.12.2)
142-
rspec-support (~> 3.12.0)
143-
rspec-expectations (3.12.3)
114+
rspec (3.13.0)
115+
rspec-core (~> 3.13.0)
116+
rspec-expectations (~> 3.13.0)
117+
rspec-mocks (~> 3.13.0)
118+
rspec-core (3.13.1)
119+
rspec-support (~> 3.13.0)
120+
rspec-expectations (3.13.3)
144121
diff-lcs (>= 1.2.0, < 2.0)
145-
rspec-support (~> 3.12.0)
122+
rspec-support (~> 3.13.0)
146123
rspec-its (1.3.0)
147124
rspec-core (>= 3.0.0)
148125
rspec-expectations (>= 3.0.0)
149-
rspec-mocks (3.12.6)
126+
rspec-mocks (3.13.1)
150127
diff-lcs (>= 1.2.0, < 2.0)
151-
rspec-support (~> 3.12.0)
152-
rspec-support (3.12.1)
153-
rubocop (1.60.2)
128+
rspec-support (~> 3.13.0)
129+
rspec-support (3.13.1)
130+
rubocop (1.66.1)
154131
json (~> 2.3)
155132
language_server-protocol (>= 3.17.0)
156133
parallel (~> 1.10)
157134
parser (>= 3.3.0.2)
158135
rainbow (>= 2.2.2, < 4.0)
159-
regexp_parser (>= 1.8, < 3.0)
160-
rexml (>= 3.2.5, < 4.0)
161-
rubocop-ast (>= 1.30.0, < 2.0)
136+
regexp_parser (>= 2.4, < 3.0)
137+
rubocop-ast (>= 1.32.2, < 2.0)
162138
ruby-progressbar (~> 1.7)
163139
unicode-display_width (>= 2.4.0, < 3.0)
164-
rubocop-ast (1.30.0)
165-
parser (>= 3.2.1.0)
166-
rubocop-capybara (2.20.0)
167-
rubocop (~> 1.41)
168-
rubocop-factory_bot (2.25.1)
169-
rubocop (~> 1.41)
140+
rubocop-ast (1.32.3)
141+
parser (>= 3.3.1.0)
170142
rubocop-rake (0.6.0)
171143
rubocop (~> 1.0)
172-
rubocop-rspec (2.26.1)
173-
rubocop (~> 1.40)
174-
rubocop-capybara (~> 2.17)
175-
rubocop-factory_bot (~> 2.22)
144+
rubocop-rspec (3.0.5)
145+
rubocop (~> 1.61)
176146
ruby-progressbar (1.13.0)
177147
ruby2_keywords (0.0.5)
178-
rufus-scheduler (3.9.1)
179-
fugit (~> 1.1, >= 1.1.6)
148+
rufus-scheduler (3.9.2)
149+
fugit (~> 1.1, >= 1.11.1)
180150
shellany (0.0.1)
181151
simplecov (0.22.0)
182152
docile (~> 1.1)
183153
simplecov-html (~> 0.11)
184154
simplecov_json_formatter (~> 0.1)
185-
simplecov-html (0.12.3)
155+
simplecov-html (0.13.1)
186156
simplecov_json_formatter (0.1.4)
187157
sinatra (4.0.0)
188158
mustermann (~> 3.0)
189159
rack (>= 3.0.0, < 4)
190160
rack-protection (= 4.0.0)
191161
rack-session (>= 2.0.0, < 3)
192162
tilt (~> 2.0)
193-
thor (1.3.0)
194-
tilt (2.3.0)
163+
thor (1.3.2)
164+
tilt (2.4.0)
195165
tzinfo (2.0.6)
196166
concurrent-ruby (~> 1.0)
197167
unicode-display_width (2.5.0)
@@ -200,13 +170,11 @@ PLATFORMS
200170
x86_64-linux
201171

202172
DEPENDENCIES
203-
foobara!
204-
foobara-dotenv-loader!
173+
foobara-dotenv-loader
205174
foobara-resque-connector!
206175
foobara-resque-scheduler-connector!
207-
foobara-rubocop-rules!
208-
foobara-spec-helpers!
209-
foobara-util!
176+
foobara-rubocop-rules
177+
foobara-spec-helpers
210178
guard-rspec
211179
pry
212180
pry-byebug

foobara-resque-scheduler-connector.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ Gem::Specification.new do |spec|
2323

2424
spec.add_dependency "resque-scheduler"
2525

26+
spec.add_dependency "foobara"
27+
2628
spec.require_paths = ["lib"]
2729
spec.metadata["rubygems_mfa_required"] = "true"
2830
end

src/resque_scheduler_connector.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def connect(registerable, ...)
4343
end.compact
4444
end
4545

46-
exposed_commands = super(registerable, ...)
46+
exposed_commands = super
4747

4848
Util.array(exposed_commands).each do |exposed_command|
4949
command_name = "#{exposed_command.full_command_name}AsyncAt"

0 commit comments

Comments
 (0)