Skip to content

Commit 806c68c

Browse files
author
Brent Cook
committed
Land rapid7#8732, bump rb-readline and dnsruby to fix upstream bugs
2 parents 9775df1 + d77e9ac commit 806c68c

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ source 'https://rubygems.org'
33
# spec.add_runtime_dependency '<name>', [<version requirements>]
44
gemspec name: 'metasploit-framework'
55

6+
# These pull in pre-release gems in order to fix specific issues.
7+
# XXX https://github.com/alexdalitz/dnsruby/pull/134
8+
gem 'dnsruby', git: 'https://github.com/alexdalitz/dnsruby'
9+
# XXX https://github.com/ConnorAtherton/rb-readline/commit/fd882edcd145c26681f9971be5f6675c7f6d1970
10+
gem 'rb-readline', git: 'https://github.com/ConnorAtherton/rb-readline'
11+
612
# separate from test as simplecov is not run on travis-ci
713
group :coverage do
814
# code coverage for tests

Gemfile.lock

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
GIT
2+
remote: https://github.com/ConnorAtherton/rb-readline
3+
revision: fd882edcd145c26681f9971be5f6675c7f6d1970
4+
specs:
5+
rb-readline (0.5.4)
6+
7+
GIT
8+
remote: https://github.com/alexdalitz/dnsruby
9+
revision: 09c3890ccfaedb7fd4951f56575d5c53651e0140
10+
specs:
11+
dnsruby (1.60.1)
12+
113
PATH
214
remote: .
315
specs:
@@ -109,7 +121,6 @@ GEM
109121
builder (3.2.3)
110122
coderay (1.1.1)
111123
diff-lcs (1.3)
112-
dnsruby (1.60.1)
113124
docile (1.1.5)
114125
erubis (2.7.0)
115126
factory_girl (4.8.0)
@@ -234,7 +245,6 @@ GEM
234245
rake (>= 0.8.7)
235246
thor (>= 0.18.1, < 2.0)
236247
rake (12.0.0)
237-
rb-readline (0.5.4)
238248
recog (2.1.11)
239249
nokogiri
240250
redcarpet (3.4.0)
@@ -350,13 +360,15 @@ PLATFORMS
350360
ruby
351361

352362
DEPENDENCIES
363+
dnsruby!
353364
factory_girl_rails
354365
fivemat
355366
metasploit-aggregator
356367
metasploit-framework!
357368
octokit
358369
pry
359370
rake
371+
rb-readline!
360372
redcarpet
361373
rspec-rails
362374
rspec-rerun

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ RUN apk update && \
2424
bison \
2525
build-base \
2626
ruby-dev \
27-
libffi-dev\
2827
openssl-dev \
2928
readline-dev \
3029
sqlite-dev \
@@ -35,6 +34,7 @@ RUN apk update && \
3534
yaml-dev \
3635
zlib-dev \
3736
ncurses-dev \
37+
git \
3838
&& echo "gem: --no-ri --no-rdoc" > /etc/gemrc \
3939
&& bundle install --system $BUNDLER_ARGS \
4040
&& apk del .ruby-builddeps \

0 commit comments

Comments
 (0)