pack_stats 0.1.3 → 0.2.1
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 +3 -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: ce560ffcca29a3a4648737e5f2b8bb2c5a74ea0c97a0c449485254946a2ef533
|
4
|
+
data.tar.gz: 7ab159d493e0b9cf92cbf58581147feb50fd24ffbd10920d8f59da5167ff6e6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05235d4235fb6d82686463c0883d2bb987e96f6f659e8e4728ef03ab2a8cfc2b658c43c1891dd2343267614f7a5ef1976b61c76dbe7cccb78afb011e89df1184
|
7
|
+
data.tar.gz: e5d5cad1d468a180818b0110b4bcc120f40e5b2bb7a4ecbbc4c99b6d8a53f83e0b3e76130e928d797649ca21d02ef4dc89790fc8bd8887233acaf183a031153c
|
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,8 @@ 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_folder_privacy', violation_type: 'folder_privacy', direction: Direction::Inbound),
|
42
|
+
PackwerkChecker.new(key: 'enforce_layers', violation_type: 'layer', direction: Direction::Outbound),
|
42
43
|
PackwerkChecker.new(key: 'enforce_visibility', violation_type: 'visibility', direction: Direction::Outbound),
|
43
44
|
], T::Array[PackwerkChecker])
|
44
45
|
|
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.1
|
4
|
+
version: 0.2.1
|
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.
|