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
4 changes: 0 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ Lint/DuplicateBranch:
Style/NegatedIf:
Enabled: false

# Disabling for now until it's clearer why we want this
Style/FrozenStringLiteralComment:
Enabled: false

# It's nice to be able to read the condition first before reading the code within the condition
Style/GuardClause:
Enabled: false
Expand Down
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

source 'https://rubygems.org'

# Specify your gem's dependencies in code_teams.gemspec
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# typed: ignore

require 'bundler/gem_tasks'
Expand Down
2 changes: 2 additions & 0 deletions code_teams.gemspec
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

Gem::Specification.new do |spec|
spec.name = 'code_teams'
spec.version = '1.3.1'
Expand Down
1 change: 1 addition & 0 deletions lib/code_teams/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# typed: strict

module CodeTeams
Expand Down
1 change: 1 addition & 0 deletions lib/code_teams/plugins/identity.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# frozen_string_literal: true
# typed: true

module CodeTeams
Expand Down
2 changes: 2 additions & 0 deletions spec/code_teams/plugin_helper_integration_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

RSpec.describe CodeTeams::Plugin do
before do
CodeTeams.bust_caches!
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/code_teams/plugin_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module TestNamespace; end

RSpec.describe CodeTeams::Plugin do
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'code_teams/testing'

CodeTeams::Testing.enable!
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/code_teams/testing_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'code_teams/testing'

CodeTeams::Testing.enable!
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/code_teams/utils_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

RSpec.describe CodeTeams::Utils do
describe '.underscore' do
# These cases pin the exact behavior of the acronym-splitting step so that the
Expand Down
2 changes: 2 additions & 0 deletions spec/lib/code_teams_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

RSpec.describe CodeTeams do
let(:team_yml) do
<<~YML.strip
Expand Down
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'bundler/setup'
require 'pry'
require 'code_teams'
Expand Down
2 changes: 2 additions & 0 deletions spec/support/io_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

module IOHelpers
def write_team_yml(extra_data: false)
write_file('config/teams/my_team.yml', YAML.dump({
Expand Down
Loading