apipie-rails 1.3.0 → 1.4.1

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.
Files changed (62) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build.yml +4 -3
  3. data/.github/workflows/rubocop-challenger.yml +1 -3
  4. data/.github/workflows/rubocop.yml +1 -1
  5. data/.rubocop.yml +1 -0
  6. data/.rubocop_todo.yml +22 -99
  7. data/CHANGELOG.md +24 -0
  8. data/Gemfile +2 -3
  9. data/README.md +2088 -0
  10. data/apipie-rails.gemspec +8 -1
  11. data/app/views/apipie/apipies/_method_detail.erb +2 -0
  12. data/app/views/apipie/apipies/_params.html.erb +1 -0
  13. data/app/views/apipie/apipies/_params_plain.html.erb +1 -0
  14. data/config/locales/en.yml +1 -0
  15. data/config/locales/ko.yml +1 -0
  16. data/lib/apipie/application.rb +1 -1
  17. data/lib/apipie/dsl_definition.rb +3 -3
  18. data/lib/apipie/error_description.rb +7 -5
  19. data/lib/apipie/extractor/recorder.rb +3 -3
  20. data/lib/apipie/extractor/writer.rb +7 -7
  21. data/lib/apipie/generator/swagger/method_description/response_service.rb +14 -1
  22. data/lib/apipie/generator/swagger/param_description/in.rb +1 -1
  23. data/lib/apipie/generator/swagger/type_extractor.rb +1 -1
  24. data/lib/apipie/generator/swagger/warning.rb +2 -2
  25. data/lib/apipie/helpers.rb +1 -1
  26. data/lib/apipie/param_description.rb +1 -1
  27. data/lib/apipie/response_description.rb +44 -14
  28. data/lib/apipie/response_description_adapter.rb +1 -1
  29. data/lib/apipie/routes_formatter.rb +2 -2
  30. data/lib/apipie/version.rb +1 -1
  31. data/lib/tasks/apipie.rake +4 -4
  32. data/rel-eng/gem_release.ipynb +5 -5
  33. data/spec/controllers/api/v1/architectures_controller_spec.rb +3 -3
  34. data/spec/controllers/api/v2/nested/resources_controller_spec.rb +1 -1
  35. data/spec/controllers/concerns_controller_spec.rb +2 -2
  36. data/spec/controllers/extended_controller_spec.rb +2 -2
  37. data/spec/controllers/included_param_group_controller_spec.rb +1 -1
  38. data/spec/controllers/users_controller_spec.rb +65 -64
  39. data/spec/dummy/app/controllers/api/v2/empty_middle_controller.rb +1 -1
  40. data/spec/dummy/app/controllers/extending_concern.rb +7 -7
  41. data/spec/dummy/app/controllers/pets_controller.rb +5 -5
  42. data/spec/dummy/app/controllers/pets_using_auto_views_controller.rb +2 -2
  43. data/spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb +16 -16
  44. data/spec/dummy/app/controllers/sample_controller.rb +31 -31
  45. data/spec/dummy/app/controllers/twitter_example_controller.rb +3 -3
  46. data/spec/lib/apipie/apipies_controller_spec.rb +1 -1
  47. data/spec/lib/apipie/application_spec.rb +2 -2
  48. data/spec/lib/apipie/extractor/writer_spec.rb +8 -8
  49. data/spec/lib/apipie/file_handler_spec.rb +1 -1
  50. data/spec/lib/apipie/generator/swagger/method_description/response_service_spec.rb +62 -0
  51. data/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb +2 -2
  52. data/spec/lib/apipie/method_description_spec.rb +2 -2
  53. data/spec/lib/apipie/param_description_spec.rb +48 -48
  54. data/spec/lib/apipie/param_group_spec.rb +4 -4
  55. data/spec/lib/apipie/resource_description_spec.rb +2 -2
  56. data/spec/lib/apipie/response_description/response_object_spec.rb +22 -0
  57. data/spec/lib/apipie/response_description_spec.rb +56 -0
  58. data/spec/lib/apipie/validator_spec.rb +12 -12
  59. data/spec/lib/swagger/swagger_dsl_spec.rb +39 -39
  60. data/spec/test_engine/memes_controller_spec.rb +1 -1
  61. metadata +147 -7
  62. data/README.rst +0 -1968
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 51731d3325c2241c36c5cf0e19062525d982c2b98fa0d5e0b76a5ba8625ddacd
4
- data.tar.gz: 45db678d7324e76064a8d8a632ac5e72048d85ba7d32329168202bd48723219b
3
+ metadata.gz: e4cb2ed68221a7fd10e07cf119bf3084189ef41b3609530827e026896d0ebee7
4
+ data.tar.gz: f225bc005c87046b5a2018f7294e9a3c1f387ac60bb9a73d295bb2c97b96b6b4
5
5
  SHA512:
6
- metadata.gz: 1dc8a4c009d6dc3daee4ac98d2509d832edbf2dc8d9ec08a9f9205d9ef7614c0480ed60132f33116c6a09dd9a0ec3b056c60fc52e3e6a61b6cf67eb913985619
7
- data.tar.gz: 4621285ca2c82670ec63c0b5a240b0d6024d37e445c724a243782e492c5c6be65091187ee07ef874ff7d0320d68109577277d885b8ea4a28e2aed8c2a94490cf
6
+ metadata.gz: 1b25a40e9f115f20a9c9faf2e5fbf13322b1960bef8182d6b797f67cf8ec3bbefa1afe17fc3b91bff520e4b53252837ca44c34740743002a02b7e75a3aaf793c
7
+ data.tar.gz: a20b72f7e53d2051d2a6bcad867c13ddad70256d4be012f5bbf711c177eb4ab5b0de930c23f0af2ace3c317d49d32dbef06e4c3c9d754c3a5d462031c9986e8d
@@ -9,8 +9,10 @@ jobs:
9
9
  fail-fast: false
10
10
  matrix:
11
11
  rails: ["7.1", "7.0", "6.1", "6.0"]
12
- ruby: ["3.2.2", "3.1.4", "3.0.6", "2.7.8"]
12
+ ruby: ["3.3", "3.2", "3.1", "3.0", "2.7"]
13
13
  include:
14
+ - rails: "7.1"
15
+ ruby: "3.4.0-preview1"
14
16
  - rails: "5.2"
15
17
  ruby: "2.7.8"
16
18
  - rails: "5.1"
@@ -19,11 +21,10 @@ jobs:
19
21
  ruby: "2.6.10"
20
22
 
21
23
  env:
22
- RUBY_VERSION: ${{ matrix.ruby }}
23
24
  RAILS_VERSION: ${{ matrix.rails }}
24
25
 
25
26
  steps:
26
- - uses: actions/checkout@v2
27
+ - uses: actions/checkout@v4
27
28
  - uses: ruby/setup-ruby@v1
28
29
  with:
29
30
  ruby-version: ${{ matrix.ruby }}
@@ -8,10 +8,8 @@ jobs:
8
8
  create-pr:
9
9
  name: Create Pull Request
10
10
  runs-on: ubuntu-latest
11
- env:
12
- BUNDLE_GEMFILE: gemfiles/Gemfile.rails50
13
11
  steps:
14
- - uses: actions/checkout@v2
12
+ - uses: actions/checkout@v4
15
13
  - name: Set up Ruby 3.2
16
14
  uses: ruby/setup-ruby@v1
17
15
  with:
@@ -6,7 +6,7 @@ jobs:
6
6
  build:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v3
9
+ - uses: actions/checkout@v4
10
10
 
11
11
  - name: Set up Ruby 3.2
12
12
  uses: ruby/setup-ruby@v1
data/.rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  require:
2
2
  - rubocop-rails
3
3
  - rubocop-rspec
4
+ - rubocop-rspec_rails
4
5
  - rubocop-performance
5
6
 
6
7
  inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml CHANGED
@@ -1,11 +1,15 @@
1
1
  # This configuration was generated by
2
- # `rubocop --auto-gen-config --exclude-limit 200`
3
- # on 2023-10-11 12:02:42 UTC using RuboCop version 1.57.0.
2
+ # `rubocop --auto-gen-config --exclude-limit 180`
3
+ # on 2024-02-19 23:31:58 UTC using RuboCop version 1.60.2.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
+ RubyVersionGlobalsUsage:
10
+ Exclude:
11
+ - apipie-rails.gemspec
12
+
9
13
  # Offense count: 1
10
14
  # This cop supports safe autocorrection (--autocorrect).
11
15
  # Configuration parameters: Severity, Include.
@@ -154,7 +158,7 @@ Layout/EmptyLineBetweenDefs:
154
158
  - 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
155
159
  - 'spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb'
156
160
 
157
- # Offense count: 56
161
+ # Offense count: 55
158
162
  # This cop supports safe autocorrection (--autocorrect).
159
163
  Layout/EmptyLines:
160
164
  Exclude:
@@ -192,7 +196,7 @@ Layout/EmptyLinesAroundAttributeAccessor:
192
196
  Exclude:
193
197
  - 'lib/apipie/configuration.rb'
194
198
 
195
- # Offense count: 92
199
+ # Offense count: 91
196
200
  # This cop supports safe autocorrection (--autocorrect).
197
201
  # Configuration parameters: EnforcedStyle.
198
202
  # SupportedStyles: empty_lines, no_empty_lines
@@ -213,7 +217,6 @@ Layout/EmptyLinesAroundBlockBody:
213
217
  - 'spec/lib/apipie/extractor/writer_spec.rb'
214
218
  - 'spec/lib/apipie/file_handler_spec.rb'
215
219
  - 'spec/lib/apipie/generator/swagger/param_description/composite_spec.rb'
216
- - 'spec/lib/apipie/generator/swagger/param_description/type_spec.rb'
217
220
  - 'spec/lib/apipie/param_description_spec.rb'
218
221
  - 'spec/lib/apipie/param_group_spec.rb'
219
222
  - 'spec/lib/apipie/validator_spec.rb'
@@ -314,15 +317,6 @@ Layout/ExtraSpacing:
314
317
  - 'spec/lib/apipie/generator/swagger/param_description/type_spec.rb'
315
318
  - 'spec/lib/swagger/swagger_dsl_spec.rb'
316
319
 
317
- # Offense count: 9
318
- # This cop supports safe autocorrection (--autocorrect).
319
- # Configuration parameters: EnforcedStyle, IndentationWidth.
320
- # SupportedStyles: special_inside_parentheses, consistent, align_brackets
321
- Layout/FirstArrayElementIndentation:
322
- Exclude:
323
- - 'spec/dummy/app/controllers/pets_controller.rb'
324
- - 'spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb'
325
-
326
320
  # Offense count: 38
327
321
  # This cop supports safe autocorrection (--autocorrect).
328
322
  # Configuration parameters: EnforcedStyle, IndentationWidth.
@@ -387,13 +381,6 @@ Layout/IndentationWidth:
387
381
  - 'lib/apipie/resource_description.rb'
388
382
  - 'lib/tasks/apipie.rake'
389
383
 
390
- # Offense count: 2
391
- # This cop supports safe autocorrection (--autocorrect).
392
- Layout/InitialIndentation:
393
- Exclude:
394
- - 'spec/dummy/app/controllers/extending_concern.rb'
395
- - 'spec/dummy/app/controllers/sample_controller.rb'
396
-
397
384
  # Offense count: 15
398
385
  # This cop supports safe autocorrection (--autocorrect).
399
386
  # Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
@@ -454,7 +441,7 @@ Layout/SpaceAfterColon:
454
441
  Exclude:
455
442
  - 'spec/dummy/app/controllers/included_param_group_controller.rb'
456
443
 
457
- # Offense count: 42
444
+ # Offense count: 41
458
445
  # This cop supports safe autocorrection (--autocorrect).
459
446
  Layout/SpaceAfterComma:
460
447
  Exclude:
@@ -490,8 +477,9 @@ Layout/SpaceAfterNot:
490
477
 
491
478
  # Offense count: 142
492
479
  # This cop supports safe autocorrection (--autocorrect).
493
- # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator.
480
+ # Configuration parameters: AllowForAlignment, EnforcedStyleForExponentOperator, EnforcedStyleForRationalLiterals.
494
481
  # SupportedStylesForExponentOperator: space, no_space
482
+ # SupportedStylesForRationalLiterals: space, no_space
495
483
  Layout/SpaceAroundOperators:
496
484
  Exclude:
497
485
  - 'app/controllers/apipie/apipies_controller.rb'
@@ -505,7 +493,7 @@ Layout/SpaceAroundOperators:
505
493
  - 'spec/lib/swagger/rake_swagger_spec.rb'
506
494
  - 'spec/lib/swagger/swagger_dsl_spec.rb'
507
495
 
508
- # Offense count: 32
496
+ # Offense count: 29
509
497
  # This cop supports safe autocorrection (--autocorrect).
510
498
  # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces.
511
499
  # SupportedStyles: space, no_space
@@ -518,9 +506,6 @@ Layout/SpaceBeforeBlockBraces:
518
506
  - 'lib/apipie/param_description.rb'
519
507
  - 'lib/apipie/response_description.rb'
520
508
  - 'lib/apipie/routes_formatter.rb'
521
- - 'lib/tasks/apipie.rake'
522
- - 'spec/controllers/users_controller_spec.rb'
523
- - 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
524
509
  - 'spec/lib/swagger/swagger_dsl_spec.rb'
525
510
 
526
511
  # Offense count: 4
@@ -540,7 +525,7 @@ Layout/SpaceInsideArrayLiteralBrackets:
540
525
  - 'lib/apipie/generator/swagger/param_description/composite.rb'
541
526
  - 'spec/controllers/users_controller_spec.rb'
542
527
 
543
- # Offense count: 63
528
+ # Offense count: 60
544
529
  # This cop supports safe autocorrection (--autocorrect).
545
530
  # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
546
531
  # SupportedStyles: space, no_space
@@ -553,9 +538,7 @@ Layout/SpaceInsideBlockBraces:
553
538
  - 'lib/apipie/response_description.rb'
554
539
  - 'lib/apipie/routes_formatter.rb'
555
540
  - 'lib/apipie/validator.rb'
556
- - 'lib/tasks/apipie.rake'
557
541
  - 'spec/controllers/users_controller_spec.rb'
558
- - 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
559
542
  - 'spec/lib/apipie/application_spec.rb'
560
543
  - 'spec/lib/apipie/generator/swagger/operation_id_spec.rb'
561
544
  - 'spec/lib/apipie/generator/swagger/warning_spec.rb'
@@ -726,21 +709,18 @@ Lint/UnderscorePrefixedVariableName:
726
709
  - 'lib/apipie/application.rb'
727
710
  - 'lib/apipie/dsl_definition.rb'
728
711
 
729
- # Offense count: 26
712
+ # Offense count: 22
730
713
  # This cop supports safe autocorrection (--autocorrect).
731
714
  # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
732
715
  Lint/UnusedBlockArgument:
733
716
  Exclude:
734
717
  - 'lib/apipie/configuration.rb'
735
- - 'lib/apipie/extractor/collector.rb'
736
- - 'lib/apipie/extractor/recorder.rb'
737
718
  - 'lib/apipie/param_description.rb'
738
719
  - 'lib/apipie/resource_description.rb'
739
720
  - 'lib/apipie/rspec/response_validation_helper.rb'
740
721
  - 'lib/tasks/apipie.rake'
741
722
  - 'spec/controllers/users_controller_spec.rb'
742
723
  - 'spec/lib/apipie/apipies_controller_spec.rb'
743
- - 'spec/lib/apipie/extractor_spec.rb'
744
724
  - 'spec/lib/swagger/swagger_dsl_spec.rb'
745
725
  - 'spec/spec_helper.rb'
746
726
 
@@ -802,7 +782,7 @@ Metrics/MethodLength:
802
782
  Metrics/ModuleLength:
803
783
  Max: 119
804
784
 
805
- # Offense count: 4
785
+ # Offense count: 5
806
786
  # Configuration parameters: CountKeywordArgs.
807
787
  Metrics/ParameterLists:
808
788
  MaxOptionalParameters: 5
@@ -917,13 +897,6 @@ Performance/RedundantMerge:
917
897
  - 'lib/apipie/generator/swagger/param_description/type.rb'
918
898
  - 'lib/apipie/middleware/checksum_in_headers.rb'
919
899
 
920
- # Offense count: 7
921
- # This cop supports safe autocorrection (--autocorrect).
922
- Performance/RegexpMatch:
923
- Exclude:
924
- - 'lib/apipie/extractor/writer.rb'
925
- - 'lib/apipie/helpers.rb'
926
-
927
900
  # Offense count: 7
928
901
  # This cop supports safe autocorrection (--autocorrect).
929
902
  Performance/StringIdentifierArgument:
@@ -974,7 +947,7 @@ RSpec/BeforeAfterAll:
974
947
  Exclude:
975
948
  - 'spec/controllers/users_controller_spec.rb'
976
949
 
977
- # Offense count: 53
950
+ # Offense count: 54
978
951
  # Configuration parameters: Prefixes, AllowedPatterns.
979
952
  # Prefixes: when, with, without
980
953
  RSpec/ContextWording:
@@ -1052,28 +1025,6 @@ RSpec/EmptyLineAfterHook:
1052
1025
  RSpec/ExampleLength:
1053
1026
  Max: 85
1054
1027
 
1055
- # Offense count: 159
1056
- # This cop supports safe autocorrection (--autocorrect).
1057
- # Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
1058
- # DisallowedExamples: works
1059
- RSpec/ExampleWording:
1060
- Exclude:
1061
- - 'spec/controllers/api/v1/architectures_controller_spec.rb'
1062
- - 'spec/controllers/api/v2/nested/resources_controller_spec.rb'
1063
- - 'spec/controllers/concerns_controller_spec.rb'
1064
- - 'spec/controllers/extended_controller_spec.rb'
1065
- - 'spec/controllers/included_param_group_controller_spec.rb'
1066
- - 'spec/controllers/users_controller_spec.rb'
1067
- - 'spec/lib/apipie/application_spec.rb'
1068
- - 'spec/lib/apipie/extractor/writer_spec.rb'
1069
- - 'spec/lib/apipie/method_description_spec.rb'
1070
- - 'spec/lib/apipie/param_description_spec.rb'
1071
- - 'spec/lib/apipie/param_group_spec.rb'
1072
- - 'spec/lib/apipie/resource_description_spec.rb'
1073
- - 'spec/lib/apipie/validator_spec.rb'
1074
- - 'spec/lib/swagger/swagger_dsl_spec.rb'
1075
- - 'spec/test_engine/memes_controller_spec.rb'
1076
-
1077
1028
  # Offense count: 1
1078
1029
  # This cop supports safe autocorrection (--autocorrect).
1079
1030
  RSpec/ExcessiveDocstringSpacing:
@@ -1141,7 +1092,7 @@ RSpec/MessageSpies:
1141
1092
  RSpec/MultipleExpectations:
1142
1093
  Max: 19
1143
1094
 
1144
- # Offense count: 160
1095
+ # Offense count: 163
1145
1096
  # Configuration parameters: AllowSubject.
1146
1097
  RSpec/MultipleMemoizedHelpers:
1147
1098
  Max: 15
@@ -1166,7 +1117,7 @@ RSpec/NamedSubject:
1166
1117
  - 'spec/lib/swagger/rake_swagger_spec.rb'
1167
1118
  - 'spec/lib/swagger/swagger_dsl_spec.rb'
1168
1119
 
1169
- # Offense count: 96
1120
+ # Offense count: 97
1170
1121
  # Configuration parameters: AllowedGroups.
1171
1122
  RSpec/NestedGroups:
1172
1123
  Max: 6
@@ -1208,7 +1159,7 @@ RSpec/PredicateMatcher:
1208
1159
  # Offense count: 1
1209
1160
  # This cop supports unsafe autocorrection (--autocorrect-all).
1210
1161
  # Configuration parameters: Inferences.
1211
- RSpec/Rails/InferredSpecType:
1162
+ RSpecRails/InferredSpecType:
1212
1163
  Exclude:
1213
1164
  - 'spec/controllers/pets_controller_spec.rb'
1214
1165
 
@@ -1293,7 +1244,7 @@ Rails/NegateInclude:
1293
1244
  - 'lib/apipie/extractor/writer.rb'
1294
1245
  - 'spec/spec_helper.rb'
1295
1246
 
1296
- # Offense count: 7
1247
+ # Offense count: 6
1297
1248
  # This cop supports unsafe autocorrection (--autocorrect-all).
1298
1249
  # Configuration parameters: Include.
1299
1250
  # Include: app/**/*.rb, config/**/*.rb, db/**/*.rb, lib/**/*.rb
@@ -1371,21 +1322,6 @@ Style/AndOr:
1371
1322
  Exclude:
1372
1323
  - 'lib/apipie/param_description.rb'
1373
1324
 
1374
- # Offense count: 18
1375
- # This cop supports safe autocorrection (--autocorrect).
1376
- # Configuration parameters: EnforcedStyle, ProceduralMethods, FunctionalMethods, AllowedMethods, AllowedPatterns, AllowBracesOnProceduralOneLiners, BracesRequiredMethods.
1377
- # SupportedStyles: line_count_based, semantic, braces_for_chaining, always_braces
1378
- # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
1379
- # FunctionalMethods: let, let!, subject, watch
1380
- # AllowedMethods: lambda, proc, it
1381
- Style/BlockDelimiters:
1382
- Exclude:
1383
- - 'lib/tasks/apipie.rake'
1384
- - 'spec/controllers/users_controller_spec.rb'
1385
- - 'spec/dummy/app/controllers/pets_using_auto_views_controller.rb'
1386
- - 'spec/lib/apipie/extractor/writer_spec.rb'
1387
- - 'spec/lib/swagger/swagger_dsl_spec.rb'
1388
-
1389
1325
  # Offense count: 1
1390
1326
  # This cop supports safe autocorrection (--autocorrect).
1391
1327
  # Configuration parameters: AllowOnConstant, AllowOnSelfClass.
@@ -1677,19 +1613,6 @@ Style/MultilineBlockChain:
1677
1613
  Exclude:
1678
1614
  - 'lib/apipie/param_description.rb'
1679
1615
 
1680
- # Offense count: 7
1681
- # This cop supports unsafe autocorrection (--autocorrect-all).
1682
- # Configuration parameters: EnforcedStyle.
1683
- # SupportedStyles: literals, strict
1684
- Style/MutableConstant:
1685
- Exclude:
1686
- - 'lib/apipie/extractor/recorder.rb'
1687
- - 'lib/apipie/generator/swagger/param_description/in.rb'
1688
- - 'lib/apipie/generator/swagger/type_extractor.rb'
1689
- - 'lib/apipie/generator/swagger/warning.rb'
1690
- - 'lib/apipie/routes_formatter.rb'
1691
- - 'lib/apipie/version.rb'
1692
-
1693
1616
  # Offense count: 8
1694
1617
  # This cop supports safe autocorrection (--autocorrect).
1695
1618
  # Configuration parameters: EnforcedStyle.
@@ -1921,7 +1844,7 @@ Style/StringConcatenation:
1921
1844
  - 'lib/apipie/application.rb'
1922
1845
  - 'lib/apipie/extractor/writer.rb'
1923
1846
 
1924
- # Offense count: 1214
1847
+ # Offense count: 1229
1925
1848
  # This cop supports safe autocorrection (--autocorrect).
1926
1849
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
1927
1850
  # SupportedStyles: single_quotes, double_quotes
@@ -2021,7 +1944,7 @@ Style/TrailingCommaInArrayLiteral:
2021
1944
  - 'spec/controllers/users_controller_spec.rb'
2022
1945
  - 'spec/dummy/app/controllers/pets_using_self_describing_classes_controller.rb'
2023
1946
 
2024
- # Offense count: 4
1947
+ # Offense count: 5
2025
1948
  # This cop supports safe autocorrection (--autocorrect).
2026
1949
  # Configuration parameters: EnforcedStyleForMultiline.
2027
1950
  # SupportedStylesForMultiline: comma, consistent_comma, no_comma
data/CHANGELOG.md CHANGED
@@ -1,6 +1,30 @@
1
1
  Changelog
2
2
  ===========
3
3
 
4
+ ## [v1.4.1](https://github.com/Apipie/apipie-rails/tree/v1.4.1) (2024-07-09)
5
+ [Full Changelog](https://github.com/Apipie/apipie-rails/compare/v1.4.0...v1.4.1)
6
+ * Fix multiple rubocop offenses via rubocop_challenger. (Mathieu Jobin)
7
+ * RSpec/ExampleWording (#913)
8
+ * Layout/FirstArrayElementIndentation (#914)
9
+ * Style/BlockDelimiters (#917)
10
+ * Style/MutableConstant (#916)
11
+ * Layout/InitialIndentation (#915)
12
+ * Performance/RegexpMatch (#918)
13
+ * Fix CI: build green for modern ruby, rack, and rubocop-rspec (#939) (Murray Steele)
14
+
15
+ ## [v1.4.0](https://github.com/Apipie/apipie-rails/tree/v1.4.0) (2024-05-30)
16
+ [Full Changelog](https://github.com/Apipie/apipie-rails/compare/v1.3.0...v1.4.0)
17
+ * Add Ruby 3.3.0 to CI build matrix (#906) Masato Nakamura
18
+ * Fix rubocop CI (#910) (Masato Nakamura)
19
+ * Add metadata for rubygems.org and use https URLs (#909) (Masato Nakamura)
20
+ * Bump GHA actions/checkout to be on node20 by default (#911) (Masato Nakamura)
21
+ * Convert readme to markdown (#920) (Panos Dalitsouris)
22
+ * Fix typos, Found via `codespell` (#921) (Kian-Meng Ang)
23
+ * Bump ruby versions on test jobs (#927) (Masato Nakamura)
24
+ * Support for Ruby 3.4.0-preview1 (#929) (Masato Nakamura)
25
+ * Add "blank allowed" message to api doc (#926) (Peko)
26
+ * Custom headers responses (#924) (Panos Dalitsouris)
27
+
4
28
  ## [v1.3.0](https://github.com/Apipie/apipie-rails/tree/v1.3.0) (2023-12-19)
5
29
  [Full Changelog](https://github.com/Apipie/apipie-rails/compare/v1.2.3...v1.3.0)
6
30
  * rubocop fixes ([#897](https://github.com/Apipie/apipie-rails/pull/897)) (Mathieu Jobin)
data/Gemfile CHANGED
@@ -5,9 +5,8 @@ source 'https://rubygems.org'
5
5
  gemspec path: '.'
6
6
 
7
7
  # use ENV vars, with default value as fallback for local setup
8
- ruby(ENV['RUBY_VERSION'] || '3.2.2')
9
- gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0"
10
- gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.0'}.0"
8
+ gem 'actionpack', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0"
9
+ gem 'activesupport', "~> #{ENV['RAILS_VERSION'] || '7.1'}.0"
11
10
 
12
11
  gem 'mime-types' # , '~> 3.0'
13
12
  gem 'rails-controller-testing'