Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at bigrails@gusto.com.
reported to the community leaders responsible for enforcement at rubyatscale@gusto.com.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PATH
remote: .
specs:
modularization_statistics (1.33.1)
bigrails-teams
modularization_statistics (1.34.0)
code_ownership
code_teams
dogapi
package_protections
parse_packwerk
Expand All @@ -18,12 +18,12 @@ GEM
minitest (>= 5.1)
tzinfo (~> 2.0)
ast (2.4.2)
bigrails-teams (0.1.0)
sorbet-runtime
code_ownership (1.23.0)
bigrails-teams
code_ownership (1.28.0)
code_teams (~> 1.0)
parse_packwerk
sorbet-runtime
code_teams (1.0.0)
sorbet-runtime
coderay (1.1.3)
concurrent-ruby (1.1.10)
diff-lcs (1.5.0)
Expand Down
2 changes: 1 addition & 1 deletion lib/modularization_statistics.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
require 'json'
require 'yaml'
require 'benchmark'
require 'teams'
require 'code_teams'
require 'code_ownership'
require 'pathname'
require 'modularization_statistics/private/source_code_file'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class SourceCodeFile < T::Struct

const :is_componentized_file, T::Boolean
const :is_packaged_file, T::Boolean
const :team_owner, T.nilable(Teams::Team)
const :team_owner, T.nilable(CodeTeams::Team)
const :pathname, Pathname

sig { returns(T::Boolean) }
Expand Down
4 changes: 2 additions & 2 deletions modularization_statistics.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = 'modularization_statistics'
spec.version = '1.33.1'
spec.version = '1.34.0'
spec.authors = ['Gusto Engineers']
spec.email = ['dev@gusto.com']

Expand All @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|

spec.require_paths = ['lib']

spec.add_dependency 'bigrails-teams'
spec.add_dependency 'code_teams'
spec.add_dependency 'code_ownership'
spec.add_dependency 'dogapi'
spec.add_dependency 'package_protections'
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spec/modularization_statistics_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module ModularizationStatistics # rubocop:disable RSpec/DescribedClassModuleWrap
let(:metrics) { subject }

before do
Teams.bust_caches!
CodeTeams.bust_caches!
CodeOwnership.bust_caches!
end

Expand Down
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ def sorbet_double(stubbed_class, attr_map = {})
match = filename.match(/_(\d+)/)
if match
team_number = match[1]
sorbet_double(Teams::Team, name: "Team #{team_number}")
sorbet_double(CodeTeams::Team, name: "Team #{team_number}")
end
end
end
end

RSpec.shared_context 'only one team' do
before do
allow(CodeOwnership).to receive(:for_file).and_return(sorbet_double(Teams::Team, name: 'Some team'))
allow(CodeOwnership).to receive(:for_file).and_return(sorbet_double(CodeTeams::Team, name: 'Some team'))
end
end