toggle-local-spm 2.2.2 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf5e1291d028c334f9fd40a089700d1bba713a637b6def0a7b46fe9b970decc4
4
- data.tar.gz: 6c8ee86f80b2a062f4949d07027781a5ce35f42ff7ad6c51e33f0a4a1efb86df
3
+ metadata.gz: 95dce0fa2cf61cbaf30572bb310d82190cc2226d2214ab0ed71d6ca9cb4c42bd
4
+ data.tar.gz: d0348db3691d867a3f9d8fe7d4b6a11890e6b5bc8b20f0bad2d0e5a4f09575d1
5
5
  SHA512:
6
- metadata.gz: 2c5fd4f849cbdf6280e5bba06cd9839b64c6aa4b4ddb52eef40c43b7b1a41bc6328ce1f978152c814f3d35a9750a27ccc36b3ec118b48c53ac333e6832e90def
7
- data.tar.gz: 14a34f2964b727573e5f45197d71cb62a94a2a6b00447f2e5eaf696fa9fabe25b03dc8e2bcf29a5575a26f30ab1838ee0d3c0abd5ae42f025d62426122f58a8e
6
+ metadata.gz: 859a3fa360d122b07a3fcd9f64cfff74cde70896935daa8309034df4f9a64dcba1e5c45f9ff1ef4fb05106439158e6ef3008f7d891110bba6045a5fd75666a17
7
+ data.tar.gz: 6bd2a0f5b172b59d11fe6ba00e556b6358c1d865f3ea02261547f161de2870baff33daed52f5c1921e9fc584014525d5d82bc0000109dad48404235fe3ef7e89
data/README.md CHANGED
@@ -77,10 +77,10 @@ its type, current state, and whether it has a record in
77
77
  `spm-local-overrides.json` (see below), e.g.:
78
78
 
79
79
  ```
80
- # Package Type State Managed
81
- 1 mob-bifrost-ios 🎯 direct 🌏 remote ✅
82
- 2 DeviceKit 🎯 direct 🌏 remote
83
- 3 mob-redtail-widgets-generator 🧩 indirect 🌏 remote
80
+ # Package Type State Managed
81
+ 1 my-shared-ios 🎯 direct 🌏 remote ✅
82
+ 2 DeviceKit 🎯 direct 🌏 remote
83
+ 3 my-model-lib 🧩 indirect 🌏 remote
84
84
  ```
85
85
 
86
86
  Each package toggles independently based on what's currently wired up in the
@@ -133,8 +133,8 @@ since the project genuinely, permanently depends on it.
133
133
 
134
134
  An **indirect** dependency has no such entry — it's only known because it
135
135
  shows up in `Package.resolved`, meaning some *other* dependency's own
136
- `Package.swift` depends on it (e.g. `mob-bifrost-ios` depending on
137
- `mob-redtail-widgets-generator`). Toggling one of these on doesn't edit that
136
+ `Package.swift` depends on it (e.g. `my-shared-ios` depending on
137
+ `my-model-lib`). Toggling one of these on doesn't edit that
138
138
  other package's `Package.swift` at all. Instead it adds a brand-new,
139
139
  *unlinked* local package reference directly to the project — not attached to
140
140
  any target — purely so Xcode/SwiftPM's identity-based dependency resolution
@@ -330,7 +330,7 @@ module ToggleLocalSpm
330
330
  # in packageReferences is enough for SwiftPM to unify the identity with
331
331
  # the local checkout wherever else in the graph it's referenced
332
332
  # (verified: it overrides the transitive pin even when the package that
333
- # actually declares the dependency, e.g. mob-bifrost-ios, stays remote).
333
+ # actually declares the dependency, e.g. my-shared-ios, stays remote).
334
334
  def add_indirect_local_ref(project, xcodeproj_path, candidate, state)
335
335
  name = candidate.name
336
336
  entry = state[name] || {}
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ToggleLocalSpm
4
- VERSION = "2.2.2"
4
+ VERSION = "3.0.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toggle-local-spm
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sushant Verma