pack_stats 0.1.3 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -1
- data/lib/pack_stats/private/metrics/packwerk_checker_usage.rb +2 -2
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 257c72796b9a65f1d67e0f6f96998fcd2929717ff09526a95e4bea8f144bb903
|
4
|
+
data.tar.gz: 79cf5e5557eb13cd286a2724e1c7b9fdb9308845830c3327ec9d99e6a0c4b27a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8456c2d22795b7ac537a4d64dc4e52607b44642f2a7e1af6d059863de5805ce1ad8f735ff5122f2ac876632ea6bef1bbbaab58c458b310a74dbb2b2083aa4698
|
7
|
+
data.tar.gz: 42d5b073d4771726a0f15b8622894e07c58b348d571a5b1ca3b0e478e5b8580fb37a4b88922ed18951fbcb9c3f6d6f482e0435b93350c2b820d87e10aabd1726
|
data/README.md
CHANGED
@@ -103,4 +103,5 @@ Right now this tool sends metrics to DataDog only. However, if you want to use t
|
|
103
103
|
|
104
104
|
We recommend the use of the dashboard that is shipped with this gem. You can create a new dashboard and then click "import dashboard JSON" to get a jump start on tracking your metrics. Note you may want to make some tweaks to these dashboards to better fit your organization's circumstances and goals.
|
105
105
|
|
106
|
-
[Dashboard JSON](docs/dashboard.json)
|
106
|
+
- [Dashboard JSON](docs/dashboard.json)
|
107
|
+
- [Screenshots](docs/screenshots.md)
|
@@ -9,7 +9,7 @@ module PackStats
|
|
9
9
|
class PackwerkCheckerUsage
|
10
10
|
extend T::Sig
|
11
11
|
|
12
|
-
# Some violations (e.g. dependency, visibility,
|
12
|
+
# Some violations (e.g. dependency, visibility, layer) matter for the referencing (outbound) package.
|
13
13
|
# Other violations (e.g. privacy) matter for the referenced (inbound) package.
|
14
14
|
class Direction < T::Enum
|
15
15
|
enums do
|
@@ -38,7 +38,7 @@ module PackStats
|
|
38
38
|
CHECKERS = T.let([
|
39
39
|
PackwerkChecker.new(key: 'enforce_dependencies', violation_type: 'dependency', direction: Direction::Outbound),
|
40
40
|
PackwerkChecker.new(key: 'enforce_privacy', violation_type: 'privacy', direction: Direction::Inbound),
|
41
|
-
PackwerkChecker.new(key: '
|
41
|
+
PackwerkChecker.new(key: 'enforce_layers', violation_type: 'layer', direction: Direction::Outbound),
|
42
42
|
PackwerkChecker.new(key: 'enforce_visibility', violation_type: 'visibility', direction: Direction::Outbound),
|
43
43
|
], T::Array[PackwerkChecker])
|
44
44
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pack_stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gusto Engineers
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: code_teams
|
@@ -109,7 +109,7 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: base64
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
@@ -136,6 +136,20 @@ dependencies:
|
|
136
136
|
- - ">="
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: rake
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
154
|
name: rspec
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,7 +223,7 @@ metadata:
|
|
209
223
|
source_code_uri: https://github.com/rubyatscale/pack_stats
|
210
224
|
changelog_uri: https://github.com/rubyatscale/pack_stats/releases
|
211
225
|
allowed_push_host: https://rubygems.org
|
212
|
-
post_install_message:
|
226
|
+
post_install_message:
|
213
227
|
rdoc_options: []
|
214
228
|
require_paths:
|
215
229
|
- lib
|
@@ -224,8 +238,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
238
|
- !ruby/object:Gem::Version
|
225
239
|
version: '0'
|
226
240
|
requirements: []
|
227
|
-
rubygems_version: 3.
|
228
|
-
signing_key:
|
241
|
+
rubygems_version: 3.5.11
|
242
|
+
signing_key:
|
229
243
|
specification_version: 4
|
230
244
|
summary: A gem to collect statistics about modularization progress in a Rails application
|
231
245
|
using packwerk.
|