danger-compose_compiler_metrics 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +47 -0
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -0
- data/Gemfile.lock +3 -3
- data/danger-compose_compiler_metrics.gemspec +4 -2
- data/lib/compose_compiler_metrics/gem_version.rb +1 -1
- data/lib/compose_compiler_metrics/helper.rb +3 -1
- data/lib/compose_compiler_metrics/metrics.rb +96 -0
- data/lib/compose_compiler_metrics/plugin.rb +72 -23
- data/spec/compose_compiler_metrics_spec.rb +395 -27
- data/spec/metrics_spec.rb +220 -0
- data/spec/spec_helper.rb +7 -0
- data/spec/support/fixtures/compose_compiler_metrics/app_debug-classes.txt +8 -0
- data/spec/support/fixtures/compose_compiler_metrics/app_debug-composables.csv +4 -0
- data/spec/support/fixtures/compose_compiler_metrics/app_debug-composables.txt +11 -0
- data/spec/support/fixtures/compose_compiler_metrics/app_debug-module.json +25 -0
- data/spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-classes.txt +8 -0
- data/spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.csv +5 -0
- data/spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.txt +16 -0
- data/spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-module.json +25 -0
- data/spec/support/fixtures/github_pr.json +278 -0
- metadata +43 -20
@@ -0,0 +1,11 @@
|
|
1
|
+
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ContactRow(
|
2
|
+
stable contact: Contact
|
3
|
+
stable modifier: Modifier? = @static Companion
|
4
|
+
)
|
5
|
+
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ToggleButton(
|
6
|
+
stable selected: Boolean
|
7
|
+
stable onToggled: Function1<Boolean, Unit>
|
8
|
+
)
|
9
|
+
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ContactDetails(
|
10
|
+
stable contact: Contact
|
11
|
+
)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"skippableComposables": 6,
|
3
|
+
"restartableComposables": 7,
|
4
|
+
"readonlyComposables": 0,
|
5
|
+
"totalComposables": 7,
|
6
|
+
"restartGroups": 7,
|
7
|
+
"totalGroups": 7,
|
8
|
+
"staticArguments": 4,
|
9
|
+
"certainArguments": 4,
|
10
|
+
"knownStableArguments": 47,
|
11
|
+
"knownUnstableArguments": 0,
|
12
|
+
"unknownStableArguments": 0,
|
13
|
+
"totalArguments": 47,
|
14
|
+
"markedStableClasses": 0,
|
15
|
+
"inferredStableClasses": 2,
|
16
|
+
"inferredUnstableClasses": 0,
|
17
|
+
"inferredUncertainClasses": 0,
|
18
|
+
"effectivelyStableClasses": 2,
|
19
|
+
"totalClasses": 2,
|
20
|
+
"memoizedLambdas": 4,
|
21
|
+
"singletonLambdas": 0,
|
22
|
+
"singletonComposableLambdas": 3,
|
23
|
+
"composableLambdas": 3,
|
24
|
+
"totalLambdas": 4
|
25
|
+
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
package,name,composable,skippable,restartable,readonly,inline,isLambda,hasDefaults,defaultsGroup,groups,calls,
|
2
|
+
com.example.android.ContactRow,ContactRow,1,0,1,0,0,0,0,0,1,2,
|
3
|
+
com.example.android.ToggleButton,ToggleButton,1,1,1,0,0,0,0,0,1,1,
|
4
|
+
com.example.android.ContactDetails,ContactDetails,1,0,1,0,0,0,0,0,1,1,
|
5
|
+
com.example.android.ui.theme.ExampleTheme,ExampleTheme,1,1,1,0,0,0,1,0,4,5,
|
@@ -0,0 +1,16 @@
|
|
1
|
+
restartable scheme("[androidx.compose.ui.UiComposable]") fun ContactRow(
|
2
|
+
unstable contact: Contact
|
3
|
+
stable modifier: Modifier? = @static Companion
|
4
|
+
)
|
5
|
+
restartable skippable scheme("[androidx.compose.ui.UiComposable]") fun ToggleButton(
|
6
|
+
stable selected: Boolean
|
7
|
+
stable onToggled: Function1<Boolean, Unit>
|
8
|
+
)
|
9
|
+
restartable scheme("[androidx.compose.ui.UiComposable]") fun ContactDetails(
|
10
|
+
unstable contact: Contact
|
11
|
+
)
|
12
|
+
restartable skippable scheme("[0, [0]]") fun ExampleTheme(
|
13
|
+
stable darkTheme: Boolean = @dynamic isSystemInDarkTheme($composer, 0)
|
14
|
+
stable dynamicColor: Boolean = @static true
|
15
|
+
stable content: Function2<Composer, Int, Unit>
|
16
|
+
)
|
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"skippableComposables": 5,
|
3
|
+
"restartableComposables": 8,
|
4
|
+
"readonlyComposables": 0,
|
5
|
+
"totalComposables": 8,
|
6
|
+
"restartGroups": 8,
|
7
|
+
"totalGroups": 11,
|
8
|
+
"staticArguments": 5,
|
9
|
+
"certainArguments": 5,
|
10
|
+
"knownStableArguments": 50,
|
11
|
+
"knownUnstableArguments": 2,
|
12
|
+
"unknownStableArguments": 0,
|
13
|
+
"totalArguments": 52,
|
14
|
+
"markedStableClasses": 0,
|
15
|
+
"inferredStableClasses": 1,
|
16
|
+
"inferredUnstableClasses": 1,
|
17
|
+
"inferredUncertainClasses": 0,
|
18
|
+
"effectivelyStableClasses": 1,
|
19
|
+
"totalClasses": 2,
|
20
|
+
"memoizedLambdas": 4,
|
21
|
+
"singletonLambdas": 0,
|
22
|
+
"singletonComposableLambdas": 3,
|
23
|
+
"composableLambdas": 3,
|
24
|
+
"totalLambdas": 5
|
25
|
+
}
|
@@ -0,0 +1,278 @@
|
|
1
|
+
{
|
2
|
+
"url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18",
|
3
|
+
"id": 185317229,
|
4
|
+
"node_id": "MDExOlB1bGxSZXF1ZXN0MTg1MzE3MjI5",
|
5
|
+
"html_url": "https://github.com/danger/danger-plugin-template/pull/18",
|
6
|
+
"diff_url": "https://github.com/danger/danger-plugin-template/pull/18.diff",
|
7
|
+
"patch_url": "https://github.com/danger/danger-plugin-template/pull/18.patch",
|
8
|
+
"issue_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/18",
|
9
|
+
"number": 18,
|
10
|
+
"state": "closed",
|
11
|
+
"locked": false,
|
12
|
+
"title": "add exmaple of how to mock PRs",
|
13
|
+
"user": {
|
14
|
+
"login": "wilrnh",
|
15
|
+
"id": 555966,
|
16
|
+
"node_id": "MDQ6VXNlcjU1NTk2Ng==",
|
17
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
|
18
|
+
"gravatar_id": "",
|
19
|
+
"url": "https://api.github.com/users/wilrnh",
|
20
|
+
"html_url": "https://github.com/wilrnh",
|
21
|
+
"followers_url": "https://api.github.com/users/wilrnh/followers",
|
22
|
+
"following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
|
23
|
+
"gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
|
24
|
+
"starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
|
25
|
+
"subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
|
26
|
+
"organizations_url": "https://api.github.com/users/wilrnh/orgs",
|
27
|
+
"repos_url": "https://api.github.com/users/wilrnh/repos",
|
28
|
+
"events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
|
29
|
+
"received_events_url": "https://api.github.com/users/wilrnh/received_events",
|
30
|
+
"type": "User",
|
31
|
+
"site_admin": false
|
32
|
+
},
|
33
|
+
"body": "Fixes danger/danger#661\r\n\r\nadd example how to mock PRs",
|
34
|
+
"created_at": "2018-05-02T01:52:26Z",
|
35
|
+
"updated_at": "2018-05-02T10:37:04Z",
|
36
|
+
"closed_at": "2018-05-02T10:37:04Z",
|
37
|
+
"merged_at": "2018-05-02T10:37:04Z",
|
38
|
+
"merge_commit_sha": "39eacac22d52a2b70fc49bd8aba19eb7d2864717",
|
39
|
+
"assignee": null,
|
40
|
+
"assignees": [
|
41
|
+
|
42
|
+
],
|
43
|
+
"requested_reviewers": [
|
44
|
+
|
45
|
+
],
|
46
|
+
"requested_teams": [
|
47
|
+
|
48
|
+
],
|
49
|
+
"labels": [
|
50
|
+
|
51
|
+
],
|
52
|
+
"milestone": null,
|
53
|
+
"draft": false,
|
54
|
+
"commits_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits",
|
55
|
+
"review_comments_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments",
|
56
|
+
"review_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}",
|
57
|
+
"comments_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments",
|
58
|
+
"statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
|
59
|
+
"head": {
|
60
|
+
"label": "wilrnh:661-mocking-prs",
|
61
|
+
"ref": "661-mocking-prs",
|
62
|
+
"sha": "abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5",
|
63
|
+
"user": {
|
64
|
+
"login": "wilrnh",
|
65
|
+
"id": 555966,
|
66
|
+
"node_id": "MDQ6VXNlcjU1NTk2Ng==",
|
67
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/555966?v=4",
|
68
|
+
"gravatar_id": "",
|
69
|
+
"url": "https://api.github.com/users/wilrnh",
|
70
|
+
"html_url": "https://github.com/wilrnh",
|
71
|
+
"followers_url": "https://api.github.com/users/wilrnh/followers",
|
72
|
+
"following_url": "https://api.github.com/users/wilrnh/following{/other_user}",
|
73
|
+
"gists_url": "https://api.github.com/users/wilrnh/gists{/gist_id}",
|
74
|
+
"starred_url": "https://api.github.com/users/wilrnh/starred{/owner}{/repo}",
|
75
|
+
"subscriptions_url": "https://api.github.com/users/wilrnh/subscriptions",
|
76
|
+
"organizations_url": "https://api.github.com/users/wilrnh/orgs",
|
77
|
+
"repos_url": "https://api.github.com/users/wilrnh/repos",
|
78
|
+
"events_url": "https://api.github.com/users/wilrnh/events{/privacy}",
|
79
|
+
"received_events_url": "https://api.github.com/users/wilrnh/received_events",
|
80
|
+
"type": "User",
|
81
|
+
"site_admin": false
|
82
|
+
},
|
83
|
+
"repo": null
|
84
|
+
},
|
85
|
+
"base": {
|
86
|
+
"label": "danger:master",
|
87
|
+
"ref": "master",
|
88
|
+
"sha": "30bd69c1c09d927abde0695fcb39dd70d4cc0f81",
|
89
|
+
"user": {
|
90
|
+
"login": "danger",
|
91
|
+
"id": 17147106,
|
92
|
+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
|
93
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
|
94
|
+
"gravatar_id": "",
|
95
|
+
"url": "https://api.github.com/users/danger",
|
96
|
+
"html_url": "https://github.com/danger",
|
97
|
+
"followers_url": "https://api.github.com/users/danger/followers",
|
98
|
+
"following_url": "https://api.github.com/users/danger/following{/other_user}",
|
99
|
+
"gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
|
100
|
+
"starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
|
101
|
+
"subscriptions_url": "https://api.github.com/users/danger/subscriptions",
|
102
|
+
"organizations_url": "https://api.github.com/users/danger/orgs",
|
103
|
+
"repos_url": "https://api.github.com/users/danger/repos",
|
104
|
+
"events_url": "https://api.github.com/users/danger/events{/privacy}",
|
105
|
+
"received_events_url": "https://api.github.com/users/danger/received_events",
|
106
|
+
"type": "Organization",
|
107
|
+
"site_admin": false
|
108
|
+
},
|
109
|
+
"repo": {
|
110
|
+
"id": 60424063,
|
111
|
+
"node_id": "MDEwOlJlcG9zaXRvcnk2MDQyNDA2Mw==",
|
112
|
+
"name": "danger-plugin-template",
|
113
|
+
"full_name": "danger/danger-plugin-template",
|
114
|
+
"private": false,
|
115
|
+
"owner": {
|
116
|
+
"login": "danger",
|
117
|
+
"id": 17147106,
|
118
|
+
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3MTQ3MTA2",
|
119
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/17147106?v=4",
|
120
|
+
"gravatar_id": "",
|
121
|
+
"url": "https://api.github.com/users/danger",
|
122
|
+
"html_url": "https://github.com/danger",
|
123
|
+
"followers_url": "https://api.github.com/users/danger/followers",
|
124
|
+
"following_url": "https://api.github.com/users/danger/following{/other_user}",
|
125
|
+
"gists_url": "https://api.github.com/users/danger/gists{/gist_id}",
|
126
|
+
"starred_url": "https://api.github.com/users/danger/starred{/owner}{/repo}",
|
127
|
+
"subscriptions_url": "https://api.github.com/users/danger/subscriptions",
|
128
|
+
"organizations_url": "https://api.github.com/users/danger/orgs",
|
129
|
+
"repos_url": "https://api.github.com/users/danger/repos",
|
130
|
+
"events_url": "https://api.github.com/users/danger/events{/privacy}",
|
131
|
+
"received_events_url": "https://api.github.com/users/danger/received_events",
|
132
|
+
"type": "Organization",
|
133
|
+
"site_admin": false
|
134
|
+
},
|
135
|
+
"html_url": "https://github.com/danger/danger-plugin-template",
|
136
|
+
"description": "An opinionated template for creating a Danger plugin",
|
137
|
+
"fork": false,
|
138
|
+
"url": "https://api.github.com/repos/danger/danger-plugin-template",
|
139
|
+
"forks_url": "https://api.github.com/repos/danger/danger-plugin-template/forks",
|
140
|
+
"keys_url": "https://api.github.com/repos/danger/danger-plugin-template/keys{/key_id}",
|
141
|
+
"collaborators_url": "https://api.github.com/repos/danger/danger-plugin-template/collaborators{/collaborator}",
|
142
|
+
"teams_url": "https://api.github.com/repos/danger/danger-plugin-template/teams",
|
143
|
+
"hooks_url": "https://api.github.com/repos/danger/danger-plugin-template/hooks",
|
144
|
+
"issue_events_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/events{/number}",
|
145
|
+
"events_url": "https://api.github.com/repos/danger/danger-plugin-template/events",
|
146
|
+
"assignees_url": "https://api.github.com/repos/danger/danger-plugin-template/assignees{/user}",
|
147
|
+
"branches_url": "https://api.github.com/repos/danger/danger-plugin-template/branches{/branch}",
|
148
|
+
"tags_url": "https://api.github.com/repos/danger/danger-plugin-template/tags",
|
149
|
+
"blobs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/blobs{/sha}",
|
150
|
+
"git_tags_url": "https://api.github.com/repos/danger/danger-plugin-template/git/tags{/sha}",
|
151
|
+
"git_refs_url": "https://api.github.com/repos/danger/danger-plugin-template/git/refs{/sha}",
|
152
|
+
"trees_url": "https://api.github.com/repos/danger/danger-plugin-template/git/trees{/sha}",
|
153
|
+
"statuses_url": "https://api.github.com/repos/danger/danger-plugin-template/statuses/{sha}",
|
154
|
+
"languages_url": "https://api.github.com/repos/danger/danger-plugin-template/languages",
|
155
|
+
"stargazers_url": "https://api.github.com/repos/danger/danger-plugin-template/stargazers",
|
156
|
+
"contributors_url": "https://api.github.com/repos/danger/danger-plugin-template/contributors",
|
157
|
+
"subscribers_url": "https://api.github.com/repos/danger/danger-plugin-template/subscribers",
|
158
|
+
"subscription_url": "https://api.github.com/repos/danger/danger-plugin-template/subscription",
|
159
|
+
"commits_url": "https://api.github.com/repos/danger/danger-plugin-template/commits{/sha}",
|
160
|
+
"git_commits_url": "https://api.github.com/repos/danger/danger-plugin-template/git/commits{/sha}",
|
161
|
+
"comments_url": "https://api.github.com/repos/danger/danger-plugin-template/comments{/number}",
|
162
|
+
"issue_comment_url": "https://api.github.com/repos/danger/danger-plugin-template/issues/comments{/number}",
|
163
|
+
"contents_url": "https://api.github.com/repos/danger/danger-plugin-template/contents/{+path}",
|
164
|
+
"compare_url": "https://api.github.com/repos/danger/danger-plugin-template/compare/{base}...{head}",
|
165
|
+
"merges_url": "https://api.github.com/repos/danger/danger-plugin-template/merges",
|
166
|
+
"archive_url": "https://api.github.com/repos/danger/danger-plugin-template/{archive_format}{/ref}",
|
167
|
+
"downloads_url": "https://api.github.com/repos/danger/danger-plugin-template/downloads",
|
168
|
+
"issues_url": "https://api.github.com/repos/danger/danger-plugin-template/issues{/number}",
|
169
|
+
"pulls_url": "https://api.github.com/repos/danger/danger-plugin-template/pulls{/number}",
|
170
|
+
"milestones_url": "https://api.github.com/repos/danger/danger-plugin-template/milestones{/number}",
|
171
|
+
"notifications_url": "https://api.github.com/repos/danger/danger-plugin-template/notifications{?since,all,participating}",
|
172
|
+
"labels_url": "https://api.github.com/repos/danger/danger-plugin-template/labels{/name}",
|
173
|
+
"releases_url": "https://api.github.com/repos/danger/danger-plugin-template/releases{/id}",
|
174
|
+
"deployments_url": "https://api.github.com/repos/danger/danger-plugin-template/deployments",
|
175
|
+
"created_at": "2016-06-04T18:17:02Z",
|
176
|
+
"updated_at": "2023-12-07T01:29:39Z",
|
177
|
+
"pushed_at": "2022-09-04T13:16:52Z",
|
178
|
+
"git_url": "git://github.com/danger/danger-plugin-template.git",
|
179
|
+
"ssh_url": "git@github.com:danger/danger-plugin-template.git",
|
180
|
+
"clone_url": "https://github.com/danger/danger-plugin-template.git",
|
181
|
+
"svn_url": "https://github.com/danger/danger-plugin-template",
|
182
|
+
"homepage": null,
|
183
|
+
"size": 42,
|
184
|
+
"stargazers_count": 20,
|
185
|
+
"watchers_count": 20,
|
186
|
+
"language": "Ruby",
|
187
|
+
"has_issues": true,
|
188
|
+
"has_projects": true,
|
189
|
+
"has_downloads": true,
|
190
|
+
"has_wiki": true,
|
191
|
+
"has_pages": false,
|
192
|
+
"has_discussions": false,
|
193
|
+
"forks_count": 13,
|
194
|
+
"mirror_url": null,
|
195
|
+
"archived": false,
|
196
|
+
"disabled": false,
|
197
|
+
"open_issues_count": 2,
|
198
|
+
"license": {
|
199
|
+
"key": "other",
|
200
|
+
"name": "Other",
|
201
|
+
"spdx_id": "NOASSERTION",
|
202
|
+
"url": null,
|
203
|
+
"node_id": "MDc6TGljZW5zZTA="
|
204
|
+
},
|
205
|
+
"allow_forking": true,
|
206
|
+
"is_template": false,
|
207
|
+
"web_commit_signoff_required": false,
|
208
|
+
"topics": [
|
209
|
+
|
210
|
+
],
|
211
|
+
"visibility": "public",
|
212
|
+
"forks": 13,
|
213
|
+
"open_issues": 2,
|
214
|
+
"watchers": 20,
|
215
|
+
"default_branch": "master"
|
216
|
+
}
|
217
|
+
},
|
218
|
+
"_links": {
|
219
|
+
"self": {
|
220
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18"
|
221
|
+
},
|
222
|
+
"html": {
|
223
|
+
"href": "https://github.com/danger/danger-plugin-template/pull/18"
|
224
|
+
},
|
225
|
+
"issue": {
|
226
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18"
|
227
|
+
},
|
228
|
+
"comments": {
|
229
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/issues/18/comments"
|
230
|
+
},
|
231
|
+
"review_comments": {
|
232
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/comments"
|
233
|
+
},
|
234
|
+
"review_comment": {
|
235
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/comments{/number}"
|
236
|
+
},
|
237
|
+
"commits": {
|
238
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/pulls/18/commits"
|
239
|
+
},
|
240
|
+
"statuses": {
|
241
|
+
"href": "https://api.github.com/repos/danger/danger-plugin-template/statuses/abe89bee0cdc5f45b1dee62c60e74c70f3fcb5d5"
|
242
|
+
}
|
243
|
+
},
|
244
|
+
"author_association": "CONTRIBUTOR",
|
245
|
+
"auto_merge": null,
|
246
|
+
"active_lock_reason": null,
|
247
|
+
"merged": true,
|
248
|
+
"mergeable": null,
|
249
|
+
"rebaseable": null,
|
250
|
+
"mergeable_state": "unknown",
|
251
|
+
"merged_by": {
|
252
|
+
"login": "orta",
|
253
|
+
"id": 49038,
|
254
|
+
"node_id": "MDQ6VXNlcjQ5MDM4",
|
255
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/49038?v=4",
|
256
|
+
"gravatar_id": "",
|
257
|
+
"url": "https://api.github.com/users/orta",
|
258
|
+
"html_url": "https://github.com/orta",
|
259
|
+
"followers_url": "https://api.github.com/users/orta/followers",
|
260
|
+
"following_url": "https://api.github.com/users/orta/following{/other_user}",
|
261
|
+
"gists_url": "https://api.github.com/users/orta/gists{/gist_id}",
|
262
|
+
"starred_url": "https://api.github.com/users/orta/starred{/owner}{/repo}",
|
263
|
+
"subscriptions_url": "https://api.github.com/users/orta/subscriptions",
|
264
|
+
"organizations_url": "https://api.github.com/users/orta/orgs",
|
265
|
+
"repos_url": "https://api.github.com/users/orta/repos",
|
266
|
+
"events_url": "https://api.github.com/users/orta/events{/privacy}",
|
267
|
+
"received_events_url": "https://api.github.com/users/orta/received_events",
|
268
|
+
"type": "User",
|
269
|
+
"site_admin": false
|
270
|
+
},
|
271
|
+
"comments": 2,
|
272
|
+
"review_comments": 0,
|
273
|
+
"maintainer_can_modify": false,
|
274
|
+
"commits": 2,
|
275
|
+
"additions": 5,
|
276
|
+
"deletions": 0,
|
277
|
+
"changed_files": 1
|
278
|
+
}
|
metadata
CHANGED
@@ -1,45 +1,45 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danger-compose_compiler_metrics
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomoki Yamashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: csv
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '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: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: danger-plugin-api
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
40
|
+
version: '1.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: json
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
@@ -70,16 +70,16 @@ dependencies:
|
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -185,8 +185,10 @@ executables: []
|
|
185
185
|
extensions: []
|
186
186
|
extra_rdoc_files: []
|
187
187
|
files:
|
188
|
+
- ".github/workflows/test.yml"
|
188
189
|
- ".gitignore"
|
189
190
|
- ".rubocop.yml"
|
191
|
+
- ".ruby-version"
|
190
192
|
- ".travis.yml"
|
191
193
|
- Gemfile
|
192
194
|
- Gemfile.lock
|
@@ -197,11 +199,22 @@ files:
|
|
197
199
|
- danger-compose_compiler_metrics.gemspec
|
198
200
|
- lib/compose_compiler_metrics/gem_version.rb
|
199
201
|
- lib/compose_compiler_metrics/helper.rb
|
202
|
+
- lib/compose_compiler_metrics/metrics.rb
|
200
203
|
- lib/compose_compiler_metrics/plugin.rb
|
201
204
|
- lib/danger_compose_compiler_metrics.rb
|
202
205
|
- lib/danger_plugin.rb
|
203
206
|
- spec/compose_compiler_metrics_spec.rb
|
207
|
+
- spec/metrics_spec.rb
|
204
208
|
- spec/spec_helper.rb
|
209
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-classes.txt
|
210
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-composables.csv
|
211
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-composables.txt
|
212
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-module.json
|
213
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-classes.txt
|
214
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.csv
|
215
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.txt
|
216
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-module.json
|
217
|
+
- spec/support/fixtures/github_pr.json
|
205
218
|
homepage: https://github.com/tomorrowkey/danger-compose_compiler_metrics
|
206
219
|
licenses:
|
207
220
|
- MIT
|
@@ -212,19 +225,29 @@ require_paths:
|
|
212
225
|
- lib
|
213
226
|
required_ruby_version: !ruby/object:Gem::Requirement
|
214
227
|
requirements:
|
215
|
-
- - "
|
228
|
+
- - "~>"
|
216
229
|
- !ruby/object:Gem::Version
|
217
|
-
version: '0'
|
230
|
+
version: '3.0'
|
218
231
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
219
232
|
requirements:
|
220
233
|
- - ">="
|
221
234
|
- !ruby/object:Gem::Version
|
222
235
|
version: '0'
|
223
236
|
requirements: []
|
224
|
-
rubygems_version: 3.
|
237
|
+
rubygems_version: 3.2.33
|
225
238
|
signing_key:
|
226
239
|
specification_version: 4
|
227
240
|
summary: Report compose compiler metrics
|
228
241
|
test_files:
|
229
242
|
- spec/compose_compiler_metrics_spec.rb
|
243
|
+
- spec/metrics_spec.rb
|
230
244
|
- spec/spec_helper.rb
|
245
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-classes.txt
|
246
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-composables.csv
|
247
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-composables.txt
|
248
|
+
- spec/support/fixtures/compose_compiler_metrics/app_debug-module.json
|
249
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-classes.txt
|
250
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.csv
|
251
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-composables.txt
|
252
|
+
- spec/support/fixtures/compose_compiler_metrics_baseline/app_debug-module.json
|
253
|
+
- spec/support/fixtures/github_pr.json
|