rspec-json_matchers 0.1.0.alpha.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b0fa3b73163b59a8115dbc20683586c34e040722
4
- data.tar.gz: 8bb92ab53ac16c8fdd7dd27ca65103d07125bf88
2
+ SHA256:
3
+ metadata.gz: b2578d8588d515c7fed003b5d7b707b35fb820fb66f082bfcf6a617ff43045f3
4
+ data.tar.gz: abaa097a864bd1bd3d547c825d9e01c5e41e9d94dfd5f264cb389d3130efd491
5
5
  SHA512:
6
- metadata.gz: 42d3133b8cfb75688cab121cf09c9a13070aad223773a83e0c6094344ba757edcc0a0b3b48ea7cc3faed35574a2dc2657038b710c748c2866fbc5814aa9dca91
7
- data.tar.gz: 3fd140aa04148a74cabb4c6cbd8dc3408b47888e11b985c0419a33370cca1bd49e4238bc617da26d8cd3f48efc3f9fbc60d62b31f6cd7cb4e749902a021588c4
6
+ metadata.gz: b27666d463d6b1023f197c4cb51e5c62c719fb5321533a7139d4e62dc929d37297379fa0a06e15b3df16fc3fc879e9015f482cc80c84c26d4ed4da249d95e039
7
+ data.tar.gz: 73cb32dfa8cc4a0671920a34bb6dfcac451741403174ef9c672e98c736495e4e1cd393ecf6d70bdaa50c9be2af160143132c6146a0a54ad18199109b474a61aa
@@ -0,0 +1,24 @@
1
+ # EditorConfig is awesome: http://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ # default configuration
7
+ [*]
8
+ indent_style = space
9
+ indent_size = 2
10
+ insert_final_newline = true
11
+ trim_trailing_whitespace = true
12
+
13
+ # Unix-style newlines with a newline ending every file
14
+ end_of_line = lf
15
+
16
+ # Set default charset
17
+ charset = utf-8
18
+
19
+ # Tab indentation (no size specified)
20
+ [Makefile]
21
+ indent_style = tab
22
+
23
+ [*.{md,markdown}]
24
+ trim_trailing_whitespace = false
data/.gitignore CHANGED
@@ -8,4 +8,5 @@
8
8
  /tmp/
9
9
  /.idea/
10
10
  /.rspec
11
- gemfiles/*.gemfile.lock
11
+ /gemfiles/.bundle/
12
+ /gemfiles/*.gemfile.lock
@@ -10,10 +10,9 @@ before_install:
10
10
  cache:
11
11
  - bundler
12
12
  rvm:
13
- - 2.1.10
14
- - 2.2.6
15
- - 2.3.3
16
- - 2.4.0
13
+ - 2.3.6
14
+ - 2.4.3
15
+ - 2.5.0
17
16
  - ruby-head
18
17
  gemfile:
19
18
  - gemfiles/rspec_3_0.gemfile
@@ -23,6 +22,7 @@ gemfile:
23
22
  - gemfiles/rspec_3_4.gemfile
24
23
  - gemfiles/rspec_3_5.gemfile
25
24
  - gemfiles/rspec_3_6.gemfile
25
+ - gemfiles/rspec_3_7.gemfile
26
26
  matrix:
27
27
  fast_finish: true
28
28
  allow_failures:
data/Appraisals CHANGED
@@ -32,5 +32,9 @@ appraise "rspec_3_5" do
32
32
  end
33
33
 
34
34
  appraise "rspec_3_6" do
35
- gem "rspec", ">= 3.6.0.beta2", "< 3.7.0"
35
+ gem "rspec", "~> 3.6.0"
36
+ end
37
+
38
+ appraise "rspec_3_7" do
39
+ gem "rspec", "~> 3.7.0"
36
40
  end
@@ -2,6 +2,26 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
- ## Unreleased
5
+
6
+ ## [Unreleased]
7
+
6
8
  ### Added
9
+
10
+ - Nothing
11
+
12
+ ### Changed
13
+
14
+ - Nothing
15
+
16
+ ### Fixed
17
+
18
+ - Nothing
19
+
20
+
21
+ ## 0.1.0 - 2018-01-05
22
+
23
+ ### Added
24
+
7
25
  - Initial release
26
+
27
+ [Unreleased]: https://github.com/fnando/i18n-js/compare/v0.1.0...HEAD
data/Gemfile CHANGED
@@ -1,5 +1,6 @@
1
- # rubocop:disable Style/MethodCallWithArgsParentheses
2
1
  source "https://rubygems.org"
3
2
 
4
3
  # Specify your gem's dependencies in rspec-json_matchers.gemspec
5
4
  gemspec
5
+
6
+ gem "codecov", require: false, group: :test
data/README.md CHANGED
@@ -8,12 +8,10 @@ A collection of RSpec matchers for testing JSON data.
8
8
  [![Build Status](http://img.shields.io/travis/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://travis-ci.org/PikachuEXE/rspec-json_matchers)
9
9
  [![Dependency Status](http://img.shields.io/gemnasium/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://gemnasium.com/PikachuEXE/rspec-json_matchers)
10
10
 
11
- [![Code Climate](http://img.shields.io/codeclimate/github/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://codeclimate.com/github/PikachuEXE/rspec-json_matchers)
12
- [![Coverage Status](http://img.shields.io/coveralls/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://coveralls.io/r/PikachuEXE/rspec-json_matchers)
11
+ [![Code Climate](https://img.shields.io/codeclimate/maintainability/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://codeclimate.com/github/PikachuEXE/rspec-json_matchers)
12
+ [![Coverage Status](https://img.shields.io/codecov/c/github/PikachuEXE/rspec-json_matchers.svg?style=flat-square)](https://codecov.io/gh/PikachuEXE/rspec-json_matchers)
13
13
  [![Inch CI](https://inch-ci.org/github/PikachuEXE/rspec-json_matchers.svg?branch=master)](https://inch-ci.org/github/PikachuEXE/rspec-json_matchers)
14
14
 
15
- [![Gitter](https://img.shields.io/badge/gitter-join%20chat-1dce73.svg?style=flat-square)](https://gitter.im/PikachuEXE/rspec-json_matchers)
16
-
17
15
  This gem provides a collection of RSpec matchers for testing JSON data.
18
16
  It aims to make JSON testing flexible & easier, especially for testing multiple properties.
19
17
  It does not and will not have anything related to JSON Schema.
@@ -541,6 +539,17 @@ for `Run/Debug Configurations => Defaults => RSpec`
541
539
  That way you could keep the color when running `rspec` from console
542
540
 
543
541
 
542
+ ## Some JSON related gems
543
+ Here is a list of gems which I found and I have tried some of them.
544
+ But eventually I am unsatisfied so I build this gem.
545
+
546
+ - [rspec-json_matcher](https://github.com/r7kamura/rspec-json_matcher)
547
+ - [json_spec](https://github.com/collectiveidea/json_spec)
548
+ - [json_matchers](https://github.com/thoughtbot/json_matchers)
549
+ - [airborne](https://github.com/brooklynDev/airborne)
550
+ - [json-schema](https://github.com/ruby-json-schema/json-schema)
551
+
552
+
544
553
  ## Contributing
545
554
 
546
555
  1. Fork it ( https://github.com/PikachuEXE/rspec-json_matchers/fork )
data/Rakefile CHANGED
@@ -1,4 +1,4 @@
1
- # rubocop:disable Style/MethodCallWithArgsParentheses
1
+
2
2
  require "appraisal"
3
3
  require "rubygems"
4
4
  require "bundler/gem_tasks"
@@ -2,7 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.0.0"
6
7
  gem "rake", "< 12"
7
8
 
8
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -2,7 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.1.0"
6
7
  gem "rake", "< 12"
7
8
 
8
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -2,7 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.2.0"
6
7
  gem "rake", "< 12"
7
8
 
8
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -2,7 +2,8 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.3.0"
6
7
  gem "rake", "< 12"
7
8
 
8
- gemspec :path => "../"
9
+ gemspec path: "../"
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.4.0"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "codecov", require: false, group: :test
5
6
  gem "rspec", "~> 3.5.0"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -2,6 +2,7 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rspec", ">= 3.6.0.beta2", "< 3.7.0"
5
+ gem "codecov", require: false, group: :test
6
+ gem "rspec", "~> 3.6.0"
6
7
 
7
- gemspec :path => "../"
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "codecov", require: false, group: :test
6
+ gem "rspec", "~> 3.7.0"
7
+
8
+ gemspec path: "../"
@@ -5,6 +5,6 @@ module RSpec
5
5
  # The version of the gem
6
6
  # Used for generating the value in gemspec file
7
7
  # Also can be referenced by code for debugging or other purposes
8
- VERSION = "0.1.0.alpha.4".freeze
8
+ VERSION = "0.1.0".freeze
9
9
  end
10
10
  end
@@ -1,5 +1,4 @@
1
- # coding: utf-8
2
- # rubocop:disable Style/MethodCallWithArgsParentheses
1
+
3
2
  lib = File.expand_path("../lib", __FILE__)
4
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
4
  require "rspec/json_matchers/version"
@@ -37,14 +36,11 @@ Gem::Specification.new do |spec|
37
36
 
38
37
  spec.add_development_dependency "rspec-its", "~> 1.0"
39
38
 
40
- spec.add_development_dependency "coveralls", "~> 0.8"
41
-
42
39
  spec.add_development_dependency "gem-release", "~> 0.7"
43
40
 
44
- spec.add_development_dependency "rubocop", "~> 0.32"
45
41
  spec.add_development_dependency "inch", "~> 0.6"
46
42
 
47
- spec.required_ruby_version = ">= 2.1.0"
43
+ spec.required_ruby_version = ">= 2.3.0"
48
44
 
49
45
  spec.required_rubygems_version = ">= 1.4.0"
50
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-json_matchers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.alpha.4
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - PikachuEXE
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-31 00:00:00.000000000 Z
11
+ date: 2018-01-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -120,20 +120,6 @@ dependencies:
120
120
  - - "~>"
121
121
  - !ruby/object:Gem::Version
122
122
  version: '1.0'
123
- - !ruby/object:Gem::Dependency
124
- name: coveralls
125
- requirement: !ruby/object:Gem::Requirement
126
- requirements:
127
- - - "~>"
128
- - !ruby/object:Gem::Version
129
- version: '0.8'
130
- type: :development
131
- prerelease: false
132
- version_requirements: !ruby/object:Gem::Requirement
133
- requirements:
134
- - - "~>"
135
- - !ruby/object:Gem::Version
136
- version: '0.8'
137
123
  - !ruby/object:Gem::Dependency
138
124
  name: gem-release
139
125
  requirement: !ruby/object:Gem::Requirement
@@ -148,20 +134,6 @@ dependencies:
148
134
  - - "~>"
149
135
  - !ruby/object:Gem::Version
150
136
  version: '0.7'
151
- - !ruby/object:Gem::Dependency
152
- name: rubocop
153
- requirement: !ruby/object:Gem::Requirement
154
- requirements:
155
- - - "~>"
156
- - !ruby/object:Gem::Version
157
- version: '0.32'
158
- type: :development
159
- prerelease: false
160
- version_requirements: !ruby/object:Gem::Requirement
161
- requirements:
162
- - - "~>"
163
- - !ruby/object:Gem::Version
164
- version: '0.32'
165
137
  - !ruby/object:Gem::Dependency
166
138
  name: inch
167
139
  requirement: !ruby/object:Gem::Requirement
@@ -188,8 +160,8 @@ extensions: []
188
160
  extra_rdoc_files: []
189
161
  files:
190
162
  - ".codeclimate.yml"
163
+ - ".editorconfig"
191
164
  - ".gitignore"
192
- - ".rubocop.yml"
193
165
  - ".travis.yml"
194
166
  - Appraisals
195
167
  - CHANGELOG.md
@@ -205,6 +177,7 @@ files:
205
177
  - gemfiles/rspec_3_4.gemfile
206
178
  - gemfiles/rspec_3_5.gemfile
207
179
  - gemfiles/rspec_3_6.gemfile
180
+ - gemfiles/rspec_3_7.gemfile
208
181
  - lib/rspec-json_matchers.rb
209
182
  - lib/rspec/json_matchers.rb
210
183
  - lib/rspec/json_matchers/expectation.rb
@@ -234,7 +207,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
234
207
  requirements:
235
208
  - - ">="
236
209
  - !ruby/object:Gem::Version
237
- version: 2.1.0
210
+ version: 2.3.0
238
211
  required_rubygems_version: !ruby/object:Gem::Requirement
239
212
  requirements:
240
213
  - - ">="
@@ -242,9 +215,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
215
  version: 1.4.0
243
216
  requirements: []
244
217
  rubyforge_project:
245
- rubygems_version: 2.6.8
218
+ rubygems_version: 2.7.3
246
219
  signing_key:
247
220
  specification_version: 4
248
221
  summary: A collection of RSpec matchers for testing JSON data.
249
222
  test_files: []
250
- has_rdoc:
@@ -1,486 +0,0 @@
1
- AllCops:
2
- DisabledByDefault: true
3
- Exclude:
4
- - "spec/**/*"
5
-
6
- Lint/AmbiguousOperator:
7
- Enabled: true
8
- Severity: warning
9
- Lint/AmbiguousRegexpLiteral:
10
- Enabled: true
11
- Severity: warning
12
- Lint/AssignmentInCondition:
13
- Enabled: true
14
- Severity: warning
15
- Lint/BlockAlignment:
16
- Enabled: true
17
- Severity: warning
18
- Lint/CircularArgumentReference:
19
- Enabled: true
20
- Severity: warning
21
- Lint/ConditionPosition:
22
- Enabled: true
23
- Severity: warning
24
- Lint/DefEndAlignment:
25
- Enabled: true
26
- Severity: warning
27
- Lint/DeprecatedClassMethods:
28
- Enabled: true
29
- Severity: warning
30
- Lint/DuplicateCaseCondition:
31
- Enabled: true
32
- Severity: warning
33
- Lint/DuplicateMethods:
34
- Enabled: true
35
- Severity: warning
36
- Lint/DuplicatedKey:
37
- Enabled: true
38
- Severity: warning
39
- Lint/EachWithObjectArgument:
40
- Enabled: true
41
- Severity: warning
42
- Lint/ElseLayout:
43
- Enabled: true
44
- Severity: warning
45
- Lint/EmptyEnsure:
46
- Enabled: true
47
- Severity: warning
48
- Lint/EmptyExpression:
49
- Enabled: true
50
- Severity: warning
51
- Lint/EmptyInterpolation:
52
- Enabled: true
53
- Severity: warning
54
- Lint/EmptyWhen:
55
- Enabled: true
56
- Severity: warning
57
- Lint/EndAlignment:
58
- Enabled: true
59
- Severity: warning
60
- EnforcedStyleAlignWith: start_of_line
61
- Lint/EndInMethod:
62
- Enabled: true
63
- Severity: warning
64
- Lint/EnsureReturn:
65
- Enabled: true
66
- Severity: warning
67
- Lint/InheritException:
68
- Enabled: true
69
- Severity: warning
70
- Lint/LiteralInCondition:
71
- Enabled: true
72
- Severity: warning
73
- Lint/LiteralInInterpolation:
74
- Enabled: true
75
- Severity: warning
76
- Lint/Loop:
77
- Enabled: true
78
- Severity: warning
79
- Lint/MultipleCompare:
80
- Enabled: true
81
- Severity: warning
82
- Lint/NestedMethodDefinition:
83
- Enabled: true
84
- Severity: warning
85
- Lint/ParenthesesAsGroupedExpression:
86
- Enabled: true
87
- Severity: warning
88
- Lint/RequireParentheses:
89
- Enabled: true
90
- Severity: warning
91
- Lint/RescueException:
92
- Enabled: true
93
- Severity: warning
94
- Lint/SafeNavigationChain:
95
- Enabled: true
96
- Severity: warning
97
- Lint/ShadowingOuterLocalVariable:
98
- Enabled: true
99
- Severity: warning
100
- Lint/StringConversionInInterpolation:
101
- Enabled: true
102
- Severity: warning
103
- Lint/UnderscorePrefixedVariableName:
104
- Enabled: true
105
- Severity: warning
106
- Lint/UnneededDisable:
107
- Enabled: true
108
- Severity: warning
109
- Lint/UnneededSplatExpansion:
110
- Enabled: true
111
- Severity: warning
112
- Lint/UnreachableCode:
113
- Enabled: true
114
- Severity: warning
115
- Lint/UnusedMethodArgument:
116
- Enabled: true
117
- Severity: warning
118
- Lint/UselessAssignment:
119
- Enabled: true
120
- Severity: warning
121
- Lint/UselessComparison:
122
- Enabled: true
123
- Severity: warning
124
- Lint/Void:
125
- Enabled: true
126
- Severity: warning
127
-
128
- Metrics/LineLength:
129
- Enabled: true
130
- Severity: warning
131
- Max: 100
132
- Metrics/ParameterLists:
133
- Enabled: true
134
- Severity: warning
135
-
136
- Performance/Casecmp:
137
- Enabled: true
138
- Severity: warning
139
- Performance/Count:
140
- Enabled: true
141
- Severity: warning
142
- Performance/Detect:
143
- Enabled: true
144
- Severity: warning
145
- Performance/DoubleStartEndWith:
146
- Enabled: true
147
- Severity: warning
148
- Performance/EndWith:
149
- Enabled: true
150
- Severity: warning
151
- Performance/FlatMap:
152
- Enabled: true
153
- Severity: warning
154
- Performance/HashEachMethods:
155
- Enabled: true
156
- Severity: warning
157
- Performance/RangeInclude:
158
- Enabled: true
159
- Severity: warning
160
- Performance/RedundantBlockCall:
161
- Enabled: true
162
- Severity: warning
163
- Performance/RedundantMatch:
164
- Enabled: true
165
- Severity: warning
166
- Performance/RedundantMerge:
167
- Enabled: true
168
- Severity: warning
169
- Performance/RegexpMatch:
170
- Enabled: true
171
- Severity: warning
172
- Performance/ReverseEach:
173
- Enabled: true
174
- Severity: warning
175
- Performance/Sample:
176
- Enabled: true
177
- Severity: warning
178
- Performance/Size:
179
- Enabled: true
180
- Severity: warning
181
- Performance/StartWith:
182
- Enabled: true
183
- Severity: warning
184
- Performance/StringReplacement:
185
- Enabled: true
186
- Severity: warning
187
- Performance/TimesMap:
188
- Enabled: true
189
- Severity: warning
190
-
191
- Security/Eval:
192
- Enabled: true
193
- Severity: error
194
- Security/JSONLoad:
195
- Enabled: true
196
- Severity: warning
197
- Security/MarshalLoad:
198
- Enabled: true
199
- Severity: warning
200
- Security/YAMLLoad:
201
- Enabled: true
202
- Severity: warning
203
-
204
- Style/AccessorMethodName:
205
- Enabled: true
206
- Severity: warning
207
- Style/AlignArray:
208
- Enabled: true
209
- Severity: warning
210
- Style/AlignHash:
211
- Enabled: false
212
- Severity: warning
213
- EnforcedHashRocketStyle: table
214
- EnforcedColonStyle: table
215
- Style/AlignParameters:
216
- Enabled: true
217
- Severity: warning
218
- Style/AndOr:
219
- Enabled: true
220
- Severity: warning
221
- Style/AsciiIdentifiers:
222
- Enabled: true
223
- Severity: warning
224
- Style/Attr:
225
- Enabled: true
226
- Severity: warning
227
- Style/AutoResourceCleanup:
228
- Enabled: true
229
- Severity: warning
230
- Style/BeginBlock:
231
- Enabled: true
232
- Severity: warning
233
- Style/BlockEndNewline:
234
- Enabled: true
235
- Severity: warning
236
- Style/ClassAndModuleCamelCase:
237
- Enabled: true
238
- Severity: warning
239
- Style/ClassMethods:
240
- Enabled: true
241
- Severity: warning
242
- Style/ClassVars:
243
- Enabled: true
244
- Severity: warning
245
- Style/ClosingParenthesisIndentation:
246
- Enabled: true
247
- Severity: warning
248
- Style/ColonMethodCall:
249
- Enabled: true
250
- Severity: warning
251
- Style/ConditionalAssignment:
252
- Enabled: true
253
- Severity: warning
254
- Style/ConstantName:
255
- Enabled: true
256
- Severity: warning
257
- Style/DefWithParentheses:
258
- Enabled: true
259
- Severity: warning
260
- Style/DotPosition:
261
- Enabled: true
262
- Severity: warning
263
- EnforcedStyle: trailing
264
- Style/EachForSimpleLoop:
265
- Enabled: true
266
- Severity: warning
267
- Style/EachWithObject:
268
- Enabled: true
269
- Severity: warning
270
- Style/ElseAlignment:
271
- Enabled: false
272
- Severity: warning
273
- Style/EmptyCaseCondition:
274
- Enabled: true
275
- Severity: warning
276
- Style/EmptyElse:
277
- Enabled: true
278
- Severity: warning
279
- Style/EmptyLinesAroundAccessModifier:
280
- Enabled: true
281
- Severity: warning
282
- Style/EmptyMethod:
283
- Enabled: true
284
- Severity: warning
285
- Style/EndBlock:
286
- Enabled: true
287
- Severity: warning
288
- Style/EvenOdd:
289
- Enabled: true
290
- Severity: warning
291
- Style/FirstArrayElementLineBreak:
292
- Enabled: true
293
- Severity: warning
294
- Style/FirstHashElementLineBreak:
295
- Enabled: true
296
- Severity: warning
297
- Style/FirstMethodArgumentLineBreak:
298
- Enabled: true
299
- Severity: warning
300
- Style/FirstMethodParameterLineBreak:
301
- Enabled: true
302
- Severity: warning
303
- Style/FirstParameterIndentation:
304
- Enabled: true
305
- Severity: warning
306
- Style/FlipFlop:
307
- Enabled: true
308
- Severity: warning
309
- Style/For:
310
- Enabled: true
311
- Severity: warning
312
- Style/FrozenStringLiteralComment:
313
- Enabled: true
314
- Severity: warning
315
- Style/GlobalVars:
316
- Enabled: true
317
- Severity: error
318
- Style/GuardClause:
319
- Enabled: true
320
- Severity: warning
321
- Style/HashSyntax:
322
- Enabled: true
323
- Severity: warning
324
- EnforcedStyle: ruby19_no_mixed_keys
325
- Style/IfInsideElse:
326
- Enabled: true
327
- Severity: warning
328
- Style/IfUnlessModifier:
329
- Enabled: true
330
- Severity: warning
331
- Style/IndentArray:
332
- Enabled: true
333
- Severity: warning
334
- Style/IndentAssignment:
335
- Enabled: true
336
- Severity: warning
337
- Style/IndentationConsistency:
338
- Enabled: true
339
- Severity: warning
340
- Style/IndentationWidth:
341
- Enabled: true
342
- Severity: warning
343
- Style/InfiniteLoop:
344
- Enabled: true
345
- Severity: warning
346
- Style/InlineComment:
347
- Enabled: true
348
- Severity: warning
349
- Style/LambdaCall:
350
- Enabled: true
351
- Severity: warning
352
- Style/MethodCallWithArgsParentheses:
353
- Enabled: true
354
- Severity: warning
355
- IgnoredMethods:
356
- # require
357
- - require
358
- - require_relative
359
- # include, extend
360
- - include
361
- - extend
362
- # Class method calls
363
- - attr_reader
364
- - attr_writer
365
- - attr_accessor
366
- - alias_method
367
- - private_constant
368
- - private_class_method
369
- # Common debug
370
- - puts
371
- # error
372
- - raise
373
- - fail
374
- # Gems
375
- - Contract
376
- - memoize
377
- # RSpec
378
- - describe
379
- - context
380
- - it
381
- - to
382
- - to_not
383
- - not_to
384
- - should
385
- - should_not
386
- - it_behaves_like
387
- Style/MethodCallWithoutArgsParentheses:
388
- Enabled: true
389
- Severity: warning
390
- Style/MethodName:
391
- Enabled: true
392
- Severity: warning
393
- Style/MultilineBlockLayout:
394
- Enabled: true
395
- Severity: warning
396
- Style/MultilineMemoization:
397
- Enabled: true
398
- Severity: warning
399
- Style/MutableConstant:
400
- Enabled: true
401
- Severity: warning
402
- Style/NestedParenthesizedCalls:
403
- Enabled: true
404
- Severity: warning
405
- Style/Next:
406
- Enabled: true
407
- Severity: warning
408
- Style/NilComparison:
409
- Enabled: true
410
- Severity: warning
411
- Style/NonNilCheck:
412
- Enabled: true
413
- Severity: warning
414
- Style/Not:
415
- Enabled: true
416
- Severity: warning
417
- Style/NumericLiterals:
418
- Enabled: true
419
- Severity: warning
420
- Style/NumericPredicate:
421
- Enabled: true
422
- Severity: warning
423
- Style/OpMethod:
424
- Enabled: true
425
- Severity: warning
426
- Style/OptionHash:
427
- Enabled: true
428
- Severity: warning
429
- Style/OptionalArguments:
430
- Enabled: true
431
- Severity: warning
432
- Style/ParallelAssignment:
433
- Enabled: true
434
- Severity: warning
435
- Style/RedundantBegin:
436
- Enabled: true
437
- Severity: warning
438
- Style/RedundantFreeze:
439
- Enabled: true
440
- Severity: warning
441
- Style/RedundantParentheses:
442
- Enabled: true
443
- Severity: warning
444
- Style/RescueEnsureAlignment:
445
- Enabled: true
446
- Severity: warning
447
- Style/SelfAssignment:
448
- Enabled: true
449
- Severity: warning
450
- Style/StabbyLambdaParentheses:
451
- Enabled: true
452
- Severity: warning
453
- Style/Tab:
454
- Enabled: true
455
- Severity: warning
456
- Style/TrailingBlankLines:
457
- Enabled: true
458
- Severity: warning
459
- Style/TrailingCommaInArguments:
460
- Enabled: true
461
- Severity: warning
462
- EnforcedStyleForMultiline: consistent_comma
463
- Style/TrailingCommaInLiteral:
464
- Enabled: true
465
- Severity: warning
466
- EnforcedStyleForMultiline: comma
467
- Style/TrailingWhitespace:
468
- Enabled: true
469
- Severity: warning
470
- Style/UnlessElse:
471
- Enabled: true
472
- Severity: warning
473
- Style/VariableName:
474
- Enabled: true
475
- Severity: warning
476
- Style/VariableNumber:
477
- Enabled: true
478
- Severity: warning
479
- EnforcedStyle: snake_case
480
- Style/ZeroLengthPredicate:
481
- Enabled: true
482
- Severity: warning
483
-
484
- Bundler/DuplicatedGem:
485
- Enabled: true
486
- Severity: warning