mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
8fe2b591c7
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34025 This diff moves the monkeypatch LocalPodspecPatch to a dedicated ruby file. It also adds test for that ## Changelog [iOS][Changed] - Move LocalPodspecPatch to dedicated file Reviewed By: cortinico Differential Revision: D37069361 fbshipit-source-id: 28fddb197484f45aa20ccac516c874e79448e999
15 lines
343 B
Ruby
15 lines
343 B
Ruby
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
module LocalPodspecPatch
|
|
def self.mock_local_podspecs(pods)
|
|
@@local_podspecs = pods
|
|
end
|
|
|
|
def reset()
|
|
@@local_podspecs = []
|
|
end
|
|
end
|