cleo_codeowners 0.1.0 → 0.2.0

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: 0b451268ca7f9665ef4508901f64fb59e870948c24608555927cd4175e2cd5b7
4
- data.tar.gz: f845e65d47b0e85f6c37e113b9d281a857ad07cd2506bc961a5797395abcbddf
3
+ metadata.gz: c63f568dd1ca8df56852f25c7df28cb462e7684f3681d7b2921905344947a4f0
4
+ data.tar.gz: 4e6d293428da814ff5ab29f73a9095a1b4cb3bd8d37a856229b2829012be8462
5
5
  SHA512:
6
- metadata.gz: eff3685362b27dbb5ca99c070ee274046c4f85f887e0a8680f705e8631caec387d6d6fd9d6cb7b97a9aefdd1b1f48c935bd399a618c51200b9731dd62061e3d5
7
- data.tar.gz: 37f6cf695c019c07957cc630e09ab9b0e729065c25b02747a685a540b10d443b757d5776fb914b212d5eef15339a814370c2828a65ab4fd982ddcd831ae35cba
6
+ metadata.gz: 6dff31a87fd703933fdcdb92da9428c4908f735b9d3d48a3b5bf06c86fd7ab0e73ebc2728bb009e9e784975a889056393620cb964fb087c78a08ffcd0066f157
7
+ data.tar.gz: e1c87696a2ec2984d09152fac3cf5d54897ff59b8cee684a16e19f9e137e21f6f4a989da49add28a8d4381328c138b61ca6844a443b8bbc3e91dd6f814870e05
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ ##
4
+ # Root module for this gem
3
5
  module CleoCodeowners
4
- VERSION = '0.1.0'
6
+ VERSION = '0.2.0'
5
7
  end
@@ -21,7 +21,7 @@ module Codeowners
21
21
  last_matching_ownership = find_ownership_for_file(filepath:)
22
22
  return [] if last_matching_ownership.nil?
23
23
 
24
- last_matching_ownership.owners.map(&:to_s)
24
+ last_matching_ownership.owners.map(&:short_name)
25
25
  end
26
26
 
27
27
  # Find the most likely owners of the file with the given filepath. Returns
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cleo_codeowners
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - "@agentAngelope"