Skip to content

Commit

Permalink
Merge pull request #165 from pact-foundation/deps/ruby_3_2_3
Browse files Browse the repository at this point in the history
chore: sucker_punch 3.x (revert git pin) + bundler 2.4.22
  • Loading branch information
YOU54F authored Feb 5, 2024
2 parents 96785dc + b92e027 commit fa30a38
Show file tree
Hide file tree
Showing 7 changed files with 130 additions and 141 deletions.
6 changes: 3 additions & 3 deletions Dockerfile-bundle-base
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7.8-alpine3.16
FROM ruby:3.2.3-alpine3.19

# Installation path
ENV HOME=/pact_broker
Expand All @@ -8,8 +8,8 @@ WORKDIR $HOME
RUN set -ex && \
adduser -h $HOME -s /bin/false -D -S -G root ruby && \
chmod g+w $HOME && \
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev
apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev git

RUN gem install bundler -v 2.4.7
RUN gem install bundler -v 2.4.22
COPY pact_broker/Gemfile pact_broker/Gemfile.lock $HOME/
RUN bundle install --no-cache
6 changes: 3 additions & 3 deletions Dockerfile-package-base
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM ruby:2.7.8-alpine3.16
FROM ruby:3.2.3-alpine3.19

# Installation path
ENV HOME=/app
WORKDIR $HOME

RUN apk add --update --no-cache git
RUN gem install bundler -v 2.4.7
RUN apk add --update --no-cache make gcc libc-dev mariadb-dev postgresql-dev sqlite-dev git
RUN gem install bundler -v 2.4.22

COPY Rakefile $HOME/
COPY Gemfile Gemfile.lock $HOME/
Expand Down
225 changes: 112 additions & 113 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,185 +12,185 @@ GIT
specs:
conventional-changelog (1.3.0)

GIT
remote: https://github.com/pact-foundation/sucker_punch.git
revision: 573ff03c5f689568efbb733ed2997728f0098d5a
ref: fix/rename-is-singleton-class-method-2
specs:
sucker_punch (2.1.2)
concurrent-ruby (~> 1.0)

GEM
remote: https://rubygems.org/
specs:
anyway_config (2.3.1)
ruby-next-core (>= 0.14.0)
anyway_config (2.6.2)
ruby-next-core (~> 1.0)
as-notifications (1.0.2)
awesome_print (1.9.2)
concurrent-ruby (1.2.0)
base64 (0.2.0)
bigdecimal (3.1.6)
concurrent-ruby (1.2.3)
crass (1.0.6)
declarative (0.0.20)
declarative-builder (0.1.0)
declarative-option (< 0.2.0)
declarative-option (0.1.0)
diff-lcs (1.5.0)
disposable (0.4.7)
diff-lcs (1.5.1)
disposable (0.6.3)
declarative (>= 0.0.9, < 1.0.0)
declarative-builder (< 0.2.0)
declarative-option (< 0.2.0)
representable (>= 2.4.0, <= 3.1.0)
uber (< 0.2.0)
dry-configurable (0.12.1)
representable (>= 3.1.1, < 4)
dry-configurable (1.1.0)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-core (1.0.1)
concurrent-ruby (~> 1.0)
dry-core (~> 0.5, >= 0.5.0)
dry-container (0.8.0)
zeitwerk (~> 2.6)
dry-inflector (1.0.0)
dry-initializer (3.1.1)
dry-logic (1.5.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (0.9.1)
dry-core (~> 1.0, < 2)
zeitwerk (~> 2.6)
dry-schema (1.13.3)
concurrent-ruby (~> 1.0)
dry-configurable (~> 1.0, >= 1.0.1)
dry-core (~> 1.0, < 2)
dry-initializer (~> 3.0)
dry-logic (>= 1.4, < 2)
dry-types (>= 1.7, < 2)
zeitwerk (~> 2.6)
dry-equalizer (0.3.0)
dry-logic (0.4.2)
dry-container (~> 0.2, >= 0.2.6)
dry-core (~> 0.2)
dry-equalizer (~> 0.2)
dry-types (0.10.3)
dry-types (1.7.2)
bigdecimal (~> 3.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1)
dry-container (~> 0.3)
dry-core (~> 0.2, >= 0.2.1)
dry-equalizer (~> 0.2)
dry-logic (~> 0.4, >= 0.4.0)
inflecto (~> 0.0.0, >= 0.0.2)
dry-validation (0.10.7)
dry-core (~> 1.0)
dry-inflector (~> 1.0)
dry-logic (~> 1.4)
zeitwerk (~> 2.6)
dry-validation (1.10.0)
concurrent-ruby (~> 1.0)
dry-configurable (~> 0.1, >= 0.1.3)
dry-core (~> 0.2, >= 0.2.1)
dry-equalizer (~> 0.2)
dry-logic (~> 0.4, >= 0.4.0)
dry-types (~> 0.9, >= 0.9.0)
dry-core (~> 1.0, < 2)
dry-initializer (~> 3.0)
dry-schema (>= 1.12, < 2)
zeitwerk (~> 2.6)
expgen (0.1.1)
parslet
haml (5.2.2)
temple (>= 0.8.0)
tilt
i18n (1.12.0)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
inflecto (0.0.2)
json (2.6.3)
mini_portile2 (2.8.1)
json (2.7.1)
mini_portile2 (2.8.5)
moments (0.3.0)
multi_json (1.15.0)
mustermann (2.0.2)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
mysql2 (0.5.5)
nio4r (2.5.8)
nokogiri (1.14.1)
mini_portile2 (~> 2.8.0)
nio4r (2.7.0)
nokogiri (1.16.2)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
pact-support (1.19.0)
pact-support (1.20.0)
awesome_print (~> 1.9)
diff-lcs (~> 1.4)
diff-lcs (~> 1.5)
expgen (~> 0.1)
rainbow (~> 3.1.1)
pact_broker (2.105.0)
pact_broker (2.109.0)
anyway_config (~> 2.1)
dry-configurable (= 0.12.1)
dry-container (= 0.8.0)
dry-logic (= 0.4.2)
dry-types (~> 0.10.3)
dry-validation (~> 0.10.5)
dry-validation (~> 1.8)
haml (~> 5.0)
json (~> 2.3)
moments (~> 0.2)
pact-support (~> 1.16, >= 1.16.4)
padrino-core (~> 0.14, >= 0.14.3)
psych (~> 4.0)
rack (~> 2.2, >= 2.2.3)
rack-protection (>= 2.0.8.1, < 3.0)
rack-protection (~> 3.0)
redcarpet (~> 3.5, >= 3.5.1)
reform (~> 2.3.3)
reform (~> 2.6)
request_store (~> 1.5)
roar (~> 1.1)
sanitize (= 6.0)
sanitize (~> 6.0)
semantic_logger (~> 4.11)
semver2 (~> 3.4.2)
sequel (~> 5.28)
sinatra (>= 2.0.8.1, < 3.0)
sucker_punch (~> 2.0)
sinatra (~> 3.0)
sucker_punch (~> 3.0)
table_print (~> 1.5)
webmachine (= 1.6.0)
webmachine (>= 2.0.0.beta, < 3.0)
webrick (~> 1.8)
wisper (~> 2.0)
padrino-core (0.15.2)
padrino-support (= 0.15.2)
padrino-core (0.15.3)
padrino-support (= 0.15.3)
sinatra (>= 2.2.4)
thor (~> 1.0)
padrino-support (0.15.2)
padrino-support (0.15.3)
parslet (2.0.0)
pg (1.4.5)
puma (5.6.5)
pg (1.5.4)
psych (4.0.6)
stringio
puma (5.6.8)
nio4r (~> 2.0)
racc (1.6.2)
rack (2.2.6.2)
rack-protection (2.2.4)
rack
rack-test (2.0.2)
racc (1.7.3)
rack (2.2.8)
rack-protection (3.2.0)
base64 (>= 0.1.0)
rack (~> 2.2, >= 2.2.4)
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.1.1)
rake (13.0.6)
rake (13.1.0)
redcarpet (3.6.0)
reform (2.3.3)
disposable (>= 0.4.2, < 0.5.0)
representable (>= 2.4.0, < 3.1.0)
reform (2.6.2)
disposable (>= 0.5.0, < 1.0.0)
representable (>= 3.1.1, < 4)
uber (< 0.2.0)
representable (3.0.4)
representable (3.2.0)
declarative (< 0.1.0)
declarative-option (< 0.2.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
request_store (1.5.1)
rack (>= 1.4)
roar (1.1.1)
representable (~> 3.0)
rspec (3.12.0)
rspec-core (~> 3.12.0)
rspec-expectations (~> 3.12.0)
rspec-mocks (~> 3.12.0)
rspec-core (3.12.0)
rspec-support (~> 3.12.0)
rspec-expectations (3.12.2)
roar (1.2.0)
representable (~> 3.1)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (~> 3.13.0)
rspec-its (1.3.0)
rspec-core (>= 3.0.0)
rspec-expectations (>= 3.0.0)
rspec-mocks (3.12.3)
rspec-mocks (3.13.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
ruby-next-core (0.15.3)
rspec-support (~> 3.13.0)
rspec-support (3.13.0)
ruby-next-core (1.0.1)
ruby2_keywords (0.0.5)
sanitize (6.0.0)
sanitize (6.1.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
semantic_logger (4.12.0)
semantic_logger (4.15.0)
concurrent-ruby (~> 1.0)
semver2 (3.4.2)
sequel (5.65.0)
sinatra (2.2.4)
mustermann (~> 2.0)
rack (~> 2.2)
rack-protection (= 2.2.4)
sequel (5.77.0)
bigdecimal
sinatra (3.2.0)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.2.0)
tilt (~> 2.0)
sqlite3 (1.6.0)
sqlite3 (1.7.2)
mini_portile2 (~> 2.8.0)
stringio (3.1.0)
sucker_punch (3.2.0)
concurrent-ruby (~> 1.0)
table_print (1.5.7)
temple (0.10.0)
thor (1.2.1)
tilt (2.0.11)
temple (0.10.3)
thor (1.3.0)
tilt (2.3.0)
trailblazer-option (0.1.2)
uber (0.1.0)
webmachine (1.6.0)
as-notifications (~> 1.0)
webmachine (2.0.0)
as-notifications (>= 1.0.2, < 2.0)
i18n (>= 0.4.0)
multi_json
webrick (1.8.1)
wisper (2.0.1)
zeitwerk (2.6.6)
zeitwerk (2.6.12)

PLATFORMS
ruby
Expand All @@ -201,14 +201,13 @@ DEPENDENCIES
conventional-changelog!
mysql2 (~> 0.3)
pact_broker
pg (~> 1.4)
puma (~> 5.6)
pg (~> 1.5)
puma (~> 5.6, >= 5.6.8)
rack-test (~> 2.0, >= 2.0.2)
rake (~> 13.0)
rspec (~> 3.7)
rspec-its (~> 1.2)
sqlite3 (~> 1.6)
sucker_punch!

BUNDLED WITH
2.4.12
2.4.22
2 changes: 1 addition & 1 deletion pact_broker/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.1
3.2.3
5 changes: 1 addition & 4 deletions pact_broker/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,4 @@ gem "pg", "~>1.5"
gem "puma", "~> 5.6", ">= 5.6.8"
gem "mysql2", "~>0.3"
gem "sqlite3", "~>1.6"
gem "rake", "~> 13.0"

# While https://github.com/brandonhilkert/sucker_punch/pull/253 is outstanding
gem "sucker_punch", git: "https://github.com/pact-foundation/sucker_punch.git", ref: "fix/rename-is-singleton-class-method-2"
gem "rake", "~> 13.0"
Loading

0 comments on commit fa30a38

Please sign in to comment.