Skip to content

Commit 3a50a25

Browse files
hsbtdeivid-rodriguez
authored andcommitted
bin/rubocop -A --only Layout/EmptyLineAfterMagicComment
1 parent 6c520a8 commit 3a50a25

File tree

299 files changed

+302
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+302
-3
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ AllCops:
1111
- 'tmp/**/*'
1212
TargetRubyVersion: 2.6
1313

14+
Layout/EmptyLineAfterMagicComment:
15+
Enabled: true
16+
Exclude:
17+
- test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
18+
1419
Layout/AccessModifierIndentation:
1520
Enabled: true
1621

.rubocop_bundler.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,6 @@ Layout/ElseAlignment:
259259
Layout/EmptyComment:
260260
Enabled: true
261261

262-
Layout/EmptyLineAfterMagicComment:
263-
Enabled: true
264-
265262
Layout/EmptyLineBetweenDefs:
266263
Enabled: true
267264

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
RakeFileUtils.verbose_flag = false
34

45
require "rubygems"

exe/gem

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
3+
34
#--
45
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
56
# All rights reserved.

exe/update_rubygems

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env ruby
22
# frozen_string_literal: true
3+
34
#--
45
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
56
# All rights reserved.

lib/rubygems.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
#--
34
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
45
# All rights reserved.

lib/rubygems/available_set.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
class Gem::AvailableSet
34
include Enumerable
45

lib/rubygems/basic_specification.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
##
34
# BasicSpecification is an abstract class which implements some common code
45
# used by both Specification and StubSpecification.

lib/rubygems/command.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
#--
34
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
45
# All rights reserved.

lib/rubygems/command_manager.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
#--
34
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
45
# All rights reserved.

0 commit comments

Comments
 (0)