fastlane-plugin-periphery 0.1.0 → 0.2.0

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: 193810e605fc8f7f7f7285417cab60d865e5654b33c0e773ef616680a7303dfa
4
- data.tar.gz: 4a0bdb31f320deee68c070247b9387f8ca80f9ef77ca98e42a019eb1815d150d
3
+ metadata.gz: 665e3fc1b42bb943b520bb066db349712a5eee8b3403d0a8dcf1141bd056e71f
4
+ data.tar.gz: a403a630b0ffbafce38bc3e7cc77164b80b00ceaf47bc1b3f7406fa484a25b72
5
5
  SHA512:
6
- metadata.gz: 7b986b0b8bb0269d3ce1c090447ce07cd06273099ae9e54b4bd4aa804421457580ae5a186ceec22b319d252667844886c2167b7185257cbe2abfdf148f66ed31
7
- data.tar.gz: 80ebe6ecb9e9bf1bfbced75300d54f8368996eb73925992b77cb5c8bbe9baf4bd2d124c7725236284caafff9acb462e9579f5b93623672bd00f9795cd4101df8
6
+ metadata.gz: 20da33d09402a2c4e8e0d3ca7bae5c1f451bf6bd9807037652309e54a90d65e136e9134fd256367b295a5dc7264d110a0c0898af29200a7ee315aa263a623409
7
+ data.tar.gz: c33ab9eabf3e0c1dc45857c9855b02c6ceec50d7559f643980537de0d863273855b4ed5ae946c81ac3d4f9fc0b651f30bb77140d7ab0512ddfc9efa1d9dac958
@@ -1,4 +1,5 @@
1
1
  require 'fastlane/action'
2
+ require 'fastlane_core/helper'
2
3
 
3
4
  module Fastlane
4
5
  module Actions
@@ -103,10 +104,18 @@ module Fastlane
103
104
 
104
105
  # Alternatively, use the derived data path defined by a prior action
105
106
  derived_data_path = find_derived_data_path
106
- return File.join(derived_data_path, 'Index', 'DataStore') unless derived_data_path.nil?
107
107
 
108
108
  # Fail if we couldn't automatically resolve the path
109
- UI.user_error!("The index store path could not be resolved. Either specify it using the index_store_path argument or provide a path to derived data when using build_app or xcodebuild actions.")
109
+ if derived_data_path.nil?
110
+ UI.user_error!("The index store path could not be resolved. Either specify it using the index_store_path argument or provide a path to derived data when using build_app or xcodebuild actions.")
111
+ end
112
+
113
+ # https://github.com/peripheryapp/periphery#xcode
114
+ if Helper.xcode_at_least?("14.0.0")
115
+ return File.join(derived_data_path, 'Index.noindex', 'DataStore')
116
+ else
117
+ return File.join(derived_data_path, 'Index', 'DataStore')
118
+ end
110
119
  end
111
120
 
112
121
  def find_derived_data_path
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Periphery
3
- VERSION = "0.1.0"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-periphery
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Liam Nichols
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-08-03 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.156.1
139
- description:
139
+ description:
140
140
  email: liam.nichols.ln@gmail.com
141
141
  executables: []
142
142
  extensions: []
@@ -147,11 +147,11 @@ files:
147
147
  - lib/fastlane/plugin/periphery.rb
148
148
  - lib/fastlane/plugin/periphery/actions/periphery_action.rb
149
149
  - lib/fastlane/plugin/periphery/version.rb
150
- homepage: https://github.com/liamnichols/fastlane-plugin-periphery
150
+ homepage:
151
151
  licenses:
152
152
  - MIT
153
153
  metadata: {}
154
- post_install_message:
154
+ post_install_message:
155
155
  rdoc_options: []
156
156
  require_paths:
157
157
  - lib
@@ -166,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
166
166
  - !ruby/object:Gem::Version
167
167
  version: '0'
168
168
  requirements: []
169
- rubygems_version: 3.0.3
170
- signing_key:
169
+ rubygems_version: 3.2.22
170
+ signing_key:
171
171
  specification_version: 4
172
172
  summary: Identifies unused code in Swift projects using Periphery
173
173
  test_files: []