fastlane-plugin-xcsize 1.0.1 → 1.1.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: 2ef191f5b276ba52ad9be4de4cbc541207a45407928fa3e853117459155c7d0e
4
- data.tar.gz: c66e97f363cc9dd6e26c0271bb3c58589c9f544edddaabe318a2ecd2c4f03dc5
3
+ metadata.gz: 159b1129e52e6dfa874e3bfabeddadddd23bb7104c7b3988239b02c607dd83a7
4
+ data.tar.gz: 5f98c0948366305081b97da7a414aec5ef9e29ecbd85746c1c650c04952ba172
5
5
  SHA512:
6
- metadata.gz: 42431f7ea8e5bf515e7e732583d7a3f3bc7c2ccdce48bb9a23182899c0b8a425235758adb85d0980edc9912ddc134b5f61aa620ff7f973ea8f39ad97ba557060
7
- data.tar.gz: 62887442a7a12b0de17823bfa8fe97ef870059638718ca8645072a69ce22e08d5ae1e97b3bf017128b55c1d51d86bee6e06b5e60e8b3b7dbface6e67e2bb33d5
6
+ metadata.gz: 3157798ba26bd70dca14ae3ac03ce894f2853b0a60506873cce472f982cb46bcec14d1b8daaf265bee0f81548dff68c0cfa0d686b08cfd2ef7ccb99bcf4fd5e3
7
+ data.tar.gz: 7b99706a2c35b7672d6536613684934f7a6ebc181bab90f37232146004946c585c2a24567ded0c77a49e32f5426dd250f06bba3e3707ce86737e31dd0f5b12fe
data/README.md CHANGED
@@ -14,8 +14,8 @@ fastlane add_plugin xcsize
14
14
 
15
15
  ```ruby
16
16
  lane :test do
17
- xcsize(linkmap: 'path/to/your/app.linkmap')
17
+ xcsize(linkmap: 'path/to/your/linkmap.txt')
18
18
 
19
- xcsize_diff(old_linkmap: 'path/to/your/old.linkmap', new_linkmap: 'path/to/your/new.linkmap')
19
+ xcsize_diff(old_linkmap: 'path/to/your/old_linkmap.txt', new_linkmap: 'path/to/your/new_linkmap.txt')
20
20
  end
21
21
  ```
@@ -2,10 +2,6 @@ module Fastlane
2
2
  module Actions
3
3
  class XcsizeAction < Action
4
4
  def self.run(params)
5
- Actions.verify_gem!('xcsize')
6
-
7
- require 'xcsize'
8
-
9
5
  options = {}
10
6
  params.all_keys.each { |k| options[k] = params[k] }
11
7
 
@@ -36,7 +32,7 @@ module Fastlane
36
32
  key: :threshold,
37
33
  description: 'Set minimum size threshold in bytes',
38
34
  is_string: false,
39
- optional: false
35
+ optional: true
40
36
  )
41
37
  ]
42
38
  end
@@ -44,7 +40,7 @@ module Fastlane
44
40
  def self.example_code
45
41
  [
46
42
  'report = xcsize(
47
- linkmap: "path/to/your/app.linkmap",
43
+ linkmap: "path/to/your/linkmap.txt",
48
44
  threshold: 1024
49
45
  )
50
46
  p report[:total_size]
@@ -2,10 +2,6 @@ module Fastlane
2
2
  module Actions
3
3
  class XcsizeDiffAction < Action
4
4
  def self.run(params)
5
- Actions.verify_gem!('xcsize')
6
-
7
- require 'xcsize'
8
-
9
5
  options = {}
10
6
  params.all_keys.each { |k| options[k] = params[k] }
11
7
 
@@ -43,7 +39,7 @@ module Fastlane
43
39
  key: :threshold,
44
40
  description: 'Set minimum size difference threshold in bytes',
45
41
  is_string: false,
46
- optional: false
42
+ optional: true
47
43
  )
48
44
  ]
49
45
  end
@@ -51,8 +47,8 @@ module Fastlane
51
47
  def self.example_code
52
48
  [
53
49
  'report = xcsize_diff(
54
- old_linkmap: "path/to/your/old.linkmap",
55
- new_linkmap: "path/to/your/new.linkmap",
50
+ old_linkmap: "path/to/your/old_linkmap.txt",
51
+ new_linkmap: "path/to/your/new_linkmap.txt",
56
52
  threshold: 1024
57
53
  )
58
54
  p report[:old_total_size]
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Xcsize
3
- VERSION = "1.0.1"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require 'fastlane/plugin/xcsize/version'
2
+ require 'xcsize'
2
3
 
3
4
  module Fastlane
4
5
  module Xcsize
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-xcsize
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Alter-Pesotskiy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-10-08 00:00:00.000000000 Z
11
+ date: 2025-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xcsize
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.0.0
19
+ version: 1.1.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.0.0
26
+ version: 1.1.0
27
27
  description: A fastlane plugin to profile iOS and macOS app and framework sizes from
28
28
  linkmap files, providing detailed breakdowns and insights.
29
29
  email: alex@testableapple.com