trailblazer-rails 2.1.4 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +32 -0
- data/.gitignore +16 -15
- data/Appraisals +18 -0
- data/CHANGES.md +166 -141
- data/Gemfile +11 -5
- data/LICENSE.txt +21 -21
- data/README.md +43 -39
- data/Rakefile +9 -2
- data/gemfiles/rails_5.2.gemfile +17 -0
- data/gemfiles/rails_5.2.gemfile.lock +183 -0
- data/gemfiles/rails_6.0.gemfile +17 -0
- data/gemfiles/rails_6.0.gemfile.lock +183 -0
- data/gemfiles/rails_6.1.gemfile +17 -0
- data/gemfiles/rails_6.1.gemfile.lock +182 -0
- data/gemfiles/rails_7.0.gemfile +17 -0
- data/gemfiles/rails_7.0.gemfile.lock +182 -0
- data/lib/trailblazer/rails/cell.rb +34 -21
- data/lib/trailblazer/rails/controller.rb +69 -55
- data/lib/trailblazer/rails/railtie/extend_application_controller.rb +28 -28
- data/lib/trailblazer/rails/railtie/loader.rb +58 -56
- data/lib/trailblazer/rails/railtie.rb +17 -30
- data/lib/trailblazer/rails/version.rb +5 -5
- data/lib/trailblazer/rails.rb +0 -2
- data/lib/trailblazer-rails.rb +1 -1
- data/trailblazer-rails.gemspec +25 -27
- metadata +37 -53
- data/.rubocop.yml +0 -9
- data/.rubocop_todo.yml +0 -294
- data/.ruby-version +0 -1
- data/.travis.yml +0 -16
- data/lib/trailblazer/rails/test/integration.rb +0 -6
metadata
CHANGED
@@ -1,97 +1,77 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trailblazer-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: railties
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 2.
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 2.2.0
|
19
|
+
version: 5.2.0
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 2.2.0
|
26
|
+
version: 5.2.0
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
|
-
name: trailblazer
|
35
|
-
requirement: !ruby/object:Gem::Requirement
|
36
|
-
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 0.1.0
|
40
|
-
type: :runtime
|
41
|
-
prerelease: false
|
42
|
-
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
requirements:
|
44
|
-
- - ">="
|
45
|
-
- !ruby/object:Gem::Version
|
46
|
-
version: 0.1.0
|
47
|
-
- !ruby/object:Gem::Dependency
|
48
|
-
name: reform-rails
|
28
|
+
name: trailblazer
|
49
29
|
requirement: !ruby/object:Gem::Requirement
|
50
30
|
requirements:
|
51
31
|
- - ">="
|
52
32
|
- !ruby/object:Gem::Version
|
53
|
-
version:
|
33
|
+
version: 2.1.0
|
54
34
|
- - "<"
|
55
35
|
- !ruby/object:Gem::Version
|
56
|
-
version:
|
36
|
+
version: 2.2.0
|
57
37
|
type: :runtime
|
58
38
|
prerelease: false
|
59
39
|
version_requirements: !ruby/object:Gem::Requirement
|
60
40
|
requirements:
|
61
41
|
- - ">="
|
62
42
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
43
|
+
version: 2.1.0
|
64
44
|
- - "<"
|
65
45
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
46
|
+
version: 2.2.0
|
67
47
|
- !ruby/object:Gem::Dependency
|
68
|
-
name:
|
48
|
+
name: trailblazer-loader
|
69
49
|
requirement: !ruby/object:Gem::Requirement
|
70
50
|
requirements:
|
71
|
-
- - "
|
51
|
+
- - ">="
|
72
52
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
53
|
+
version: 0.1.0
|
74
54
|
type: :development
|
75
55
|
prerelease: false
|
76
56
|
version_requirements: !ruby/object:Gem::Requirement
|
77
57
|
requirements:
|
78
|
-
- - "
|
58
|
+
- - ">="
|
79
59
|
- !ruby/object:Gem::Version
|
80
|
-
version:
|
60
|
+
version: 0.1.0
|
81
61
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
62
|
+
name: bundler
|
83
63
|
requirement: !ruby/object:Gem::Requirement
|
84
64
|
requirements:
|
85
|
-
- - "
|
65
|
+
- - ">="
|
86
66
|
- !ruby/object:Gem::Version
|
87
|
-
version: '
|
67
|
+
version: '0'
|
88
68
|
type: :development
|
89
69
|
prerelease: false
|
90
70
|
version_requirements: !ruby/object:Gem::Requirement
|
91
71
|
requirements:
|
92
|
-
- - "
|
72
|
+
- - ">="
|
93
73
|
- !ruby/object:Gem::Version
|
94
|
-
version: '
|
74
|
+
version: '0'
|
95
75
|
- !ruby/object:Gem::Dependency
|
96
76
|
name: minitest
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -107,7 +87,7 @@ dependencies:
|
|
107
87
|
- !ruby/object:Gem::Version
|
108
88
|
version: '0'
|
109
89
|
- !ruby/object:Gem::Dependency
|
110
|
-
name:
|
90
|
+
name: rake
|
111
91
|
requirement: !ruby/object:Gem::Requirement
|
112
92
|
requirements:
|
113
93
|
- - ">="
|
@@ -120,23 +100,29 @@ dependencies:
|
|
120
100
|
- - ">="
|
121
101
|
- !ruby/object:Gem::Version
|
122
102
|
version: '0'
|
123
|
-
description:
|
103
|
+
description:
|
124
104
|
email:
|
125
105
|
- apotonick@gmail.com
|
126
106
|
executables: []
|
127
107
|
extensions: []
|
128
108
|
extra_rdoc_files: []
|
129
109
|
files:
|
110
|
+
- ".github/workflows/ci.yml"
|
130
111
|
- ".gitignore"
|
131
|
-
-
|
132
|
-
- ".rubocop_todo.yml"
|
133
|
-
- ".ruby-version"
|
134
|
-
- ".travis.yml"
|
112
|
+
- Appraisals
|
135
113
|
- CHANGES.md
|
136
114
|
- Gemfile
|
137
115
|
- LICENSE.txt
|
138
116
|
- README.md
|
139
117
|
- Rakefile
|
118
|
+
- gemfiles/rails_5.2.gemfile
|
119
|
+
- gemfiles/rails_5.2.gemfile.lock
|
120
|
+
- gemfiles/rails_6.0.gemfile
|
121
|
+
- gemfiles/rails_6.0.gemfile.lock
|
122
|
+
- gemfiles/rails_6.1.gemfile
|
123
|
+
- gemfiles/rails_6.1.gemfile.lock
|
124
|
+
- gemfiles/rails_7.0.gemfile
|
125
|
+
- gemfiles/rails_7.0.gemfile.lock
|
140
126
|
- lib/trailblazer-rails.rb
|
141
127
|
- lib/trailblazer/operation/responder.rb
|
142
128
|
- lib/trailblazer/rails.rb
|
@@ -146,14 +132,13 @@ files:
|
|
146
132
|
- lib/trailblazer/rails/railtie.rb
|
147
133
|
- lib/trailblazer/rails/railtie/extend_application_controller.rb
|
148
134
|
- lib/trailblazer/rails/railtie/loader.rb
|
149
|
-
- lib/trailblazer/rails/test/integration.rb
|
150
135
|
- lib/trailblazer/rails/version.rb
|
151
136
|
- trailblazer-rails.gemspec
|
152
|
-
homepage:
|
137
|
+
homepage: https://trailblazer.to/2.1/docs/trailblazer.html#trailblazer-rails
|
153
138
|
licenses:
|
154
139
|
- MIT
|
155
140
|
metadata: {}
|
156
|
-
post_install_message:
|
141
|
+
post_install_message:
|
157
142
|
rdoc_options: []
|
158
143
|
require_paths:
|
159
144
|
- lib
|
@@ -168,9 +153,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
168
153
|
- !ruby/object:Gem::Version
|
169
154
|
version: '0'
|
170
155
|
requirements: []
|
171
|
-
|
172
|
-
|
173
|
-
signing_key:
|
156
|
+
rubygems_version: 3.2.22
|
157
|
+
signing_key:
|
174
158
|
specification_version: 4
|
175
159
|
summary: Convenient Rails support for Trailblazer.
|
176
160
|
test_files: []
|
data/.rubocop.yml
DELETED
data/.rubocop_todo.yml
DELETED
@@ -1,294 +0,0 @@
|
|
1
|
-
# This configuration was generated by
|
2
|
-
# `rubocop --auto-gen-config`
|
3
|
-
# on 2018-04-05 15:17:59 +0800 using RuboCop version 0.52.0.
|
4
|
-
# The point is for the user to remove these configuration records
|
5
|
-
# one by one as the offenses are removed from the code base.
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
8
|
-
|
9
|
-
# Offense count: 9
|
10
|
-
# Cop supports --auto-correct.
|
11
|
-
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
12
|
-
# Include: **/Gemfile, **/gems.rb
|
13
|
-
Bundler/OrderedGems:
|
14
|
-
Exclude:
|
15
|
-
- 'test/rails5.0/Gemfile'
|
16
|
-
- 'test/rails5.1/Gemfile'
|
17
|
-
- 'test/rails5.2/Gemfile'
|
18
|
-
|
19
|
-
# Offense count: 2
|
20
|
-
# Cop supports --auto-correct.
|
21
|
-
# Configuration parameters: Include, TreatCommentsAsGroupSeparators.
|
22
|
-
# Include: **/*.gemspec
|
23
|
-
Gemspec/OrderedDependencies:
|
24
|
-
Exclude:
|
25
|
-
- 'trailblazer-rails.gemspec'
|
26
|
-
|
27
|
-
# Offense count: 2
|
28
|
-
# Cop supports --auto-correct.
|
29
|
-
# Configuration parameters: EnforcedStyle, IndentationWidth.
|
30
|
-
# SupportedStyles: outdent, indent
|
31
|
-
Layout/AccessModifierIndentation:
|
32
|
-
Exclude:
|
33
|
-
- 'lib/trailblazer/rails/controller.rb'
|
34
|
-
- 'test/rails5.0/app/controllers/params_controller.rb'
|
35
|
-
|
36
|
-
# Offense count: 5
|
37
|
-
# Cop supports --auto-correct.
|
38
|
-
Layout/EmptyLines:
|
39
|
-
Exclude:
|
40
|
-
- 'test/rails5.2/Gemfile'
|
41
|
-
- 'test/test_helper.rb'
|
42
|
-
|
43
|
-
# Offense count: 4
|
44
|
-
# Cop supports --auto-correct.
|
45
|
-
Layout/EmptyLinesAroundAccessModifier:
|
46
|
-
Exclude:
|
47
|
-
- 'lib/trailblazer/rails/controller.rb'
|
48
|
-
- 'test/rails5.0/app/controllers/params_controller.rb'
|
49
|
-
- 'test/rails5.1/app/controllers/params_controller.rb'
|
50
|
-
- 'test/rails5.2/app/controllers/params_controller.rb'
|
51
|
-
|
52
|
-
# Offense count: 9
|
53
|
-
# Cop supports --auto-correct.
|
54
|
-
# Configuration parameters: EnforcedStyle.
|
55
|
-
# SupportedStyles: empty_lines, no_empty_lines
|
56
|
-
Layout/EmptyLinesAroundBlockBody:
|
57
|
-
Exclude:
|
58
|
-
- 'test/rails5.0/config/routes.rb'
|
59
|
-
- 'test/rails5.0/db/schema.rb'
|
60
|
-
- 'test/rails5.1/config/routes.rb'
|
61
|
-
- 'test/rails5.1/db/schema.rb'
|
62
|
-
- 'test/rails5.2/config/routes.rb'
|
63
|
-
- 'test/rails5.2/db/schema.rb'
|
64
|
-
|
65
|
-
# Offense count: 3
|
66
|
-
# Cop supports --auto-correct.
|
67
|
-
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
68
|
-
Layout/ExtraSpacing:
|
69
|
-
Exclude:
|
70
|
-
- 'test/rails5.0/bin/setup'
|
71
|
-
- 'test/rails5.1/bin/setup'
|
72
|
-
- 'test/rails5.2/bin/setup'
|
73
|
-
|
74
|
-
# Offense count: 2
|
75
|
-
# Cop supports --auto-correct.
|
76
|
-
# Configuration parameters: EnforcedStyle.
|
77
|
-
# SupportedStyles: normal, rails
|
78
|
-
Layout/IndentationConsistency:
|
79
|
-
Exclude:
|
80
|
-
- 'test/rails5.1/app/controllers/params_controller.rb'
|
81
|
-
- 'test/rails5.2/app/controllers/params_controller.rb'
|
82
|
-
|
83
|
-
# Offense count: 3
|
84
|
-
# Cop supports --auto-correct.
|
85
|
-
Layout/LeadingCommentSpace:
|
86
|
-
Exclude:
|
87
|
-
- 'test/rails5.0/Gemfile'
|
88
|
-
- 'test/rails5.1/Gemfile'
|
89
|
-
- 'test/rails5.2/Gemfile'
|
90
|
-
|
91
|
-
# Offense count: 2
|
92
|
-
# Cop supports --auto-correct.
|
93
|
-
Layout/SpaceAfterColon:
|
94
|
-
Exclude:
|
95
|
-
- 'test/rails5.1/app/controllers/args_controller.rb'
|
96
|
-
- 'test/rails5.2/app/controllers/args_controller.rb'
|
97
|
-
|
98
|
-
# Offense count: 3
|
99
|
-
# Cop supports --auto-correct.
|
100
|
-
Layout/SpaceBeforeComment:
|
101
|
-
Exclude:
|
102
|
-
- 'test/rails5.0/Gemfile'
|
103
|
-
- 'test/rails5.1/Gemfile'
|
104
|
-
- 'test/rails5.2/Gemfile'
|
105
|
-
|
106
|
-
# Offense count: 6
|
107
|
-
# Cop supports --auto-correct.
|
108
|
-
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
109
|
-
# SupportedStyles: space, no_space
|
110
|
-
# SupportedStylesForEmptyBraces: space, no_space
|
111
|
-
Layout/SpaceInsideBlockBraces:
|
112
|
-
Exclude:
|
113
|
-
- 'test/rails5.0/app/concepts/params/operation/with_args.rb'
|
114
|
-
- 'test/rails5.1/app/concepts/params/operation/with_args.rb'
|
115
|
-
- 'test/rails5.2/app/concepts/params/operation/with_args.rb'
|
116
|
-
|
117
|
-
# Offense count: 51
|
118
|
-
# Cop supports --auto-correct.
|
119
|
-
Layout/SpaceInsideParens:
|
120
|
-
Exclude:
|
121
|
-
- 'test/rails5.0/app/concepts/song/operation/create.rb'
|
122
|
-
- 'test/rails5.0/app/concepts/song/operation/show.rb'
|
123
|
-
- 'test/rails5.0/app/controllers/artists_controller.rb'
|
124
|
-
- 'test/rails5.0/app/controllers/params_controller.rb'
|
125
|
-
- 'test/rails5.1/app/concepts/song/operation/create.rb'
|
126
|
-
- 'test/rails5.1/app/concepts/song/operation/show.rb'
|
127
|
-
- 'test/rails5.1/app/controllers/artists_controller.rb'
|
128
|
-
- 'test/rails5.1/app/controllers/params_controller.rb'
|
129
|
-
- 'test/rails5.2/app/concepts/song/operation/create.rb'
|
130
|
-
- 'test/rails5.2/app/concepts/song/operation/show.rb'
|
131
|
-
- 'test/rails5.2/app/controllers/artists_controller.rb'
|
132
|
-
- 'test/rails5.2/app/controllers/params_controller.rb'
|
133
|
-
|
134
|
-
# Offense count: 3
|
135
|
-
# Cop supports --auto-correct.
|
136
|
-
# Configuration parameters: EnforcedStyle.
|
137
|
-
# SupportedStyles: space, no_space
|
138
|
-
Layout/SpaceInsideStringInterpolation:
|
139
|
-
Exclude:
|
140
|
-
- 'test/rails5.0/app/concepts/params/operation/with_args.rb'
|
141
|
-
- 'test/rails5.1/app/concepts/params/operation/with_args.rb'
|
142
|
-
- 'test/rails5.2/app/concepts/params/operation/with_args.rb'
|
143
|
-
|
144
|
-
# Offense count: 1
|
145
|
-
# Cop supports --auto-correct.
|
146
|
-
Lint/DeprecatedClassMethods:
|
147
|
-
Exclude:
|
148
|
-
- 'test/test_helper.rb'
|
149
|
-
|
150
|
-
# Offense count: 1
|
151
|
-
Lint/ParenthesesAsGroupedExpression:
|
152
|
-
Exclude:
|
153
|
-
- 'test/test_helper.rb'
|
154
|
-
|
155
|
-
# Offense count: 1
|
156
|
-
# Configuration parameters: ContextCreatingMethods, MethodCreatingMethods.
|
157
|
-
Lint/UselessAccessModifier:
|
158
|
-
Exclude:
|
159
|
-
- 'lib/trailblazer/rails/cell.rb'
|
160
|
-
|
161
|
-
# Offense count: 1
|
162
|
-
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
|
163
|
-
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
|
164
|
-
Naming/FileName:
|
165
|
-
Exclude:
|
166
|
-
- 'lib/trailblazer-rails.rb'
|
167
|
-
|
168
|
-
# Offense count: 3
|
169
|
-
# Cop supports --auto-correct.
|
170
|
-
# Configuration parameters: EnforcedStyle.
|
171
|
-
# SupportedStyles: braces, no_braces, context_dependent
|
172
|
-
Style/BracesAroundHashParameters:
|
173
|
-
Exclude:
|
174
|
-
- 'test/rails5.0/app/controllers/args_controller.rb'
|
175
|
-
- 'test/rails5.1/app/controllers/args_controller.rb'
|
176
|
-
- 'test/rails5.2/app/controllers/args_controller.rb'
|
177
|
-
|
178
|
-
# Offense count: 23
|
179
|
-
# Configuration parameters: EnforcedStyle.
|
180
|
-
# SupportedStyles: nested, compact
|
181
|
-
Style/ClassAndModuleChildren:
|
182
|
-
Enabled: false
|
183
|
-
|
184
|
-
# Offense count: 1
|
185
|
-
# Cop supports --auto-correct.
|
186
|
-
Style/ColonMethodCall:
|
187
|
-
Exclude:
|
188
|
-
- 'test/test_helper.rb'
|
189
|
-
|
190
|
-
# Offense count: 10
|
191
|
-
Style/Documentation:
|
192
|
-
Exclude:
|
193
|
-
- 'spec/**/*'
|
194
|
-
- 'test/**/*'
|
195
|
-
- 'lib/trailblazer/operation/responder.rb'
|
196
|
-
- 'lib/trailblazer/rails.rb'
|
197
|
-
- 'lib/trailblazer/rails/cell.rb'
|
198
|
-
- 'lib/trailblazer/rails/controller.rb'
|
199
|
-
- 'lib/trailblazer/rails/form.rb'
|
200
|
-
- 'lib/trailblazer/rails/railtie.rb'
|
201
|
-
|
202
|
-
# Offense count: 134
|
203
|
-
# Cop supports --auto-correct.
|
204
|
-
# Configuration parameters: EnforcedStyle.
|
205
|
-
# SupportedStyles: when_needed, always, never
|
206
|
-
Style/FrozenStringLiteralComment:
|
207
|
-
Enabled: false
|
208
|
-
|
209
|
-
# Offense count: 7
|
210
|
-
# Cop supports --auto-correct.
|
211
|
-
# Configuration parameters: EnforcedStyle, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
|
212
|
-
# SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
|
213
|
-
Style/HashSyntax:
|
214
|
-
Exclude:
|
215
|
-
- 'Rakefile'
|
216
|
-
- 'test/rails5.0/app/controllers/args_controller.rb'
|
217
|
-
- 'test/rails5.0/app/controllers/params_controller.rb'
|
218
|
-
- 'test/rails5.1/app/controllers/args_controller.rb'
|
219
|
-
- 'test/rails5.1/app/controllers/params_controller.rb'
|
220
|
-
- 'test/rails5.2/app/controllers/args_controller.rb'
|
221
|
-
- 'test/rails5.2/app/controllers/params_controller.rb'
|
222
|
-
|
223
|
-
# Offense count: 2
|
224
|
-
# Cop supports --auto-correct.
|
225
|
-
# Configuration parameters: EnforcedStyle.
|
226
|
-
# SupportedStyles: line_count_dependent, lambda, literal
|
227
|
-
Style/Lambda:
|
228
|
-
Exclude:
|
229
|
-
- 'lib/trailblazer/rails/railtie.rb'
|
230
|
-
|
231
|
-
# Offense count: 6
|
232
|
-
# Cop supports --auto-correct.
|
233
|
-
# Configuration parameters: .
|
234
|
-
# SupportedStyles: call, braces
|
235
|
-
Style/LambdaCall:
|
236
|
-
EnforcedStyle: braces
|
237
|
-
|
238
|
-
# Offense count: 1
|
239
|
-
# Cop supports --auto-correct.
|
240
|
-
Style/MutableConstant:
|
241
|
-
Exclude:
|
242
|
-
- 'lib/trailblazer/rails/version.rb'
|
243
|
-
|
244
|
-
# Offense count: 3
|
245
|
-
# Cop supports --auto-correct.
|
246
|
-
# Configuration parameters: Strict.
|
247
|
-
Style/NumericLiterals:
|
248
|
-
MinDigits: 15
|
249
|
-
|
250
|
-
# Offense count: 10
|
251
|
-
# Cop supports --auto-correct.
|
252
|
-
# Configuration parameters: PreferredDelimiters.
|
253
|
-
Style/PercentLiteralDelimiters:
|
254
|
-
Exclude:
|
255
|
-
- 'test/rails5.0/app/concepts/params/operation/with_args.rb'
|
256
|
-
- 'test/rails5.0/test/integration/artists_controller_test.rb'
|
257
|
-
- 'test/rails5.1/app/concepts/params/operation/with_args.rb'
|
258
|
-
- 'test/rails5.1/test/integration/artists_controller_test.rb'
|
259
|
-
- 'test/rails5.2/app/concepts/params/operation/with_args.rb'
|
260
|
-
- 'test/rails5.2/test/integration/artists_controller_test.rb'
|
261
|
-
- 'trailblazer-rails.gemspec'
|
262
|
-
|
263
|
-
# Offense count: 2
|
264
|
-
# Cop supports --auto-correct.
|
265
|
-
Style/RedundantSelf:
|
266
|
-
Exclude:
|
267
|
-
- 'lib/trailblazer/rails/controller.rb'
|
268
|
-
|
269
|
-
# Offense count: 279
|
270
|
-
# Cop supports --auto-correct.
|
271
|
-
# Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
|
272
|
-
# SupportedStyles: single_quotes, double_quotes
|
273
|
-
Style/StringLiterals:
|
274
|
-
Enabled: false
|
275
|
-
|
276
|
-
# Offense count: 1
|
277
|
-
# Cop supports --auto-correct.
|
278
|
-
# Configuration parameters: IgnoredMethods.
|
279
|
-
# IgnoredMethods: respond_to, define_method
|
280
|
-
Style/SymbolProc:
|
281
|
-
Exclude:
|
282
|
-
- 'lib/trailblazer/rails/railtie.rb'
|
283
|
-
|
284
|
-
# Offense count: 1
|
285
|
-
# Cop supports --auto-correct.
|
286
|
-
Style/UnneededPercentQ:
|
287
|
-
Exclude:
|
288
|
-
- 'trailblazer-rails.gemspec'
|
289
|
-
|
290
|
-
# Offense count: 66
|
291
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
|
292
|
-
# URISchemes: http, https
|
293
|
-
Metrics/LineLength:
|
294
|
-
Max: 127
|
data/.ruby-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
2.4.4
|
data/.travis.yml
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
language: ruby
|
2
|
-
matrix:
|
3
|
-
include:
|
4
|
-
- rvm: 2.4.1
|
5
|
-
env: TEST_SUITE=rails5.0
|
6
|
-
gemfile: test/rails5.0/Gemfile
|
7
|
-
|
8
|
-
- rvm: 2.4.1
|
9
|
-
env: TEST_SUITE=rails5.1
|
10
|
-
gemfile: test/rails5.1/Gemfile
|
11
|
-
|
12
|
-
- rvm: 2.5.1
|
13
|
-
env: TEST_SUITE=rails5.2
|
14
|
-
gemfile: test/rails5.2/Gemfile
|
15
|
-
|
16
|
-
script: cd test/$TEST_SUITE && bundle install && bundle exec rake test
|