kintsugi 0.7.3 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4b91e9f248374504482055ac67da839cd50a808dc6127f5c248a219cd6dfaa50
4
- data.tar.gz: 57792bfd58532ecd09aba7e248b8614761202fd51ba1975537ecd337247e7028
3
+ metadata.gz: 9210fcd7501da6106887f3ff32cd8951ecb6a81ddc156e49bb9b6e486ae37e49
4
+ data.tar.gz: c571e02062f74ef3cca2830401a8a74a9d554bd93fb3e3f410cec3359200971b
5
5
  SHA512:
6
- metadata.gz: 557bd57300f1320b986f4d017dde29779464d528b082ac8552ffbb67353f5d6569ed69861f6c3585ee150b93cb4fa760e1ba3babc32a91010b6cd24c792a3e5f
7
- data.tar.gz: '0902141e6cb1342c97e3821f4c47e3a5a9bf6e5ef8ce6c0c60b95055c372087c553d4442a279ddfa9698a9ca74ada829025ef16556035fa2455da28497f55c4d'
6
+ metadata.gz: acd1dde008c1ddf553547285fe00b044fc4e3a25305d7c1830ab2a55b77f2ffb6a2f3b04740c8c28c1d95f2bdebe201fbe4cf2c3f1e4a5cae51b96965e1e2e51
7
+ data.tar.gz: 45691f167ebb859989ce64cb4f171402e8372adbab38dc76f0d1ce279008546f960a011ef66b17f0bf54b72e9b2e840cce028b3a7c5b7381415ff39f3ece7fd2
@@ -16,7 +16,7 @@ jobs:
16
16
  - name: Set up Ruby
17
17
  uses: ruby/setup-ruby@v1
18
18
  with:
19
- ruby-version: 2.6.10
19
+ ruby-version: head
20
20
  rubygems: latest
21
21
 
22
22
  - name: Draft a new release
@@ -10,6 +10,9 @@ jobs:
10
10
  main-job:
11
11
  name: Main
12
12
  runs-on: ubuntu-latest
13
+ strategy:
14
+ matrix:
15
+ ruby-version: [2.6, 2.7, 3.2, 3.3]
13
16
 
14
17
  steps:
15
18
  - name: Checkout repo
@@ -18,8 +21,7 @@ jobs:
18
21
  - name: Set up Ruby
19
22
  uses: ruby/setup-ruby@v1
20
23
  with:
21
- ruby-version: 2.6.10
22
- rubygems: latest
24
+ ruby-version: ${{ matrix.ruby-version }}
23
25
  bundler-cache: true
24
26
 
25
27
  - name: Run Rake
data/kintsugi.gemspec CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.require_paths = ["lib"]
24
24
 
25
25
  spec.add_dependency "tty-prompt", "~> 0"
26
- spec.add_dependency "xcodeproj", ">= 1.19.0", "<= 1.23.0"
26
+ spec.add_dependency "xcodeproj", ">= 1.19.0", "<= 1.24.0"
27
27
 
28
28
  spec.add_development_dependency "git", "~> 1.11"
29
29
  spec.add_development_dependency "rake", "~> 13.0"
@@ -3,6 +3,6 @@
3
3
  module Kintsugi
4
4
  # This module holds the Kintsugi version information.
5
5
  module Version
6
- STRING = "0.7.3"
6
+ STRING = "0.7.5"
7
7
  end
8
8
  end
@@ -125,6 +125,17 @@ module Xcodeproj
125
125
  hash
126
126
  end
127
127
  end
128
+
129
+ # By default, for this type, the `display_name` is used when calling `ascii_plist_annotation` (which is used
130
+ # to serialize the project to disk). In the case where the `display_name` contains a "plugin:" prefix, which
131
+ # means that the package is a plugin, the prefix is ommitted so just the package name is used.
132
+ # This, of course can be implemented in a better way, like adding a field to this object as plugin, marking it
133
+ # as a plugin, but this is a very simple way to achieve the desired result.
134
+ class XCSwiftPackageProductDependency
135
+ def ascii_plist_annotation
136
+ " #{display_name.delete_prefix("plugin:")} "
137
+ end
138
+ end
128
139
  end
129
140
  end
130
141
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kintsugi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.3
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Yohay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-10 00:00:00.000000000 Z
11
+ date: 2024-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tty-prompt
@@ -33,7 +33,7 @@ dependencies:
33
33
  version: 1.19.0
34
34
  - - "<="
35
35
  - !ruby/object:Gem::Version
36
- version: 1.23.0
36
+ version: 1.24.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 1.19.0
44
44
  - - "<="
45
45
  - !ruby/object:Gem::Version
46
- version: 1.23.0
46
+ version: 1.24.0
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: git
49
49
  requirement: !ruby/object:Gem::Requirement
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
184
184
  - !ruby/object:Gem::Version
185
185
  version: '0'
186
186
  requirements: []
187
- rubygems_version: 3.4.20
187
+ rubygems_version: 3.6.0.dev
188
188
  signing_key:
189
189
  specification_version: 4
190
190
  summary: pbxproj files git conflicts solver