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 @@ -36,10 +36,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 packs.gemspec
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# typed: ignore
# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
Expand Down
3 changes: 2 additions & 1 deletion lib/packs-specification.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# typed: strict
# frozen_string_literal: true

require 'yaml'
require 'pathname'
Expand All @@ -10,7 +11,7 @@
# because this allows a production environment to require `packs-specification` only and get some simple functionality, without
# needing to load all of `packs`.
module Packs
PACKAGE_FILE = T.let('package.yml'.freeze, String)
PACKAGE_FILE = T.let('package.yml', String)

class << self
extend T::Sig
Expand Down
1 change: 1 addition & 0 deletions lib/packs/pack.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# typed: strict
# frozen_string_literal: true

module Packs
class Pack
Expand Down
2 changes: 2 additions & 0 deletions lib/packs/rspec/support.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# frozen_string_literal: true

require 'fileutils'
require 'tmpdir'
require_relative 'fixture_helper'
Expand Down
1 change: 1 addition & 0 deletions lib/packs/specification.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# typed: strict
# frozen_string_literal: true

require 'packs/specification/configuration'

Expand Down
1 change: 1 addition & 0 deletions lib/packs/specification/configuration.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# typed: strict
# frozen_string_literal: true

module Packs
module Specification
Expand Down
2 changes: 2 additions & 0 deletions packs-specification.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 = 'packs-specification'
spec.version = '0.0.11'
Expand Down
Loading