danger-compose_compiler_metrics 0.0.2 → 0.0.4
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 +7 -3
- data/lib/compose_compiler_metrics/metrics.rb +96 -0
- data/lib/compose_compiler_metrics/plugin.rb +110 -55
- data/spec/compose_compiler_metrics_spec.rb +450 -26
- 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
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.4
|
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-
|
11
|
+
date: 2024-03-04 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
|