team_fastlane-rubocop 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a50de6fc8ff38ad24b91904986d214e5b8b9f3f6a3ab391202037d5b96f1936c
4
+ data.tar.gz: f3674b90096a29643aa02e1333469fa24b3f73dd41b480620a4aeb16ee7a3fa1
5
+ SHA512:
6
+ metadata.gz: c2f3c30ece360d0b21d2c5fd5873115c97dcb02969eb72e0c6cbd1b6e76bca9372ab36fe1348b767e9a089bebfeb96464a6d2f53b81cca3d9747cf3a1c080c15
7
+ data.tar.gz: 9c94a5b9346fe0aa732049ce05b1deb74a95ba390a3c3be9412fed4ac8fadd6f0ea85c0fb6313f0101cb5d0f3885d56504fa980c27b4e311f14b13ae4f0afc6d
data/CHANGELOG.adoc ADDED
@@ -0,0 +1,136 @@
1
+ = Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on https://keepachangelog.com[Keep a Changelog],
6
+ and this project adheres to https://semver.org[Semantic Versioning].
7
+
8
+ == Unreleased
9
+
10
+ == [1.0.0] - 2023-08-01
11
+ === Changed
12
+ Renamed and restructured for release on rubygems
13
+
14
+ == [0.2.15] - 2023-07-20
15
+ === Updated
16
+ - Rubocop version updated to 1.54.2
17
+ - Rubocop-rails version updated to 2.20.2
18
+
19
+ == [0.2.14] - 2023-06-06
20
+ === Updated
21
+ - Rubocop version updated to 1.52.0
22
+ - Rubocop-performance version updated to 1.18.0
23
+
24
+ == [0.2.13] - 2023-05-15
25
+ === Updated
26
+ - Rubocop version updated to 1.51.0
27
+ - Rubocop-rails version updated to 2.19.1
28
+
29
+ == [0.2.12] - 2023-04-14
30
+ === Updated
31
+ - Rubocop version updated to 1.50.1
32
+ - Rubocop-performance version updated to 1.17.1
33
+ - Rubocop-rails version updated to 2.19.0
34
+
35
+ == [0.2.11] - 2023-03-20
36
+ === Updated
37
+ - Rubocop version updated to 1.48.1
38
+ - Rubocop-rails version updated to 2.18.0
39
+
40
+ == [0.2.10] - 2023-02-20
41
+ === Updated
42
+ - Rubocop version updated to 1.45.1
43
+ - Rubocop-performance version updated to 1.16.0
44
+
45
+ == [0.2.9] - 2023-01-17
46
+ === Updated
47
+ - Rubocop version updated to 1.43.0
48
+ - Rubocop-performance version updated to 1.15.2
49
+ - Rubocop-rails version updated to 2.17.4
50
+
51
+ == [0.2.8] - 2022-12-19
52
+ === Updated
53
+ - Rubocop version updated to 1.40.0
54
+
55
+ == [0.2.7] - 2022-12-07
56
+ === Updated
57
+ - Rubocop version updated to 1.39.0
58
+ - Rubocop-performance version updated to 1.15.1
59
+ - Rubocop-rails version updated to 2.17.3
60
+
61
+ == [0.2.6] - 2022-11-01
62
+ === Updated
63
+ - Rubocop version updated to 1.38.0
64
+ - Rubocop-rails version updated to 2.17.2
65
+
66
+ == [0.2.5] - 2022-10-10
67
+ === Updated
68
+ - Dependencies
69
+
70
+ == [0.2.4] - 2022-08-29
71
+ === Updated
72
+ - Rubocop version updated to 1.35.1
73
+
74
+ == [0.2.3] - 2022-07-29
75
+ === Updated
76
+ - Rubocop version updated to 1.32.0
77
+ - Rubocop-performance version updated to 1.14.3
78
+ - Rubocop-rails version updated to 2.15.2
79
+
80
+ == [0.2.2] - 2022-06-20
81
+ === Updated
82
+ - Rubocop version updated to 1.30.1
83
+ - Rubocop-performance version updated to 1.14.2
84
+ - Rubocop-rails version updated to 2.15.0
85
+
86
+ == [0.2.1] - 2022-05-02
87
+ === Updated
88
+ - Rubocop version updated to 1.30.0
89
+ - Rubocop-performance version updated to 1.14.0
90
+
91
+ == [0.2.0] - 2022-05-05
92
+ === Updated
93
+ - Increase the target ruby version to 3.1 in order to support new syntax features.
94
+
95
+ == [0.1.4] - 2022-05-02
96
+ === Updated
97
+ - Rubocop version updated to 1.28.2
98
+
99
+ == [0.1.3] - 2022-03-29
100
+ === Updated
101
+ - Rubocop version updated to 1.26.1
102
+ - Rubocop-performance version updated to 1.13.3
103
+ - Rubocop-rails version updated to 2.14.2
104
+
105
+ == [0.1.2] - 2022-03-04
106
+ === Updated
107
+ - Rubocop version updated to 1.25.1
108
+ - Rubocop-performance version updated to 1.13.2
109
+ - Rubocop-rails version updated to 2.13.2
110
+
111
+ == [0.1.1] - 2022-01-03
112
+ === Updated
113
+ - Rubocop version updated to 1.24.1
114
+ - Rubocop-performance version updated to 1.13.1
115
+ - Rubocop-rails version updated to 2.13.0
116
+
117
+ == [0.1.0] - 2021-05-17
118
+ === Bugfix
119
+ - Require rubocop-rails in the config so it actually gets used.
120
+
121
+ == [0.0.3] - 2021-04-27
122
+ === Updated
123
+ - Rubocop version updated to 1.13.0
124
+ - Rubocop-performance version updated to 1.11.0
125
+
126
+ == [0.0.2] - 2021-01-07
127
+ === Added
128
+ - Rubocop-rails
129
+
130
+ === Updated
131
+ - Rubocop version updated to 1.8.0
132
+ - Rubocop-performance version updated to 1.9.2
133
+
134
+ == [0.0.1] - 2020-06-10
135
+ === Added
136
+ - Initial gem version with the extracted .rubocop.yml from the backend ruby projects.
data/README.adoc ADDED
@@ -0,0 +1,47 @@
1
+ = Team Fastlane Rubocop Config
2
+
3
+ Team Fastlane shared ruby style configs.
4
+
5
+ == Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ [source,ruby]
10
+ ----
11
+ group :test, :development do
12
+ gem 'rubocop-team_fastlane'
13
+ end
14
+ ----
15
+
16
+ Or, for a Ruby library, add this to your gemspec:
17
+
18
+ [source,ruby]
19
+ ----
20
+ spec.add_development_dependency 'rubocop-team_fastlane'
21
+ ----
22
+
23
+ And then run:
24
+
25
+ [source,bash]
26
+ ----
27
+ $ bundle install
28
+ ----
29
+
30
+ == Usage
31
+
32
+ Create a `.rubocop.yml` with the following directives:
33
+
34
+ [source,yaml]
35
+ ----
36
+ inherit_gem:
37
+ rubocop-team_fastlane: default.yml
38
+ ----
39
+
40
+ Now, run:
41
+
42
+ [source,bash]
43
+ ----
44
+ $ bundle exec rubocop
45
+ ----
46
+
47
+ You do not need to include rubocop directly in your application's dependencies. This will include a specific version of `rubocop` that is shared across all projects.
data/default.yml ADDED
@@ -0,0 +1,61 @@
1
+ require:
2
+ - rubocop-performance
3
+ - rubocop-rails
4
+
5
+ AllCops:
6
+ Exclude:
7
+ - bin/**/*
8
+ - vendor/**/*
9
+ NewCops: enable
10
+ TargetRubyVersion: 3.1
11
+
12
+ Layout/EndOfLine:
13
+ EnforcedStyle: lf
14
+
15
+ Layout/LineLength:
16
+ Max: 120
17
+
18
+ Layout/MultilineMethodCallIndentation:
19
+ EnforcedStyle: indented_relative_to_receiver
20
+
21
+ Layout/MultilineOperationIndentation:
22
+ EnforcedStyle: indented
23
+
24
+ Layout/SpaceInsideHashLiteralBraces:
25
+ EnforcedStyle: no_space
26
+
27
+ Metrics/AbcSize:
28
+ Max: 25
29
+
30
+ Metrics/CyclomaticComplexity:
31
+ Max: 10
32
+
33
+ Metrics/MethodLength:
34
+ Max: 20
35
+
36
+ Metrics/ModuleLength:
37
+ Max: 150
38
+
39
+ Style/AndOr:
40
+ Enabled: false
41
+
42
+ Style/Documentation:
43
+ Enabled: false
44
+
45
+ Style/GuardClause:
46
+ MinBodyLength: 2
47
+
48
+ Style/Lambda:
49
+ EnforcedStyle: literal
50
+
51
+ Style/NumericLiterals:
52
+ Enabled: false
53
+
54
+ Style/TrailingCommaInArguments:
55
+ EnforcedStyleForMultiline: comma
56
+
57
+ Style/TrailingCommaInArrayLiteral:
58
+ EnforcedStyleForMultiline: comma
59
+
60
+ Style/TrailingCommaInHashLiteral:
61
+ EnforcedStyleForMultiline: comma
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module TeamFastlane
4
+ module Rubocop
5
+ VERSION = '1.0.0'
6
+ end
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'team_fastlane/rubocop/version'
4
+
5
+ module TeamFastlane
6
+ # This is not the file you are looking for. See the .rubocop.yml
7
+ module Rubocop
8
+ end
9
+ end
metadata ADDED
@@ -0,0 +1,92 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: team_fastlane-rubocop
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Team Fastlane
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-08-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rubocop
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 1.54.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 1.54.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-performance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.18.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.18.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - '='
46
+ - !ruby/object:Gem::Version
47
+ version: 2.20.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - '='
53
+ - !ruby/object:Gem::Version
54
+ version: 2.20.2
55
+ description:
56
+ email:
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files:
60
+ - README.adoc
61
+ - CHANGELOG.adoc
62
+ files:
63
+ - CHANGELOG.adoc
64
+ - README.adoc
65
+ - default.yml
66
+ - lib/team_fastlane/rubocop.rb
67
+ - lib/team_fastlane/rubocop/version.rb
68
+ homepage:
69
+ licenses:
70
+ - MIT
71
+ metadata:
72
+ rubygems_mfa_required: 'true'
73
+ post_install_message:
74
+ rdoc_options: []
75
+ require_paths:
76
+ - lib
77
+ required_ruby_version: !ruby/object:Gem::Requirement
78
+ requirements:
79
+ - - ">="
80
+ - !ruby/object:Gem::Version
81
+ version: '3.1'
82
+ required_rubygems_version: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ version: '0'
87
+ requirements: []
88
+ rubygems_version: 3.4.10
89
+ signing_key:
90
+ specification_version: 4
91
+ summary: Gem for an internal project
92
+ test_files: []