danger-app_size_report 0.0.3 → 1.1.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: 9b365600ee021d284beda6dcbfbf0458f1a5a70e57e5602de4f90fa96a42e89d
4
- data.tar.gz: 0c673c72637fd341e61c43ec044bdf9c5e2742e9571920269dfdacf8a2c97cb7
3
+ metadata.gz: 6c168dda142fc49e3062dc11827166cf7b5474ca3809f798a3475957108edf0a
4
+ data.tar.gz: 9fcffb9b7ad8c70098c7e3f1d89e8f749df8fc78e5c4917dd1bd57159fc08733
5
5
  SHA512:
6
- metadata.gz: df752062c2f4f08a90f1ccaf9d153f25e1c782e4c342c22529175989a44dd0187470abeeabc88e726b8d0cd31f14df9abafd6c7f22b3c7b8d2e672f2556fde82
7
- data.tar.gz: 414f43733a1c575c051ed0bfce2a9bf9e28438facb30c361080fef18d58c4ecb58d12ad86806ce17feefa0ab8f8f52137a8a9e71bb91a2a1986003d392ee9b23
6
+ metadata.gz: 9fcb6ac92658c712e11ebb64b4d83a50356e93c31780199cf927c6ea3f0291b9eae413a1e05d2f588a2c839bea5331727e0e5ddca1fb6c26d382b3ee68d422fe
7
+ data.tar.gz: 00be5ceaafadf145940cef9781c7fbcb1eca3ac02694c936c0b7703c78c47582250498f396b367cc933b267b349e879dd3a56a124f2dc1a069f7da8f42ecacbb
@@ -0,0 +1,3 @@
1
+ **Change Description:**
2
+
3
+ **Test Plan/Testing Performed:**
data/.rubocop.yml ADDED
@@ -0,0 +1,21 @@
1
+ AllCops:
2
+ NewCops: enable
3
+ TargetRubyVersion: 2.6.0
4
+ Layout/LineLength:
5
+ Max: 250
6
+ Metrics/MethodLength:
7
+ Max: 65
8
+ Metrics/BlockLength:
9
+ Max: 60
10
+ Metrics/PerceivedComplexity:
11
+ Max: 20
12
+ Metrics/CyclomaticComplexity:
13
+ Max: 20
14
+ Metrics/AbcSize:
15
+ Max: 90
16
+ Metrics/ClassLength:
17
+ Max: 220
18
+ Metrics/ParameterLists:
19
+ Max: 11
20
+ Style/Documentation:
21
+ AllowedConstants: [Danger]
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- danger-app_size_report (0.0.2)
4
+ danger-app_size_report (1.1.0)
5
5
  danger-plugin-api (~> 1.0)
6
6
 
7
7
  GEM
@@ -19,7 +19,7 @@ GEM
19
19
  colored2 (3.1.2)
20
20
  cork (0.3.0)
21
21
  colored2 (~> 3.1)
22
- danger (8.4.2)
22
+ danger (8.6.1)
23
23
  claide (~> 1.0)
24
24
  claide-plugins (>= 0.9.2)
25
25
  colored2 (~> 3.1)
@@ -35,7 +35,7 @@ GEM
35
35
  danger-plugin-api (1.0.0)
36
36
  danger (> 2.0)
37
37
  diff-lcs (1.5.0)
38
- faraday (1.9.3)
38
+ faraday (1.10.0)
39
39
  faraday-em_http (~> 1.0)
40
40
  faraday-em_synchrony (~> 1.0)
41
41
  faraday-excon (~> 1.1)
@@ -62,7 +62,8 @@ GEM
62
62
  faraday-retry (1.0.3)
63
63
  ffi (1.15.5)
64
64
  formatador (1.1.0)
65
- git (1.10.2)
65
+ git (1.13.1)
66
+ addressable (~> 2.8)
66
67
  rchardet (~> 1.8)
67
68
  guard (2.18.0)
68
69
  formatador (>= 0.2.4)
@@ -78,7 +79,7 @@ GEM
78
79
  guard (~> 2.1)
79
80
  guard-compat (~> 1.1)
80
81
  rspec (>= 2.99.0, < 4.0)
81
- kramdown (2.3.1)
82
+ kramdown (2.4.0)
82
83
  rexml
83
84
  kramdown-parser-gfm (1.1.0)
84
85
  kramdown (~> 2.0)
@@ -98,35 +99,35 @@ GEM
98
99
  faraday (>= 0.9)
99
100
  sawyer (~> 0.8.0, >= 0.5.3)
100
101
  open4 (1.3.4)
101
- parallel (1.21.0)
102
- parser (3.1.0.0)
102
+ parallel (1.22.1)
103
+ parser (3.1.2.0)
103
104
  ast (~> 2.4.1)
104
105
  pry (0.14.1)
105
106
  coderay (~> 1.1)
106
107
  method_source (~> 1.0)
107
- public_suffix (4.0.6)
108
+ public_suffix (4.0.7)
108
109
  rainbow (3.1.1)
109
- rake (10.5.0)
110
- rb-fsevent (0.11.0)
110
+ rake (13.0.6)
111
+ rb-fsevent (0.11.1)
111
112
  rb-inotify (0.10.1)
112
113
  ffi (~> 1.0)
113
114
  rchardet (1.8.0)
114
- regexp_parser (2.2.0)
115
+ regexp_parser (2.3.1)
115
116
  rexml (3.2.5)
116
- rspec (3.10.0)
117
- rspec-core (~> 3.10.0)
118
- rspec-expectations (~> 3.10.0)
119
- rspec-mocks (~> 3.10.0)
120
- rspec-core (3.10.2)
121
- rspec-support (~> 3.10.0)
122
- rspec-expectations (3.10.2)
117
+ rspec (3.11.0)
118
+ rspec-core (~> 3.11.0)
119
+ rspec-expectations (~> 3.11.0)
120
+ rspec-mocks (~> 3.11.0)
121
+ rspec-core (3.11.0)
122
+ rspec-support (~> 3.11.0)
123
+ rspec-expectations (3.11.0)
123
124
  diff-lcs (>= 1.2.0, < 2.0)
124
- rspec-support (~> 3.10.0)
125
- rspec-mocks (3.10.2)
125
+ rspec-support (~> 3.11.0)
126
+ rspec-mocks (3.11.1)
126
127
  diff-lcs (>= 1.2.0, < 2.0)
127
- rspec-support (~> 3.10.0)
128
- rspec-support (3.10.3)
129
- rubocop (1.25.0)
128
+ rspec-support (~> 3.11.0)
129
+ rspec-support (3.11.0)
130
+ rubocop (1.25.1)
130
131
  parallel (~> 1.10)
131
132
  parser (>= 3.1.0.0)
132
133
  rainbow (>= 2.2.2, < 4.0)
@@ -135,8 +136,8 @@ GEM
135
136
  rubocop-ast (>= 1.15.1, < 2.0)
136
137
  ruby-progressbar (~> 1.7)
137
138
  unicode-display_width (>= 1.4.0, < 3.0)
138
- rubocop-ast (1.15.1)
139
- parser (>= 3.0.1.1)
139
+ rubocop-ast (1.17.0)
140
+ parser (>= 3.1.1.0)
140
141
  ruby-progressbar (1.11.0)
141
142
  ruby2_keywords (0.0.5)
142
143
  sawyer (0.8.2)
@@ -153,6 +154,8 @@ GEM
153
154
 
154
155
  PLATFORMS
155
156
  x86_64-darwin-20
157
+ x86_64-darwin-21
158
+ x86_64-linux
156
159
 
157
160
  DEPENDENCIES
158
161
  bundler (~> 2.0)
@@ -161,7 +164,7 @@ DEPENDENCIES
161
164
  guard-rspec (~> 4.7)
162
165
  listen (= 3.0.7)
163
166
  pry (~> 0.14.1)
164
- rake (~> 10.0)
167
+ rake (~> 13.0)
165
168
  rspec (~> 3.4)
166
169
  rubocop (~> 1.25.0)
167
170
  yard (~> 0.9.27)
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # danger-app_size_report
2
2
 
3
- A [Danger](https://github.com/danger/danger) plugin for reporting iOS app size violations. A valid [App Thinning Size Report](https://developer.apple.com/documentation/xcode/reducing-your-app-s-size) must be passed to the plugin for accurate functionality.
3
+ [![Build Status](https://app.bitrise.io/app/2f93240761558c73/status.svg?token=RAmtNFYZtsHZGwu04sEgPA&branch=main)](https://app.bitrise.io/app/2f93240761558c73)
4
+
5
+ A [Danger](https://github.com/danger/danger) plugin for reporting iOS and Android app size violations.
4
6
 
5
7
  ## Installation
6
8
 
@@ -8,34 +10,40 @@ A [Danger](https://github.com/danger/danger) plugin for reporting iOS app size v
8
10
 
9
11
  ## Usage
10
12
 
11
- ### `flag_violations`
13
+ ### `flag_ios_violations`
12
14
 
13
- Report app size violations given a valid App Thinning Size Report.
15
+ Report **iOS** app size violations given a valid App Thinning Size Report. A valid [App Thinning Size Report](https://developer.apple.com/documentation/xcode/reducing-your-app-s-size) must be passed to the plugin for accurate functionality.
14
16
 
15
17
  // Dangerfile
16
18
 
17
19
  report_path = "/Path/to/AppSizeReport.txt"
18
- app_size_report.flag_violations(
19
- report_path,
20
- build_type: 'App',
21
- size_limit: 4,
22
- limit_unit: 'GB',
20
+ app_size_report.flag_ios_violations(
21
+ report_path,
22
+ build_type: 'App',
23
+ limit_size: 4,
24
+ limit_unit: 'GB',
23
25
  fail_on_warning: false
24
26
  )
25
27
 
28
+ The list of variants with their sizes and any violations will be displayed in the PR report as seen below. Additionally, the report will include warnings for any variants that exceed the optimal size limit for cellular downloads (200 MB). Supported variant descriptors are placed under collapsible sections.
29
+
30
+ <p align="center">
31
+ <img src="Resources/Images/app_thinning_size_report.png">
32
+ </p>
33
+
26
34
  #### Parameters
27
35
 
28
36
  - `report_path` [String, required] Path to valid App Thinning Size Report text file.
29
- - `build_type` [String, optional] [Default: 'App'] Specify whether the report corresponds to an App or an App Clip.
37
+ - `build_type` [String, optional] [Default: 'App'] Specify whether the report corresponds to an App or an App Clip.
30
38
  - Supported values: 'App', 'Clip'
31
- - `size_limit` [Numeric, optional] [Default: 4] Specify the app size limit.
39
+ - `limit_size` [Numeric, optional] [Default: 4] Specify the app size limit. If the build type is set to 'Clip' and the specified app size limit exceeds 15 MB, the 15 MB limit will be enforced to meet Apple's App Clip size requirements.
32
40
  - `limit_unit` [String, optional] [Default: 'GB'] Specific the unit for the given size limit.
33
41
  - Supported values: 'KB', 'MB', 'GB'
34
- - `fail_on_warning` [Boolean, optional] [Default: false] Specify whether the PR should fail if one or more app variants exceed the given size limit. By default, the plugin issues a warning in this case.
42
+ - `fail_on_warning` [Boolean, optional] [Default: false] Specify whether the PR should fail if one or more app variants exceed the given size limit. By default, the plugin issues a warning in this case.
35
43
 
36
44
  ### `report_json`
37
45
 
38
- Returns a JSON string representation of the given App Thinning Size Report.
46
+ Returns a JSON string representation of the given iOS App Thinning Size Report.
39
47
 
40
48
  // Dangerfile
41
49
 
@@ -46,10 +54,62 @@ Returns a JSON string representation of the given App Thinning Size Report.
46
54
 
47
55
  - `report_path` [String, required] Path to valid App Thinning Size Report text file.
48
56
 
49
- ## Development
57
+ ### `flag_android_violations`
58
+
59
+ Report <b>Android</b> app size violations given a valid Android App Bundle (AAB).
60
+
61
+ // Dangerfile
62
+
63
+ aab_path = "/Path/to/app.aab"
64
+ ks_path = "/Path/to/keyStore"
65
+ ks_alias = "KeyAlias"
66
+ ks_password = "Key Password"
67
+ ks_alias_password = "Key Alias Password"
68
+ app_size_report.flag_android_violations(
69
+ aab_path,
70
+ ks_path,
71
+ ks_alias,
72
+ ks_password,
73
+ ks_alias_password,
74
+ screen_densities: ["MDPI", "HDPI", "XHDPI", "XXHDPI", "XXXHDPI"],
75
+ languages: ["en", "de", "da", "es", "fr", "it", "nb", "nl", "sv"],
76
+ build_type: 'Instant',
77
+ limit_size: 4,
78
+ limit_unit: 'MB',
79
+ fail_on_warning: false
80
+ )
81
+
82
+ The top 25 violations will be displayed in the PR report with any remaining violations and variants under the size limit placed under collapsible sections as seen below.
83
+
84
+ <p align="center">
85
+ <img src="Resources/Images/android_instant_size_report.png">
86
+ </p>
50
87
 
51
- 1. Clone this repo
88
+ #### Parameters
89
+
90
+ - `aab_path` [String, required] Path to valid AAB file.
91
+ - `ks_path` [String, required] Path to valid signing key file.
92
+ - `ks_alias` [String, required] Alias of signing key.
93
+ - `ks_password` [String, required] Password of signing key.
94
+ - `ks_alias_password` [String, required] Alias Password of signing key.
95
+ - `screen_densities` [Array, optional] [Default: ["MDPI", "HDPI", "XHDPI", "XXHDPI", "XXXHDPI"]] Array of screen densities to check APK size.
96
+ - `languages` [Array, optional] [Default: ["en"]] Array of languages to check APK size
97
+ - `build_type` [String, optional] [Default: 'App'] Specify whether the report corresponds to an App or an Instant.
98
+ - Supported values: 'App', 'Instant'
99
+ - `limit_size` [Numeric, optional] [Default: 150] Specify the app size limit. If the build type is set to 'Instant' and the specified app size limit exceeds 4 MB, the 4 MB limit will be enforced to meet Android Instant App size requirements.
100
+ - `limit_unit` [String, optional] [Default: 'MB'] Specific the unit for the given size limit.
101
+ - Supported values: 'KB', 'MB', 'GB'
102
+ - `fail_on_warning` [Boolean, optional] [Default: false] Specify whether the PR should fail if one or more app variants exceed the given size limit. By default, the plugin issues a warning in this case.
103
+
104
+ ## Contribute
105
+
106
+ 1. Fork this repo.
52
107
  2. Run `bundle install` to setup dependencies.
53
108
  3. Run `bundle exec rake spec` to run the tests.
54
109
  4. Use `bundle exec guard` to automatically have tests run as you make changes.
55
110
  5. Make your changes.
111
+ 6. Submit a pull request with your desired changes to be merged on review.
112
+
113
+ ## More Info
114
+
115
+ [Open an issue](https://github.com/ChargePoint/danger-app_size_report/issues) if you have any questions!
@@ -0,0 +1,218 @@
1
+
2
+ App Thinning Size Report for All Variants of CP
3
+
4
+ Variant: com.coulomb.ChargePoint-0F621BC7-39A7-4E09-B6B4-9DD22F886611.ipa
5
+ Supported variant descriptors: [device: iPad6,8, os-version: 12.2], [device: iPad4,4, os-version: 12.2], [device: iPad5,2, os-version: 12.2], [device: iPad7,5, os-version: 12.2], [device: iPad7,6, os-version: 12.2], [device: iPad4,5, os-version: 12.2], [device: iPad4,8, os-version: 12.2], [device: iPad4,2, os-version: 12.2], [device: iPad4,6, os-version: 12.2], [device: iPad4,1, os-version: 12.2], [device: iPad4,3, os-version: 12.2], [device: iPad4,9, os-version: 12.2], [device: iPad4,7, os-version: 12.2], [device: iPad5,1, os-version: 12.2], [device: iPad6,7, os-version: 12.2], [device: iPad5,3, os-version: 12.2], [device: iPad5,4, os-version: 12.2], [device: iPad6,11, os-version: 12.2], and [device: iPad6,12, os-version: 12.2]
6
+ App + On Demand Resources size: 13.1 MB compressed, 31.3 MB uncompressed
7
+ App size: 13.1 MB compressed, 31.3 MB uncompressed
8
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
9
+
10
+
11
+ Variant: com.coulomb.ChargePoint-174FD93A-9E4E-4F9A-9087-27B87F10BA73.ipa
12
+ Supported variant descriptors: [device: iPod9,1, os-version: 14.0], [device: iPod9,1, os-version: 13.0], and [device: iPod9,1, os-version: 15.0]
13
+ App + On Demand Resources size: 13 MB compressed, 31.1 MB uncompressed
14
+ App size: 13 MB compressed, 31.1 MB uncompressed
15
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
16
+
17
+
18
+ Variant: com.coulomb.ChargePoint-278634B1-ADB2-426F-B246-EE96AA618F04.ipa
19
+ Supported variant descriptors: [device: iPad11,1, os-version: 12.2], [device: iPad6,3, os-version: 12.2], [device: iPad8,6, os-version: 12.2], [device: iPad11,3, os-version: 12.2], [device: iPad7,4, os-version: 12.2], [device: iPad7,2, os-version: 12.2], [device: iPad8,7, os-version: 12.2], [device: iPad8,2, os-version: 12.2], [device: iPad8,8, os-version: 12.2], [device: iPad7,3, os-version: 12.2], [device: iPad8,1, os-version: 12.2], [device: iPad11,2, os-version: 12.2], [device: iPad8,5, os-version: 12.2], [device: iPad8,3, os-version: 12.2], [device: iPad8,4, os-version: 12.2], [device: iPad11,4, os-version: 12.2], [device: iPad7,1, os-version: 12.2], and [device: iPad6,4, os-version: 12.2]
20
+ App + On Demand Resources size: 13.1 MB compressed, 31.3 MB uncompressed
21
+ App size: 13.1 MB compressed, 31.3 MB uncompressed
22
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
23
+
24
+
25
+ Variant: com.coulomb.ChargePoint-319AF157-5859-40A3-9B93-C4D508F7FD8E.ipa
26
+ Supported variant descriptors: [device: iPhone8,1, os-version: 14.0], [device: iPhone8,1, os-version: 13.0], [device: iPhone8,4, os-version: 13.0], [device: iPhone8,1, os-version: 15.0], [device: iPhone8,4, os-version: 14.0], and [device: iPhone8,4, os-version: 15.0]
27
+ App + On Demand Resources size: 13.2 MB compressed, 31.4 MB uncompressed
28
+ App size: 13.2 MB compressed, 31.4 MB uncompressed
29
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
30
+
31
+
32
+ Variant: com.coulomb.ChargePoint-3520FD6F-7E39-49A1-A497-9DBE73E3CCF3.ipa
33
+ Supported variant descriptors: [device: Watch6,7, os-version: 8.0] and [device: Watch6,9, os-version: 8.0]
34
+ App + On Demand Resources size: 1.5 MB compressed, 4 MB uncompressed
35
+ App size: 1.5 MB compressed, 4 MB uncompressed
36
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
37
+
38
+
39
+ Variant: com.coulomb.ChargePoint-376FB823-0A1A-49EF-B671-090463D499A0.ipa
40
+ Supported variant descriptors: [device: iPhone7,1, os-version: 12.0] and [device: iPhone8,2, os-version: 12.0]
41
+ App + On Demand Resources size: 19.4 MB compressed, 46.8 MB uncompressed
42
+ App size: 19.4 MB compressed, 46.8 MB uncompressed
43
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
44
+
45
+
46
+ Variant: com.coulomb.ChargePoint-452B5133-09CC-4C39-95B9-A7773BC0056E.ipa
47
+ Supported variant descriptors: [device: iPhone10,4, os-version: 12.0], [device: iPhone9,1, os-version: 12.0], [device: iPhone9,3, os-version: 12.0], and [device: iPhone10,1, os-version: 12.0]
48
+ App + On Demand Resources size: 18 MB compressed, 45.4 MB uncompressed
49
+ App size: 18 MB compressed, 45.4 MB uncompressed
50
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
51
+
52
+
53
+ Variant: com.coulomb.ChargePoint-47FC97BE-599B-48F7-B844-8A6F8E61C3B9.ipa
54
+ Supported variant descriptors: [device: iPad7,2, os-version: 12.0], [device: iPad8,6, os-version: 12.0], [device: iPad8,4, os-version: 12.0], [device: iPad8,5, os-version: 12.0], [device: iPad7,4, os-version: 12.0], [device: iPad7,3, os-version: 12.0], [device: iPad8,8, os-version: 12.0], [device: iPad6,4, os-version: 12.0], [device: iPad8,7, os-version: 12.0], [device: iPad8,3, os-version: 12.0], [device: iPad7,1, os-version: 12.0], [device: iPad8,2, os-version: 12.0], [device: iPad6,3, os-version: 12.0], and [device: iPad8,1, os-version: 12.0]
55
+ App + On Demand Resources size: 15.5 MB compressed, 38.4 MB uncompressed
56
+ App size: 15.5 MB compressed, 38.4 MB uncompressed
57
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
58
+
59
+
60
+ Variant: com.coulomb.ChargePoint-4ACDED96-0276-4C4E-8297-7CDCEAAB9B08.ipa
61
+ Supported variant descriptors: [device: iPhone11,6, os-version: 12.0], [device: iPhone10,2, os-version: 12.0], [device: iPhone10,5, os-version: 12.0], [device: iPhone11,4, os-version: 12.0], [device: iPhone10,6, os-version: 12.0], [device: iPhone9,2, os-version: 12.0], [device: iPhone9,4, os-version: 12.0], [device: iPhone10,3, os-version: 12.0], and [device: iPhone11,2, os-version: 12.0]
62
+ App + On Demand Resources size: 19.4 MB compressed, 46.8 MB uncompressed
63
+ App size: 19.4 MB compressed, 46.8 MB uncompressed
64
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
65
+
66
+
67
+ Variant: com.coulomb.ChargePoint-53B11A8A-8555-4E56-BA5F-F9B07CFBFF4D.ipa
68
+ Supported variant descriptors: [device: iPod7,1, os-version: 12.2] and [device: iPod9,1, os-version: 12.2]
69
+ App + On Demand Resources size: 15.4 MB compressed, 38 MB uncompressed
70
+ App size: 15.4 MB compressed, 38 MB uncompressed
71
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
72
+
73
+
74
+ Variant: com.coulomb.ChargePoint-61A9F30A-EC77-4D83-B822-0C248C27F457.ipa
75
+ Supported variant descriptors: [device: iPhone8,2, os-version: 14.0], [device: iPhone8,2, os-version: 15.0], and [device: iPhone8,2, os-version: 13.0]
76
+ App + On Demand Resources size: 14.5 MB compressed, 32.7 MB uncompressed
77
+ App size: 14.5 MB compressed, 32.7 MB uncompressed
78
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
79
+
80
+
81
+ Variant: com.coulomb.ChargePoint-6D0FF167-145A-41EC-B042-82FAD5BC0C0F.ipa
82
+ Supported variant descriptors: [device: iPad7,2, os-version: 15.0], [device: iPad13,4, os-version: 15.0], [device: iPad8,11, os-version: 15.0], [device: iPad13,10, os-version: 15.0], [device: iPad8,5, os-version: 15.0], [device: iPad11,1, os-version: 13.0], [device: iPad13,1, os-version: 14.0], [device: iPad13,5, os-version: 14.0], [device: iPad8,12, os-version: 14.0], [device: iPad11,1, os-version: 14.0], [device: iPad8,11, os-version: 13.0], [device: iPad8,1, os-version: 15.0], [device: iPad8,7, os-version: 15.0], [device: iPad13,5, os-version: 15.0], [device: iPad13,6, os-version: 15.0], [device: iPad8,11, os-version: 14.0], [device: iPad13,4, os-version: 14.0], [device: iPad8,7, os-version: 13.0], [device: iPad8,2, os-version: 14.0], [device: MacFamily20,1, os-version: 14.0], [device: iPad7,3, os-version: 14.0], [device: iPad11,4, os-version: 14.0], [device: iPad8,5, os-version: 14.0], [device: iPad13,7, os-version: 14.0], [device: iPad13,7, os-version: 15.0], [device: iPad14,2, os-version: 15.0], [device: iPad8,10, os-version: 13.0], [device: iPad13,8, os-version: 15.0], [device: iPad6,4, os-version: 13.0], [device: iPad6,3, os-version: 15.0], [device: iPad7,1, os-version: 13.0], [device: iPad7,3, os-version: 15.0], [device: iPad8,12, os-version: 13.0], [device: iPad8,6, os-version: 14.0], [device: iPad11,3, os-version: 15.0], [device: iPad6,4, os-version: 14.0], [device: iPad13,11, os-version: 14.0], [device: iPad11,1, os-version: 15.0], [device: iPad8,4, os-version: 13.0], [device: iPad8,10, os-version: 14.0], [device: iPad8,10, os-version: 15.0], [device: iPad11,3, os-version: 13.0], [device: iPad7,4, os-version: 14.0], [device: iPad11,2, os-version: 13.0], [device: iPad8,8, os-version: 13.0], [device: iPad8,9, os-version: 14.0], [device: iPad8,9, os-version: 13.0], [device: iPad7,2, os-version: 14.0], [device: iPad7,2, os-version: 13.0], [device: iPad13,11, os-version: 15.0], [device: iPad13,9, os-version: 14.0], [device: iPad13,9, os-version: 15.0], [device: iPad8,3, os-version: 13.0], [device: iPad8,8, os-version: 14.0], [device: iPad8,7, os-version: 14.0], [device: iPad8,4, os-version: 15.0], [device: iPad8,8, os-version: 15.0], [device: iPad8,1, os-version: 13.0], [device: iPad7,3, os-version: 13.0], [device: iPad13,6, os-version: 14.0], [device: iPad6,3, os-version: 13.0], [device: iPad13,10, os-version: 14.0], [device: iPad14,1, os-version: 15.0], [device: iPad8,2, os-version: 13.0], [device: iPad7,1, os-version: 15.0], [device: MacFamily20,1, os-version: 15.0], [device: iPad11,2, os-version: 15.0], [device: iPad13,1, os-version: 15.0], [device: iPad8,12, os-version: 15.0], [device: iPad11,4, os-version: 15.0], [device: iPad11,4, os-version: 13.0], [device: iPad8,2, os-version: 15.0], [device: iPad8,3, os-version: 14.0], [device: iPad13,2, os-version: 14.0], [device: iPad8,1, os-version: 14.0], [device: iPad8,9, os-version: 15.0], [device: iPad6,3, os-version: 14.0], [device: iPad11,2, os-version: 14.0], [device: iPad13,8, os-version: 14.0], [device: iPad6,4, os-version: 15.0], [device: iPad8,5, os-version: 13.0], [device: iPad7,4, os-version: 15.0], [device: iPad8,3, os-version: 15.0], [device: iPad8,6, os-version: 15.0], [device: iPad13,2, os-version: 15.0], [device: iPad7,4, os-version: 13.0], [device: iPad8,6, os-version: 13.0], [device: iPad8,4, os-version: 14.0], [device: iPad11,3, os-version: 14.0], and [device: iPad7,1, os-version: 14.0]
83
+ App + On Demand Resources size: 13 MB compressed, 31.2 MB uncompressed
84
+ App size: 13 MB compressed, 31.2 MB uncompressed
85
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
86
+
87
+
88
+ Variant: com.coulomb.ChargePoint-74332B21-5BDF-46C5-A17F-FC6E030C39A9.ipa
89
+ Supported variant descriptors: [device: iPhone14,5, os-version: 15.0], [device: iPhone10,2, os-version: 15.0], [device: iPhone10,6, os-version: 14.0], [device: iPhone12,3, os-version: 15.0], [device: iPhone12,5, os-version: 13.0], [device: iPhone10,2, os-version: 14.0], [device: iPhone13,4, os-version: 14.0], [device: iPhone10,3, os-version: 13.0], [device: iPhone13,1, os-version: 14.0], [device: iPhone11,2, os-version: 15.0], [device: iPhone13,3, os-version: 15.0], [device: iPhone11,4, os-version: 15.0], [device: iPhone9,2, os-version: 14.0], [device: iPhone10,5, os-version: 13.0], [device: iPhone14,3, os-version: 15.0], [device: iPhone11,4, os-version: 13.0], [device: iPhone10,6, os-version: 15.0], [device: iPhone10,3, os-version: 15.0], [device: iPhone13,2, os-version: 15.0], [device: iPhone10,2, os-version: 13.0], [device: iPhone12,5, os-version: 15.0], [device: iPhone9,4, os-version: 15.0], [device: iPhone9,2, os-version: 13.0], [device: iPhone13,3, os-version: 14.0], [device: iPhone11,6, os-version: 13.0], [device: iPhone12,3, os-version: 14.0], [device: iPhone13,2, os-version: 14.0], [device: iPhone9,4, os-version: 14.0], [device: iPhone13,4, os-version: 15.0], [device: iPhone14,4, os-version: 15.0], [device: iPhone12,3, os-version: 13.0], [device: iPhone11,2, os-version: 14.0], [device: iPhone10,5, os-version: 14.0], [device: iPhone13,1, os-version: 15.0], [device: iPhone10,3, os-version: 14.0], [device: iPhone11,4, os-version: 14.0], [device: iPhone14,2, os-version: 15.0], [device: iPhone11,2, os-version: 13.0], [device: iPhone12,5, os-version: 14.0], [device: iPhone11,6, os-version: 15.0], [device: iPhone10,6, os-version: 13.0], [device: iPhone10,5, os-version: 15.0], [device: iPhone9,2, os-version: 15.0], [device: iPhone9,4, os-version: 13.0], and [device: iPhone11,6, os-version: 14.0]
90
+ App + On Demand Resources size: 14.5 MB compressed, 32.7 MB uncompressed
91
+ App size: 14.5 MB compressed, 32.7 MB uncompressed
92
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
93
+
94
+
95
+ Variant: com.coulomb.ChargePoint-7D05CC6B-6D34-49D7-8933-E7493E5C0758.ipa
96
+ Supported variant descriptors: [device: Watch5,11, os-version: 8.0], [device: Watch4,3, os-version: 7.0], [device: Watch5,9, os-version: 7.0], [device: Watch4,3, os-version: 6.0], [device: Watch4,1, os-version: 8.0], [device: Watch4,1, os-version: 7.0], [device: Watch5,11, os-version: 7.0], [device: Watch5,3, os-version: 6.0], [device: Watch5,9, os-version: 8.0], [device: Watch6,3, os-version: 8.0], [device: Watch5,1, os-version: 6.0], [device: Watch6,3, os-version: 7.0], [device: Watch6,1, os-version: 8.0], [device: Watch5,1, os-version: 7.0], [device: Watch5,3, os-version: 7.0], [device: Watch4,1, os-version: 6.0], [device: Watch4,3, os-version: 8.0], [device: Watch5,1, os-version: 8.0], [device: Watch5,3, os-version: 8.0], and [device: Watch6,1, os-version: 7.0]
97
+ App + On Demand Resources size: 1.4 MB compressed, 3.9 MB uncompressed
98
+ App size: 1.4 MB compressed, 3.9 MB uncompressed
99
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
100
+
101
+
102
+ Variant: com.coulomb.ChargePoint-7DBC3582-3CA2-464D-88D0-754632DEC0AE.ipa
103
+ Supported variant descriptors: [device: iPod7,1, os-version: 12.0]
104
+ App + On Demand Resources size: 17.8 MB compressed, 45.1 MB uncompressed
105
+ App size: 17.8 MB compressed, 45.1 MB uncompressed
106
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
107
+
108
+
109
+ Variant: com.coulomb.ChargePoint-896BC17F-1C43-46E5-B081-7EA2EFC66960.ipa
110
+ Supported variant descriptors: [device: iPhone10,1, os-version: 12.2], [device: iPhone9,1, os-version: 12.2], [device: iPhone10,4, os-version: 12.2], and [device: iPhone9,3, os-version: 12.2]
111
+ App + On Demand Resources size: 15.6 MB compressed, 38.3 MB uncompressed
112
+ App size: 15.6 MB compressed, 38.3 MB uncompressed
113
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
114
+
115
+
116
+ Variant: com.coulomb.ChargePoint-8F07BEDD-0AA2-4ACB-A8E8-6BD7F11574F0.ipa
117
+ Supported variant descriptors: [device: iPhone11,8, os-version: 12.2]
118
+ App + On Demand Resources size: 15.7 MB compressed, 38.3 MB uncompressed
119
+ App size: 15.7 MB compressed, 38.3 MB uncompressed
120
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
121
+
122
+
123
+ Variant: com.coulomb.ChargePoint-93A9CA61-2990-4E41-8CAF-89D6DF8F6107.ipa
124
+ Supported variant descriptors: [device: iPhone11,8, os-version: 12.0]
125
+ App + On Demand Resources size: 18 MB compressed, 45.4 MB uncompressed
126
+ App size: 18 MB compressed, 45.4 MB uncompressed
127
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
128
+
129
+
130
+ Variant: com.coulomb.ChargePoint-98CBE270-E59C-44AD-A526-F3F759CB2020.ipa
131
+ Supported variant descriptors: [device: iPhone9,3, os-version: 15.0], [device: iPhone10,4, os-version: 15.0], [device: iPhone12,8, os-version: 15.0], [device: iPhone10,4, os-version: 14.0], [device: iPhone12,8, os-version: 13.0], [device: iPhone9,1, os-version: 14.0], [device: iPhone10,1, os-version: 15.0], [device: iPhone9,1, os-version: 13.0], [device: iPhone9,3, os-version: 14.0], [device: iPhone10,1, os-version: 13.0], [device: iPhone9,3, os-version: 13.0], [device: iPhone12,8, os-version: 14.0], [device: iPhone10,4, os-version: 13.0], [device: iPhone10,1, os-version: 14.0], and [device: iPhone9,1, os-version: 15.0]
132
+ App + On Demand Resources size: 13.2 MB compressed, 31.4 MB uncompressed
133
+ App size: 13.2 MB compressed, 31.4 MB uncompressed
134
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
135
+
136
+
137
+ Variant: com.coulomb.ChargePoint-AD119811-CF14-413D-AE43-366F8E350D61.ipa
138
+ Supported variant descriptors: [device: Watch3,4, os-version: 8.0], [device: Watch2,4, os-version: 6.0], [device: Watch3,2, os-version: 7.0], [device: Watch2,7, os-version: 6.0], [device: Watch3,2, os-version: 8.0], [device: Watch3,2, os-version: 6.0], [device: Watch3,4, os-version: 6.0], and [device: Watch3,4, os-version: 7.0]
139
+ App + On Demand Resources size: 1.5 MB compressed, 3.9 MB uncompressed
140
+ App size: 1.5 MB compressed, 3.9 MB uncompressed
141
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
142
+
143
+
144
+ Variant: com.coulomb.ChargePoint-B2E7FEEC-7D9D-45E5-9F59-20BB0EF36E45.ipa
145
+ Supported variant descriptors: [device: iPhone8,4, os-version: 12.0], [device: iPhone6,1, os-version: 12.0], [device: iPhone6,2, os-version: 12.0], [device: iPhone8,1, os-version: 12.0], and [device: iPhone7,2, os-version: 12.0]
146
+ App + On Demand Resources size: 18 MB compressed, 45.4 MB uncompressed
147
+ App size: 18 MB compressed, 45.4 MB uncompressed
148
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
149
+
150
+
151
+ Variant: com.coulomb.ChargePoint-BE970F6E-EB3B-40EA-8592-EABC7ADDEE44.ipa
152
+ Supported variant descriptors: [device: iPhone10,3, os-version: 12.2], [device: iPhone11,4, os-version: 12.2], [device: iPhone11,6, os-version: 12.2], [device: iPhone9,2, os-version: 12.2], [device: iPhone11,2, os-version: 12.2], [device: iPhone10,6, os-version: 12.2], [device: iPhone9,4, os-version: 12.2], [device: iPhone10,5, os-version: 12.2], and [device: iPhone10,2, os-version: 12.2]
153
+ App + On Demand Resources size: 17 MB compressed, 39.7 MB uncompressed
154
+ App size: 17 MB compressed, 39.7 MB uncompressed
155
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
156
+
157
+
158
+ Variant: com.coulomb.ChargePoint-D89DBC0E-1DC9-4EC5-BC3D-35F03496EA42.ipa
159
+ Supported variant descriptors: [device: iPhone8,1, os-version: 12.2], [device: iPhone8,4, os-version: 12.2], [device: iPhone6,1, os-version: 12.2], [device: iPhone6,2, os-version: 12.2], and [device: iPhone7,2, os-version: 12.2]
160
+ App + On Demand Resources size: 15.6 MB compressed, 38.3 MB uncompressed
161
+ App size: 15.6 MB compressed, 38.3 MB uncompressed
162
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
163
+
164
+
165
+ Variant: com.coulomb.ChargePoint-E0CC1B66-C636-4873-86C6-E1146D422097.ipa
166
+ Supported variant descriptors: [device: Watch6,6, os-version: 8.0] and [device: Watch6,8, os-version: 8.0]
167
+ App + On Demand Resources size: 1.4 MB compressed, 3.9 MB uncompressed
168
+ App size: 1.4 MB compressed, 3.9 MB uncompressed
169
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
170
+
171
+
172
+ Variant: com.coulomb.ChargePoint-E45A276E-8E53-4778-A5C0-17BA70702DAF.ipa
173
+ Supported variant descriptors: [device: iPad5,2, os-version: 14.0], [device: iPad6,7, os-version: 14.0], [device: iPad5,1, os-version: 13.0], [device: iPad6,7, os-version: 13.0], [device: iPad5,2, os-version: 13.0], [device: iPad5,3, os-version: 13.0], [device: iPad6,12, os-version: 13.0], [device: iPad6,12, os-version: 14.0], [device: iPad6,8, os-version: 14.0], [device: iPad7,6, os-version: 14.0], [device: iPad5,1, os-version: 14.0], [device: iPad7,6, os-version: 13.0], [device: iPad5,4, os-version: 13.0], [device: iPad12,2, os-version: 15.0], [device: iPad6,12, os-version: 15.0], [device: iPad7,5, os-version: 15.0], [device: iPad7,11, os-version: 13.0], [device: iPad6,11, os-version: 14.0], [device: iPad7,6, os-version: 15.0], [device: iPad6,8, os-version: 15.0], [device: iPad12,1, os-version: 15.0], [device: iPad5,1, os-version: 15.0], [device: iPad11,7, os-version: 14.0], [device: iPad11,6, os-version: 15.0], [device: iPad11,7, os-version: 15.0], [device: iPad7,11, os-version: 14.0], [device: iPad5,3, os-version: 14.0], [device: iPad7,12, os-version: 13.0], [device: iPad6,11, os-version: 13.0], [device: iPad6,7, os-version: 15.0], [device: iPad7,5, os-version: 14.0], [device: iPad5,2, os-version: 15.0], [device: iPad7,11, os-version: 15.0], [device: iPad7,12, os-version: 15.0], [device: iPad7,5, os-version: 13.0], [device: iPad11,6, os-version: 14.0], [device: iPad5,4, os-version: 14.0], [device: iPad5,3, os-version: 15.0], [device: iPad5,4, os-version: 15.0], [device: iPad6,11, os-version: 15.0], [device: iPad6,8, os-version: 13.0], and [device: iPad7,12, os-version: 14.0]
174
+ App + On Demand Resources size: 13 MB compressed, 31.2 MB uncompressed
175
+ App size: 13 MB compressed, 31.2 MB uncompressed
176
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
177
+
178
+
179
+ Variant: com.coulomb.ChargePoint-E525F5DD-7DDD-4F12-BFE5-75AD0C60F6E8.ipa
180
+ Supported variant descriptors: [device: iPhone8,2, os-version: 12.2] and [device: iPhone7,1, os-version: 12.2]
181
+ App + On Demand Resources size: 17 MB compressed, 39.7 MB uncompressed
182
+ App size: 17 MB compressed, 39.7 MB uncompressed
183
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
184
+
185
+
186
+ Variant: com.coulomb.ChargePoint-E894449A-9C96-4CE2-9F5E-BC9C03A0A38B.ipa
187
+ Supported variant descriptors: [device: iPad7,5, os-version: 12.0], [device: iPad4,7, os-version: 12.0], [device: iPad5,1, os-version: 12.0], [device: iPad4,2, os-version: 12.0], [device: iPad7,6, os-version: 12.0], [device: iPad6,8, os-version: 12.0], [device: iPad6,7, os-version: 12.0], [device: iPad4,9, os-version: 12.0], [device: iPad4,5, os-version: 12.0], [device: iPad6,12, os-version: 12.0], [device: iPad4,3, os-version: 12.0], [device: iPad4,4, os-version: 12.0], [device: iPad4,8, os-version: 12.0], [device: iPad5,4, os-version: 12.0], [device: iPad4,6, os-version: 12.0], [device: iPad4,1, os-version: 12.0], [device: iPad5,2, os-version: 12.0], [device: iPad5,3, os-version: 12.0], and [device: iPad6,11, os-version: 12.0]
188
+ App + On Demand Resources size: 15.5 MB compressed, 38.4 MB uncompressed
189
+ App size: 15.5 MB compressed, 38.4 MB uncompressed
190
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
191
+
192
+
193
+ Variant: com.coulomb.ChargePoint-EE074FC2-36D8-4643-AF58-BD1949768961.ipa
194
+ Supported variant descriptors: [device: Watch4,4, os-version: 7.0], [device: Watch6,4, os-version: 7.0], [device: Watch4,4, os-version: 8.0], [device: Watch5,4, os-version: 8.0], [device: Watch6,4, os-version: 8.0], [device: Watch5,12, os-version: 7.0], [device: Watch6,2, os-version: 7.0], [device: Watch5,2, os-version: 8.0], [device: Watch5,2, os-version: 7.0], [device: Watch5,12, os-version: 8.0], [device: Watch5,10, os-version: 8.0], [device: Watch4,2, os-version: 6.0], [device: Watch4,4, os-version: 6.0], [device: Watch4,2, os-version: 7.0], [device: Watch5,10, os-version: 7.0], [device: Watch6,2, os-version: 8.0], [device: Watch4,2, os-version: 8.0], [device: Watch5,2, os-version: 6.0], [device: Watch5,4, os-version: 6.0], and [device: Watch5,4, os-version: 7.0]
195
+ App + On Demand Resources size: 1.4 MB compressed, 3.9 MB uncompressed
196
+ App size: 1.4 MB compressed, 3.9 MB uncompressed
197
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
198
+
199
+
200
+ Variant: com.coulomb.ChargePoint-FAE180F4-4531-47E6-B783-E34BC64D57CC.ipa
201
+ Supported variant descriptors: [device: Watch3,3, os-version: 6.0], [device: Watch3,1, os-version: 7.0], [device: Watch2,3, os-version: 6.0], [device: Watch3,1, os-version: 8.0], [device: Watch3,3, os-version: 7.0], [device: Watch3,3, os-version: 8.0], [device: Watch3,1, os-version: 6.0], and [device: Watch2,6, os-version: 6.0]
202
+ App + On Demand Resources size: 1.5 MB compressed, 3.9 MB uncompressed
203
+ App size: 1.5 MB compressed, 3.9 MB uncompressed
204
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
205
+
206
+
207
+ Variant: com.coulomb.ChargePoint-FD582A8B-E3DD-4753-A1A0-01B6F7783355.ipa
208
+ Supported variant descriptors: [device: iPhone12,1, os-version: 15.0], [device: iPhone12,1, os-version: 13.0], [device: iPhone11,8, os-version: 14.0], [device: iPhone11,8, os-version: 15.0], [device: iPhone11,8, os-version: 13.0], and [device: iPhone12,1, os-version: 14.0]
209
+ App + On Demand Resources size: 13.2 MB compressed, 31.4 MB uncompressed
210
+ App size: 13.2 MB compressed, 31.4 MB uncompressed
211
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
212
+
213
+
214
+ Variant: com.coulomb.ChargePoint.ipa
215
+ Supported variant descriptors: Universal
216
+ App + On Demand Resources size: 28.9 MB compressed, 57.8 MB uncompressed
217
+ App size: 28.9 MB compressed, 207.8 MB uncompressed
218
+ On Demand Resources size: Zero KB compressed, Zero KB uncompressed
data/Resources/app.aab ADDED
Binary file
Binary file
@@ -8,13 +8,14 @@ require 'app_size_report/gem_version'
8
8
  Gem::Specification.new do |spec|
9
9
  spec.name = 'danger-app_size_report'
10
10
  spec.version = AppSizeReport::VERSION
11
- spec.authors = ['Rishab Sukumar']
11
+ spec.authors = ['Rishab Sukumar', 'Bharath Thakkallapally', 'Vido Shaweddy']
12
12
  spec.email = ['rishab.sukumar@chargepoint.com']
13
- spec.description = 'A Danger plugin for reporting iOS app size violations.'
14
- spec.summary = 'A Danger plugin for reporting iOS app size violations. A valid App Thinning Size Report must be passed to the plugin for accurate functionality.'
13
+ spec.description = 'A Danger plugin for reporting iOS and Android app size violations.'
14
+ spec.summary = 'A Danger plugin for reporting iOS and Android app size violations. A valid App Thinning Size Report or Android App Bundle must be passed to the plugin for accurate functionality.'
15
15
  spec.homepage = 'https://github.com/ChargePoint/danger-app_size_report'
16
16
  spec.license = 'MIT'
17
17
 
18
+ spec.required_ruby_version = '>= 2.6.0'
18
19
  spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
19
20
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
20
21
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
@@ -24,7 +25,7 @@ Gem::Specification.new do |spec|
24
25
 
25
26
  # General ruby development
26
27
  spec.add_development_dependency 'bundler', '~> 2.0'
27
- spec.add_development_dependency 'rake', '~> 10.0'
28
+ spec.add_development_dependency 'rake', '~> 13.0'
28
29
 
29
30
  # Testing support
30
31
  spec.add_development_dependency 'rspec', '~> 3.4'
@@ -48,4 +49,5 @@ Gem::Specification.new do |spec|
48
49
  #
49
50
  # This will stop test execution and let you inspect the results
50
51
  spec.add_development_dependency 'pry', '~> 0.14.1'
52
+ spec.metadata['rubygems_mfa_required'] = 'true'
51
53
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AppSizeReport
4
- VERSION = '0.0.3'
4
+ VERSION = '1.1.0'
5
5
  end