Repository navigation
Expand file tree
/
Copy pathGemfile
More file actions
34 lines (29 loc) · 1.6 KB
/
Copy pathGemfile
File metadata and controls
34 lines (29 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# frozen_string_literal: true
source 'https://rubygems.org'
# Pinned CocoaPods + Xcodeproj for `yarn tests:ios:pod:install` /
# `yarn tests:macos:pod:install` (`bundle exec pod install`) and for
# firebase_spm.rb shape-check monkeypatches (`yarn tests:ios:ruby`).
# Exact versions — CI/Tart must `BUNDLE_FROZEN=true bundle install`, never
# `gem update cocoapods xcodeproj`.
gem 'cocoapods', '1.17.0'
gem 'xcodeproj', '1.28.1'
# Coverage for `yarn tests:ios:ruby` (see packages/app/__tests__/run_with_coverage.rb).
# Do not pin minitest here — it comes in via cocoapods/activesupport. The
# runner uses `bundle exec` so that copy is used (not a second asdf/system
# minitest).
#
# Supply-chain notes (Bundler 2.6.x host):
# - Commit Gemfile.lock (with CHECKSUMS via `bundle lock --add-checksums`).
# - CI uses `BUNDLE_FROZEN=true bundle install` so lock drift fails the job
# (Bundler 2.6 deprecates `--frozen` and would persist it into .bundle/config).
# - Do NOT put Bundler-native `cooldown:` here — that needs Bundler 4.0.13+.
# Dependabot cooldown for directory `/` lives in `.github/dependabot.yml`.
gem 'simplecov', '~> 1.3'
gem 'simplecov-lcov', '~> 0.9'
# Lint for packages/app Ruby helpers + __tests__ (yarn lint:ruby / tests:ios:ruby).
gem 'rubocop', '~> 1.92'
# CocoaPods still calls JSON.parse(..., quirks_mode: true) when loading generated
# podspec JSON (react-native-macos codegen during `yarn tests:macos:pod:install`).
# json 3.0 dropped that keyword (ArgumentError: unknown keyword: quirks_mode).
# RuboCop 1.91 allows json >= 2.3 and would otherwise pull 3.x; keep the 2.x line.
gem 'json', '~> 2.21'