redi_search 2.0.0 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/lint.yml +22 -0
- data/.github/workflows/tests.yml +49 -0
- data/.rubocop.yml +137 -37
- data/Appraisals +4 -4
- data/Gemfile +3 -2
- data/README.md +21 -35
- data/Rakefile +1 -0
- data/bin/console +3 -6
- data/gemfiles/{activerecord_51.gemfile → activerecord_60.gemfile} +4 -2
- data/gemfiles/{activerecord_52.gemfile → activerecord_61.gemfile} +4 -2
- data/lib/redi_search.rb +2 -0
- data/lib/redi_search/add_field.rb +1 -1
- data/lib/redi_search/client.rb +16 -6
- data/lib/redi_search/client/response.rb +1 -1
- data/lib/redi_search/create.rb +2 -1
- data/lib/redi_search/document.rb +10 -15
- data/lib/redi_search/document/finder.rb +12 -50
- data/lib/redi_search/hset.rb +28 -0
- data/lib/redi_search/index.rb +19 -17
- data/lib/redi_search/log_subscriber.rb +7 -6
- data/lib/redi_search/model.rb +4 -10
- data/lib/redi_search/schema.rb +10 -5
- data/lib/redi_search/schema/field.rb +10 -3
- data/lib/redi_search/schema/geo_field.rb +1 -1
- data/lib/redi_search/schema/numeric_field.rb +1 -1
- data/lib/redi_search/schema/tag_field.rb +5 -1
- data/lib/redi_search/schema/text_field.rb +1 -1
- data/lib/redi_search/search.rb +3 -0
- data/lib/redi_search/search/clauses/boolean.rb +4 -4
- data/lib/redi_search/search/clauses/or.rb +1 -1
- data/lib/redi_search/version.rb +1 -1
- data/redi_search.gemspec +3 -3
- metadata +17 -16
- data/.travis.yml +0 -63
- data/lib/redi_search/add.rb +0 -67
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae66b8370802c6acf6c50487cc751e526bd7afa69be14bf56e0e5b8db416511
|
4
|
+
data.tar.gz: ccffbbb3db86598eb132225091cf3cfae3bfac692bca430d2484e7c97f0ab81c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 037fd2b21e9e296e3b143f4d878a9e9cb37406f99c66b22f54a218d1a3d12c046034b19d011b875b2cd5ab3d9a1bb81c4f10b4c862196d01e8a408a2d6436156
|
7
|
+
data.tar.gz: 17e0f4dccd59d130c3d76314cff4b2a94da725b1b5bdc2478aaf39dde5c3a34d178cbafb04db45bf5488a8a7006bb043ed14247e46a47a64d362cc94b6fe52f1
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: lint
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
lint:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Set up Ruby 3.0
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 3.0
|
18
|
+
- name: Install rubocop
|
19
|
+
run: |
|
20
|
+
gem install rubocop rubocop-performance rubocop-minitest rubocop-rake
|
21
|
+
- name: Lint
|
22
|
+
run: rubocop --config=./.rubocop.yml --parallel
|
@@ -0,0 +1,49 @@
|
|
1
|
+
name: tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
push:
|
6
|
+
branches:
|
7
|
+
- master
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
unit:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby: [ '2.5', '2.6', '2.7', '3.0' ]
|
15
|
+
gemfile: [ 'Gemfile', 'gemfiles/activerecord_60.gemfile' ]
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- name: Set up Ruby ${{ matrix.ruby }}
|
19
|
+
uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: ${{ matrix.ruby }}
|
22
|
+
bundler-cache: false
|
23
|
+
- name: Install dependencies
|
24
|
+
run: |
|
25
|
+
sudo apt-get install libsqlite3-dev -y
|
26
|
+
gem install bundler --no-document
|
27
|
+
BUNDLE_GEMFILE=${{ matrix.gemfile }} bundle install
|
28
|
+
- name: Run tests
|
29
|
+
run: BUNDLE_GEMFILE=${{ matrix.gemfile }} bundle exec rake test:unit
|
30
|
+
integration:
|
31
|
+
runs-on: ubuntu-latest
|
32
|
+
services:
|
33
|
+
redisearch:
|
34
|
+
image: redislabs/redisearch:2.0.6
|
35
|
+
ports:
|
36
|
+
- 6379:6379
|
37
|
+
steps:
|
38
|
+
- uses: actions/checkout@v2
|
39
|
+
- name: Set up Ruby 3.0
|
40
|
+
uses: ruby/setup-ruby@v1
|
41
|
+
with:
|
42
|
+
ruby-version: 3.0
|
43
|
+
- name: Install dependencies
|
44
|
+
run: |
|
45
|
+
sudo apt-get install libsqlite3-dev -y
|
46
|
+
bundle install
|
47
|
+
- name: Run tests
|
48
|
+
run: |
|
49
|
+
bundle exec rake test:integration
|
data/.rubocop.yml
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
require:
|
2
|
+
- rubocop-minitest
|
2
3
|
- rubocop-performance
|
4
|
+
- rubocop-rake
|
3
5
|
AllCops:
|
6
|
+
NewCops: enable
|
4
7
|
Exclude:
|
5
8
|
- vendor/**/*
|
6
9
|
- Gemfile.lock
|
@@ -9,6 +12,7 @@ AllCops:
|
|
9
12
|
- tmp/**/*
|
10
13
|
- test/dummy/db/schema.rb
|
11
14
|
- gemfiles/**/*
|
15
|
+
- bin/**/*
|
12
16
|
TargetRubyVersion: 2.5
|
13
17
|
|
14
18
|
# Department Bundler
|
@@ -35,16 +39,16 @@ Layout/AccessModifierIndentation:
|
|
35
39
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
|
36
40
|
Enabled: false
|
37
41
|
|
38
|
-
Layout/
|
42
|
+
Layout/ArrayAlignment:
|
39
43
|
Description: Align the elements of an array literal if they span more than one line.
|
40
44
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
|
41
45
|
Enabled: true
|
42
46
|
|
43
|
-
Layout/
|
47
|
+
Layout/HashAlignment:
|
44
48
|
Description: Align the elements of a hash literal if they span more than one line.
|
45
49
|
Enabled: true
|
46
50
|
|
47
|
-
Layout/
|
51
|
+
Layout/ParameterAlignment:
|
48
52
|
Description: Align the parameters of a method call if they span more than one line.
|
49
53
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
|
50
54
|
Enabled: true
|
@@ -150,7 +154,7 @@ Layout/InitialIndentation:
|
|
150
154
|
Description: Checks the indentation of the first non-blank non-comment line in a file.
|
151
155
|
Enabled: false
|
152
156
|
|
153
|
-
Layout/
|
157
|
+
Layout/FirstArgumentIndentation:
|
154
158
|
Description: Checks the indentation of the first parameter in a method call.
|
155
159
|
Enabled: false
|
156
160
|
|
@@ -164,19 +168,19 @@ Layout/IndentationWidth:
|
|
164
168
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
|
165
169
|
Enabled: true
|
166
170
|
|
167
|
-
Layout/
|
171
|
+
Layout/FirstArrayElementIndentation:
|
168
172
|
Description: Checks the indentation of the first element in an array literal.
|
169
173
|
Enabled: false
|
170
174
|
|
171
|
-
Layout/
|
175
|
+
Layout/AssignmentIndentation:
|
172
176
|
Description: Checks the indentation of the first line of the right-hand-side of a multi-line assignment.
|
173
177
|
Enabled: true
|
174
178
|
|
175
|
-
Layout/
|
179
|
+
Layout/FirstHashElementIndentation:
|
176
180
|
Description: Checks the indentation of the first key in a hash literal.
|
177
181
|
Enabled: false
|
178
182
|
|
179
|
-
Layout/
|
183
|
+
Layout/HeredocIndentation:
|
180
184
|
Description: This cops checks the indentation of the here document bodies.
|
181
185
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#squiggly-heredocs
|
182
186
|
Enabled: true
|
@@ -327,12 +331,15 @@ Layout/SpaceInsideStringInterpolation:
|
|
327
331
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#string-interpolation
|
328
332
|
Enabled: false
|
329
333
|
|
330
|
-
Layout/
|
334
|
+
Layout/IndentationStyle:
|
331
335
|
Description: No hard tabs.
|
332
336
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
|
333
337
|
Enabled: false
|
334
338
|
|
335
|
-
Layout/
|
339
|
+
Layout/SpaceAroundMethodCallOperator:
|
340
|
+
Enabled: true
|
341
|
+
|
342
|
+
Layout/TrailingEmptyLines:
|
336
343
|
Description: Checks trailing blank lines and final newline.
|
337
344
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
|
338
345
|
Enabled: false
|
@@ -399,7 +406,7 @@ Lint/DuplicateMethods:
|
|
399
406
|
Description: Check for duplicate method definitions.
|
400
407
|
Enabled: true
|
401
408
|
|
402
|
-
Lint/
|
409
|
+
Lint/DuplicateHashKey:
|
403
410
|
Description: Check for duplicate keys in hash literals.
|
404
411
|
Enabled: true
|
405
412
|
|
@@ -432,10 +439,6 @@ Layout/EndAlignment:
|
|
432
439
|
Description: Align ends correctly.
|
433
440
|
Enabled: true
|
434
441
|
|
435
|
-
Lint/EndInMethod:
|
436
|
-
Description: END blocks should not be placed inside method definitions.
|
437
|
-
Enabled: true
|
438
|
-
|
439
442
|
Lint/EnsureReturn:
|
440
443
|
Description: Do not use return in an ensure block.
|
441
444
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
|
@@ -449,7 +452,7 @@ Lint/FormatParameterMismatch:
|
|
449
452
|
Description: The number of parameters to format/sprint must match the fields.
|
450
453
|
Enabled: true
|
451
454
|
|
452
|
-
Lint/
|
455
|
+
Lint/SuppressedException:
|
453
456
|
Description: Don't suppress exception.
|
454
457
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
|
455
458
|
Enabled: true
|
@@ -483,7 +486,7 @@ Lint/Loop:
|
|
483
486
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
|
484
487
|
Enabled: true
|
485
488
|
|
486
|
-
Lint/
|
489
|
+
Lint/MultipleComparison:
|
487
490
|
Description: Use `&&` operator to compare multiple value.
|
488
491
|
Enabled: true
|
489
492
|
|
@@ -558,7 +561,7 @@ Lint/ShadowingOuterLocalVariable:
|
|
558
561
|
Description: Do not use the same name as outer local variable for block arguments or block local variables.
|
559
562
|
Enabled: true
|
560
563
|
|
561
|
-
Lint/
|
564
|
+
Lint/RedundantStringCoercion:
|
562
565
|
Description: Checks for Object#to_s usage in string interpolation.
|
563
566
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
|
564
567
|
Enabled: true
|
@@ -571,11 +574,11 @@ Lint/UnifiedInteger:
|
|
571
574
|
Description: Use Integer instead of Fixnum or Bignum
|
572
575
|
Enabled: true
|
573
576
|
|
574
|
-
Lint/
|
577
|
+
Lint/RedundantRequireStatement:
|
575
578
|
Description: Checks for unnecessary `require` statement.
|
576
579
|
Enabled: true
|
577
580
|
|
578
|
-
Lint/
|
581
|
+
Lint/RedundantSplatExpansion:
|
579
582
|
Description: Checks for splat unnecessarily being called on literals
|
580
583
|
Enabled: true
|
581
584
|
|
@@ -612,7 +615,7 @@ Lint/UselessAssignment:
|
|
612
615
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
|
613
616
|
Enabled: true
|
614
617
|
|
615
|
-
Lint/
|
618
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
616
619
|
Description: Checks for comparison of something with itself.
|
617
620
|
Enabled: true
|
618
621
|
|
@@ -646,7 +649,6 @@ Metrics/BlockLength:
|
|
646
649
|
- Rakefile
|
647
650
|
- "**/*.rake"
|
648
651
|
- spec/**/*.rb
|
649
|
-
- 'config/routes.rb'
|
650
652
|
- 'config/environments/*.rb'
|
651
653
|
|
652
654
|
Metrics/BlockNesting:
|
@@ -664,12 +666,15 @@ Metrics/CyclomaticComplexity:
|
|
664
666
|
Description: A complexity metric that is strongly correlated to the number of test cases needed to validate a method.
|
665
667
|
Enabled: true
|
666
668
|
|
667
|
-
|
669
|
+
Layout/LineLength:
|
668
670
|
Description: Limit lines to 80 characters.
|
669
671
|
StyleGuide: '#80-character-limits'
|
670
672
|
Enabled: true
|
673
|
+
Max: 80
|
671
674
|
Exclude:
|
672
675
|
- 'db/**/*'
|
676
|
+
- 'config/initializers/**/*'
|
677
|
+
- 'config/environments/**/*'
|
673
678
|
|
674
679
|
Metrics/MethodLength:
|
675
680
|
Description: Avoid methods longer than 10 lines of code.
|
@@ -773,13 +778,13 @@ Performance/CaseWhenSplat:
|
|
773
778
|
|
774
779
|
Performance/Count:
|
775
780
|
Description: Use `count` instead of `select...size`, `reject...size`, `select...count`, `reject...count`, `select...length`, and `reject...length`.
|
776
|
-
|
781
|
+
SafeAutoCorrect: true
|
777
782
|
Enabled: true
|
778
783
|
|
779
784
|
Performance/Detect:
|
780
785
|
Description: Use `detect` instead of `select.first`, `find_all.first`, `select.last`, and `find_all.last`.
|
781
786
|
Reference: 'https://github.com/JuanitoFatas/fast-ruby#enumerabledetect-vs-enumerableselectfirst-code'
|
782
|
-
|
787
|
+
SafeAutoCorrect: true
|
783
788
|
Enabled: true
|
784
789
|
|
785
790
|
Performance/DoubleStartEndWith:
|
@@ -821,6 +826,9 @@ Performance/RedundantMerge:
|
|
821
826
|
Reference: https://github.com/JuanitoFatas/fast-ruby#hashmerge-vs-hash-code
|
822
827
|
Enabled: true
|
823
828
|
|
829
|
+
Style/ExponentialNotation:
|
830
|
+
Enabled: true
|
831
|
+
|
824
832
|
Style/RedundantSortBy:
|
825
833
|
Description: Use `sort` instead of `sort_by { |x| x }`.
|
826
834
|
Enabled: true
|
@@ -946,10 +954,6 @@ Style/BlockDelimiters:
|
|
946
954
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
|
947
955
|
Enabled: true
|
948
956
|
|
949
|
-
Style/BracesAroundHashParameters:
|
950
|
-
Description: Enforce braces style around hash parameters.
|
951
|
-
Enabled: false
|
952
|
-
|
953
957
|
Style/CaseEquality:
|
954
958
|
Description: Avoid explicit use of the case equality operator(===).
|
955
959
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
|
@@ -1073,7 +1077,7 @@ Style/EmptyMethod:
|
|
1073
1077
|
Style/EndBlock:
|
1074
1078
|
Description: Avoid the use of END blocks.
|
1075
1079
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
|
1076
|
-
Enabled:
|
1080
|
+
Enabled: true
|
1077
1081
|
|
1078
1082
|
Style/Encoding:
|
1079
1083
|
Description: Use UTF-8 as the source file encoding.
|
@@ -1197,9 +1201,6 @@ Style/MethodDefParentheses:
|
|
1197
1201
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
|
1198
1202
|
Enabled: true
|
1199
1203
|
|
1200
|
-
Style/MethodMissingSuper:
|
1201
|
-
Enabled: true
|
1202
|
-
|
1203
1204
|
Style/MissingRespondToMissing:
|
1204
1205
|
Enabled: true
|
1205
1206
|
|
@@ -1256,7 +1257,7 @@ Style/MultipleComparison:
|
|
1256
1257
|
|
1257
1258
|
Style/MutableConstant:
|
1258
1259
|
Description: Do not assign mutable objects to constants.
|
1259
|
-
Enabled:
|
1260
|
+
Enabled: false
|
1260
1261
|
|
1261
1262
|
Style/NegatedIf:
|
1262
1263
|
Description: Favor unless over if for negative conditions (or control flow or).
|
@@ -1547,15 +1548,15 @@ Style/UnlessElse:
|
|
1547
1548
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
|
1548
1549
|
Enabled: true
|
1549
1550
|
|
1550
|
-
Style/
|
1551
|
+
Style/RedundantCapitalW:
|
1551
1552
|
Description: Checks for %W when interpolation is not needed.
|
1552
1553
|
Enabled: false
|
1553
1554
|
|
1554
|
-
Style/
|
1555
|
+
Style/RedundantInterpolation:
|
1555
1556
|
Description: Checks for strings that are just an interpolated expression.
|
1556
1557
|
Enabled: true
|
1557
1558
|
|
1558
|
-
Style/
|
1559
|
+
Style/RedundantPercentQ:
|
1559
1560
|
Description: Checks for %q/%Q when single quotes or double quotes would do.
|
1560
1561
|
StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
|
1561
1562
|
Enabled: false
|
@@ -1598,3 +1599,102 @@ Style/YodaCondition:
|
|
1598
1599
|
Style/ZeroLengthPredicate:
|
1599
1600
|
Description: Use #empty? when testing for objects of length 0.
|
1600
1601
|
Enabled: true
|
1602
|
+
|
1603
|
+
Lint/RaiseException:
|
1604
|
+
Description: Checks for `raise` or `fail` statements which are raising `Exception` class.
|
1605
|
+
Enabled: true
|
1606
|
+
Lint/StructNewOverride:
|
1607
|
+
Description: 'Disallow overriding the `Struct` built-in methods via `Struct.new`.'
|
1608
|
+
Enabled: true
|
1609
|
+
Style/HashEachMethods:
|
1610
|
+
Description: 'Use Hash#each_key and Hash#each_value.'
|
1611
|
+
Enabled: true
|
1612
|
+
Safe: false
|
1613
|
+
Style/HashTransformKeys:
|
1614
|
+
Description: 'Prefer `transform_keys` over `each_with_object` and `map`.'
|
1615
|
+
Enabled: true
|
1616
|
+
Safe: false
|
1617
|
+
Style/HashTransformValues:
|
1618
|
+
Description: 'Prefer `transform_values` over `each_with_object` and `map`.'
|
1619
|
+
Enabled: true
|
1620
|
+
Safe: false
|
1621
|
+
|
1622
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
1623
|
+
Enabled: true
|
1624
|
+
Lint/DeprecatedOpenSSLConstant:
|
1625
|
+
Enabled: true
|
1626
|
+
Style/SlicingWithRange:
|
1627
|
+
Enabled: true
|
1628
|
+
Lint/MixedRegexpCaptureTypes:
|
1629
|
+
Enabled: true
|
1630
|
+
Style/RedundantRegexpCharacterClass:
|
1631
|
+
Enabled: true
|
1632
|
+
Style/RedundantRegexpEscape:
|
1633
|
+
Enabled: true
|
1634
|
+
Lint/MissingSuper:
|
1635
|
+
Enabled: false
|
1636
|
+
|
1637
|
+
|
1638
|
+
|
1639
|
+
Lint/DuplicateElsifCondition:
|
1640
|
+
Enabled: true
|
1641
|
+
Lint/DuplicateRescueException:
|
1642
|
+
Enabled: true
|
1643
|
+
Lint/EmptyConditionalBody:
|
1644
|
+
Enabled: true
|
1645
|
+
Lint/FloatComparison:
|
1646
|
+
Enabled: true
|
1647
|
+
Lint/OutOfRangeRegexpRef:
|
1648
|
+
Enabled: true
|
1649
|
+
Lint/SelfAssignment:
|
1650
|
+
Enabled: true
|
1651
|
+
Lint/TopLevelReturnWithArgument:
|
1652
|
+
Enabled: true
|
1653
|
+
Lint/UnreachableLoop:
|
1654
|
+
Enabled: true
|
1655
|
+
Style/AccessorGrouping:
|
1656
|
+
Enabled: true
|
1657
|
+
Style/ArrayCoercion:
|
1658
|
+
Enabled: true
|
1659
|
+
Style/BisectedAttrAccessor:
|
1660
|
+
Enabled: true
|
1661
|
+
Style/CaseLikeIf:
|
1662
|
+
Enabled: true
|
1663
|
+
Style/ExplicitBlockArgument:
|
1664
|
+
Enabled: false
|
1665
|
+
Style/GlobalStdStream:
|
1666
|
+
Enabled: true
|
1667
|
+
Style/HashAsLastArrayItem:
|
1668
|
+
Enabled: false
|
1669
|
+
Style/HashLikeCase:
|
1670
|
+
Enabled: true
|
1671
|
+
Style/OptionalBooleanParameter:
|
1672
|
+
Enabled: true
|
1673
|
+
Style/RedundantAssignment:
|
1674
|
+
Enabled: true
|
1675
|
+
Style/RedundantFetchBlock:
|
1676
|
+
Enabled: true
|
1677
|
+
Style/RedundantFileExtensionInRequire:
|
1678
|
+
Enabled: true
|
1679
|
+
Style/SingleArgumentDig:
|
1680
|
+
Enabled: true
|
1681
|
+
Style/StringConcatenation:
|
1682
|
+
Enabled: true
|
1683
|
+
Performance/AncestorsInclude:
|
1684
|
+
Enabled: true
|
1685
|
+
Performance/BigDecimalWithNumericArgument:
|
1686
|
+
Enabled: true
|
1687
|
+
Performance/RedundantSortBlock:
|
1688
|
+
Enabled: true
|
1689
|
+
Performance/RedundantStringChars:
|
1690
|
+
Enabled: true
|
1691
|
+
Performance/ReverseFirst:
|
1692
|
+
Enabled: true
|
1693
|
+
Performance/SortReverse:
|
1694
|
+
Enabled: true
|
1695
|
+
Performance/Squeeze:
|
1696
|
+
Enabled: true
|
1697
|
+
Performance/StringInclude:
|
1698
|
+
Enabled: true
|
1699
|
+
Minitest/AssertionInLifecycleHook:
|
1700
|
+
Enabled: false
|
data/Appraisals
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
appraise "activerecord-
|
4
|
-
gem "activerecord", "< 6.
|
3
|
+
appraise "activerecord-60" do
|
4
|
+
gem "activerecord", "< 6.1", ">= 6.0"
|
5
5
|
end
|
6
6
|
|
7
|
-
appraise "activerecord-
|
8
|
-
gem "activerecord", "<
|
7
|
+
appraise "activerecord-61" do
|
8
|
+
gem "activerecord", "< 6.2", ">= 6.1"
|
9
9
|
end
|