Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: Ruby ${{ matrix.ruby }}
strategy:
matrix:
ruby: ["3.2", "3.3"]
ruby: ["3.2", "3.3", "3.4"]
steps:
- name: Check out code
uses: actions/checkout@v3
Expand Down
22 changes: 21 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,25 @@ DEPENDENCIES
rubocop
rubocop-shopify

CHECKSUMS
ast (2.4.2) sha256=1e280232e6a33754cde542bc5ef85520b74db2aac73ec14acef453784447cc12
bootboot (0.2.2)
bundler (4.1.0) sha256=d7b7a797b988e544a0677a9c6ed78146f2f63d05ae1af8bc7d9426cf88b46377
json (2.7.1) sha256=187ea312fb58420ff0c40f40af1862651d4295c8675267c6a1c353f1a0ac3265
language_server-protocol (3.17.0.3) sha256=3d5c58c02f44a20d972957a9febe386d7e7468ab3900ce6bd2b563dd910c6b3f
minitest (5.26.2) sha256=f021118a6185b9ba9f5af71f2ba103ad770c75afde9f2ab8da512677c550cde3
parallel (1.24.0) sha256=5bf38efb9b37865f8e93d7a762727f8c5fc5deb19949f4040c76481d5eee9397
parser (3.3.0.5) sha256=7748313e505ca87045dc0465c776c802043f777581796eb79b1654c5d19d2687
racc (1.7.3) sha256=b785ab8a30ec43bce073c51dbbe791fd27000f68d1c996c95da98bf685316905
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
rake (13.0.6) sha256=5ce4bf5037b4196c24ac62834d8db1ce175470391026bd9e557d669beeb19097
regexp_parser (2.9.0) sha256=81a00ba141cec0d4b4bf58cb80cd9193e5180836d3fa6ef623f7886d3ba8bdd9
rexml (3.4.2) sha256=1384268554a37af5da5279431ca3f2f37d46f09ffdd6c95e17cc84c83ea7c417
rubocop (1.62.1) sha256=aeb1ec501aef5833617b3b6a1512303806218c349c28ce5b3ea72e3782ad4a35
rubocop-ast (1.31.2) sha256=7c206fb094553779923eca862aceece3913ce384f1bf85730208228e884578ec
rubocop-shopify (2.11.1) sha256=4949a733dd7f184bd08de740ead54a99fe738fabc0fc4356c7944e6fc01e34f8
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
unicode-display_width (2.5.0) sha256=7e7681dcade1add70cb9fda20dd77f300b8587c81ebbd165d14fd93144ff0ab4

BUNDLED WITH
2.7.2
4.1.0
10 changes: 9 additions & 1 deletion lib/bootboot/gemfile_next_auto_sync.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,20 @@ def update!(current_definition)
unlock = current_definition.instance_variable_get(:@unlock)
definition = Bundler::Definition.build(GEMFILE, lock, unlock)
definition.resolve_remotely!
definition.lock(lock)
write_lock(definition, lock)
ensure
ENV.delete(env)
ENV.delete("BOOTBOOT_UPDATING_ALTERNATE_LOCKFILE")
end

def write_lock(definition, lock)
if Gem::Version.new(Bundler::VERSION) >= Gem::Version.new("2.5.6")
definition.lock
else
definition.lock(lock)
end
end

def which_env
if Bundler.default_lockfile.to_s =~ /_next\.lock/
Bootboot.env_previous
Expand Down
Loading