fast_code_owners 0.0.4-x86_64-linux-musl → 0.0.7-x86_64-linux-musl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2c11ccb332489bd5a4ed1630177fc07fe2c806cfb9fb65891e89fff738499417
4
- data.tar.gz: a82bb89d5615a3f038f036c8f41719d3ffbe34394a7446f49a2a90ee14ba3ee1
3
+ metadata.gz: 5d0aa7421be12ec06399c9238a1ddbf7ed021e240a965b977f80b64d00dbb2a4
4
+ data.tar.gz: 30241041b5a7b1fac88d2cbb8d391eb627f39456a4b930e9273898416dfd78b8
5
5
  SHA512:
6
- metadata.gz: '07838f8fe7ffdddb42b2bf6dc0f8233c00cba34774d359ef731cccd23513d0d6066d570d10c84bd59f05eb8eb454787db712c0ca273aa362b18bb8051bd83e35'
7
- data.tar.gz: f6c7a588c82f0181a44420a88a49db934dc381360675ee20e4db691d6ca58c81d03df7d6974ace82327442308ab7a0135d6d1a3f17b615e0b155f7294761e220
6
+ metadata.gz: b98af922c0d5bec3cdfb1e7f9f8ecf93a6f5d1e9037e8694e6a7bd086124645c43a88512d1373e3ddd6e2a14f87821cc082d5bf4a6b6c3e59187460190c38914
7
+ data.tar.gz: 92f6aad489bc5dd8187d8d8b30908ae49fe2ca637634df91ada5bf3037546538c91c20a93ee4699ef939018a15258957a1094403236250ba30141623a1f390fb
data/README.md CHANGED
@@ -8,10 +8,6 @@ The [codeowners-rs](https://github.com/rubyatscale/codeowners-rs) CLI is a fast
8
8
 
9
9
  **fast_code_owners** provides Ruby APIs that delegate to codeowners-rs. Much of this code was lifted from [code_ownership](https://github.com/rubyatscale/code_ownership).
10
10
 
11
- ## Dependencies
12
-
13
- - [Rust](https://www.rust-lang.org/tools/install) must be installed and in the PATH
14
-
15
11
  ## Installation
16
12
 
17
13
  ```bash
data/exe/codeowners ADDED
@@ -0,0 +1,79 @@
1
+ #!/usr/bin/env dotslash
2
+
3
+ {
4
+ "name": "codeowners",
5
+ "platforms": {
6
+ "macos-x86_64": {
7
+ "size": 4331528,
8
+ "hash": "blake3",
9
+ "digest": "32bfc7664302bbb52a3130e1207e1b50aa717ebcd03baf3bf166415c98100dde",
10
+ "format": "tar.gz",
11
+ "path": "codeowners",
12
+ "providers": [
13
+ {
14
+ "url": "https://github.com/rubyatscale/codeowners-rs/releases/download/v0.2.4/codeowners-mac.tar.gz"
15
+ },
16
+ {
17
+ "type": "github-release",
18
+ "repo": "https://github.com/rubyatscale/codeowners-rs",
19
+ "tag": "v0.2.4",
20
+ "name": "codeowners-mac.tar.gz"
21
+ }
22
+ ]
23
+ },
24
+ "macos-aarch64": {
25
+ "size": 4331528,
26
+ "hash": "blake3",
27
+ "digest": "32bfc7664302bbb52a3130e1207e1b50aa717ebcd03baf3bf166415c98100dde",
28
+ "format": "tar.gz",
29
+ "path": "codeowners",
30
+ "providers": [
31
+ {
32
+ "url": "https://github.com/rubyatscale/codeowners-rs/releases/download/v0.2.4/codeowners-mac.tar.gz"
33
+ },
34
+ {
35
+ "type": "github-release",
36
+ "repo": "https://github.com/rubyatscale/codeowners-rs",
37
+ "tag": "v0.2.4",
38
+ "name": "codeowners-mac.tar.gz"
39
+ }
40
+ ]
41
+ },
42
+ "linux-x86_64": {
43
+ "size": 18038611,
44
+ "hash": "blake3",
45
+ "digest": "e04e66621efc4c2755b4ef912f5154e9dddafc4a1651bb565fc01465f059d9be",
46
+ "format": "tar.gz",
47
+ "path": "codeowners",
48
+ "providers": [
49
+ {
50
+ "url": "https://github.com/rubyatscale/codeowners-rs/releases/download/v0.2.4/x86_64-unknown-linux-gnu.tar.gz"
51
+ },
52
+ {
53
+ "type": "github-release",
54
+ "repo": "https://github.com/rubyatscale/codeowners-rs",
55
+ "tag": "v0.2.4",
56
+ "name": "x86_64-unknown-linux-gnu.tar.gz"
57
+ }
58
+ ]
59
+ },
60
+ "linux-aarch64": {
61
+ "size": 17411182,
62
+ "hash": "blake3",
63
+ "digest": "f812a66e884e91a5b708b0c0e03149079ef07e2803f0b207a9ca6fad6fe06207",
64
+ "format": "tar.gz",
65
+ "path": "codeowners",
66
+ "providers": [
67
+ {
68
+ "url": "https://github.com/rubyatscale/codeowners-rs/releases/download/v0.2.4/aarch64-unknown-linux-gnu.tar.gz"
69
+ },
70
+ {
71
+ "type": "github-release",
72
+ "repo": "https://github.com/rubyatscale/codeowners-rs",
73
+ "tag": "v0.2.4",
74
+ "name": "aarch64-unknown-linux-gnu.tar.gz"
75
+ }
76
+ ]
77
+ }
78
+ }
79
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastCodeOwners
4
- VERSION = '0.0.4'
4
+ VERSION = '0.0.7'
5
5
  end
@@ -8,9 +8,15 @@ require 'sorbet-runtime'
8
8
  require_relative 'fast_code_owners/file_path_team_cache'
9
9
  require_relative 'fast_code_owners/team_finder'
10
10
  require_relative 'fast_code_owners/version'
11
- require_relative 'fast_code_owners/fast_code_owners'
12
11
  require_relative 'fast_code_owners/file_path_finder'
13
12
 
13
+ begin
14
+ RUBY_VERSION =~ /(\d+\.\d+)/
15
+ require "fast_code_owners/#{Regexp.last_match(1)}/fast_code_owners"
16
+ rescue LoadError
17
+ require 'fast_code_owners/fast_code_owners'
18
+ end
19
+
14
20
  module FastCodeOwners
15
21
  module_function
16
22
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_code_owners
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.7
5
5
  platform: x86_64-linux-musl
6
6
  authors:
7
7
  - Perry Hertler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-05-03 00:00:00.000000000 Z
11
+ date: 2025-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: code_teams
@@ -125,11 +125,13 @@ dependencies:
125
125
  description: A ruby interface that determines file ownership for git repositories
126
126
  email:
127
127
  - perry.hertler@gusto.com
128
- executables: []
128
+ executables:
129
+ - codeowners
129
130
  extensions: []
130
131
  extra_rdoc_files: []
131
132
  files:
132
133
  - README.md
134
+ - exe/codeowners
133
135
  - ext/fast_code_owners/tests/fixtures/valid_project/config/code_ownership.yml
134
136
  - ext/fast_code_owners/tests/fixtures/valid_project/config/teams/bar.yml
135
137
  - ext/fast_code_owners/tests/fixtures/valid_project/config/teams/foo.yml