my_api_client 0.22.0 → 0.23.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
2
  SHA256:
3
- metadata.gz: 0a47b1e4f16c3a2490bed2bc2280aefd6f147241980e37816a34733c6b301242
4
- data.tar.gz: ccc14a82d0268ec3db86150fab5e1a3e45c12a807be3cb3c58230e7e7f2aa56d
3
+ metadata.gz: 1bb356bb66e525d2980381826847669f7393ee2d3cc5c97691af823045e44396
4
+ data.tar.gz: f91f20e3fbcaf40211593be9ee722aa4bb0b270071784476f8a806c675af2f36
5
5
  SHA512:
6
- metadata.gz: 655a1d0fc68e43b7d33b4c97107e7641923c9a05d666ba8ec620ba6400984ff672df6d549f2e02ffad77fc720238da9f6b28e0b7201c069ff9271b769f54f710
7
- data.tar.gz: 47a6c61e6e30e1bbffc3fcdfa6f011e8e1dc3cc625f4f0cfad35ca1f28b7be5957779db4474741f2daea0d11807d8b2965b192e36e2a1d87443530e3a80bf88a
6
+ metadata.gz: 1bf2454a9a0d0ae0bc9e706d20f75016c59dd307942eb8ae28b3a0cfd0dc8d3964deb1eb097945c92eeb841c949bf0d670d34f2d979f50bdb6f7a2d332333823
7
+ data.tar.gz: b5fb69885d68fc31bd06e11c743d2b9b2044bab403e3b0eb9f67421d44587813095677ec41ea657844ead2325ab71a8b5edead53be8051e38602c64c47755e4f
data/.circleci/config.yml CHANGED
@@ -12,17 +12,17 @@ references:
12
12
  - &ruby_version
13
13
  ruby_version:
14
14
  type: enum
15
- enum: &ruby_version_enum ['2.6', '2.7', '3.0']
16
- default: '3.0'
15
+ enum: &ruby_version_enum ["2.7", "3.0", "3.1"]
16
+ default: "3.1"
17
17
  - &rails_version
18
18
  rails_version:
19
19
  type: enum
20
- enum: &rails_version_enum ['5.2', '6.0', '6.1', '7.0']
21
- default: '7.0'
20
+ enum: &rails_version_enum ["5.2", "6.0", "6.1", "7.0"]
21
+ default: "7.0"
22
22
  - &bundler_options
23
23
  bundler_options:
24
24
  type: string
25
- default: ''
25
+ default: ""
26
26
 
27
27
  executors:
28
28
  api_executor:
@@ -35,14 +35,14 @@ executors:
35
35
  parameters:
36
36
  <<: *ruby_version
37
37
  docker:
38
- - image: cimg/ruby:<< parameters.ruby_version >>
38
+ - image: cimg/ruby:<< parameters.ruby_version >>
39
39
  working_directory: ~/repo
40
40
  rails_executor:
41
41
  parameters:
42
42
  <<: *ruby_version
43
43
  <<: *rails_version
44
44
  docker:
45
- - image: cimg/ruby:<< parameters.ruby_version >>
45
+ - image: cimg/ruby:<< parameters.ruby_version >>
46
46
  working_directory: ~/repo/rails_app/rails_<< parameters.rails_version >>
47
47
 
48
48
  commands:
@@ -109,7 +109,7 @@ commands:
109
109
  name: Run RuboCop
110
110
  command: bundle exec rubocop
111
111
  yardoc:
112
- description: 'Generate YARDoc'
112
+ description: "Generate YARDoc"
113
113
  steps:
114
114
  - run: bundle exec yardoc -o ./yardoc
115
115
  - store_artifacts:
@@ -286,20 +286,20 @@ workflows:
286
286
  parameters:
287
287
  ruby_version: *ruby_version_enum
288
288
  rails_version: *rails_version_enum
289
- bundler_options: ['--with integrations', '--without integrations']
289
+ bundler_options: ["--with integrations", "--without integrations"]
290
290
  exclude:
291
- - ruby_version: '3.0'
292
- rails_version: '5.2'
293
- bundler_options: '--with integrations'
294
- - ruby_version: '3.0'
295
- rails_version: '5.2'
296
- bundler_options: '--without integrations'
297
- - ruby_version: '2.6'
298
- rails_version: '7.0'
299
- bundler_options: '--with integrations'
300
- - ruby_version: '2.6'
301
- rails_version: '7.0'
302
- bundler_options: '--without integrations'
291
+ - ruby_version: "3.0"
292
+ rails_version: "5.2"
293
+ bundler_options: "--with integrations"
294
+ - ruby_version: "3.0"
295
+ rails_version: "5.2"
296
+ bundler_options: "--without integrations"
297
+ - ruby_version: "3.1"
298
+ rails_version: "5.2"
299
+ bundler_options: "--with integrations"
300
+ - ruby_version: "3.1"
301
+ rails_version: "5.2"
302
+ bundler_options: "--without integrations"
303
303
  - verify_generator:
304
304
  name: verify_generator_on_ruby_<< matrix.ruby_version >>_and_rails_<< matrix.rails_version >>
305
305
  matrix:
@@ -307,12 +307,12 @@ workflows:
307
307
  ruby_version: *ruby_version_enum
308
308
  rails_version: *rails_version_enum
309
309
  exclude:
310
- - ruby_version: '3.0'
311
- rails_version: '5.2'
312
- - ruby_version: '2.6'
313
- rails_version: '7.0'
310
+ - ruby_version: "3.0"
311
+ rails_version: "5.2"
312
+ - ruby_version: "3.1"
313
+ rails_version: "5.2"
314
314
  - test_api:
315
- ruby_version: '2.7' # Jets supports only Ruby 2.x
315
+ ruby_version: "2.7" # Jets supports only Ruby 2.x
316
316
  - rubocop
317
317
  - yardoc
318
318
  - upload-coverage:
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ require:
5
5
  inherit_from: .rubocop_todo.yml
6
6
 
7
7
  AllCops:
8
- TargetRubyVersion: 2.6
8
+ TargetRubyVersion: 2.7
9
9
  NewCops: enable
10
10
  Exclude:
11
11
  - rails_app/**/*
@@ -18,10 +18,10 @@ Layout/LineLength:
18
18
 
19
19
  Metrics/BlockLength:
20
20
  Exclude:
21
- - 'my_api_client.gemspec'
22
- - 'lib/my_api_client/rspec/matchers/**/*'
23
- - 'spec/**/*'
24
- - 'my_api/spec/**/*'
21
+ - "my_api_client.gemspec"
22
+ - "lib/my_api_client/rspec/matchers/**/*"
23
+ - "spec/**/*"
24
+ - "my_api/spec/**/*"
25
25
 
26
26
  Metrics/MethodLength:
27
27
  Max: 15
@@ -39,17 +39,17 @@ Style/TrailingCommaInHashLiteral:
39
39
 
40
40
  RSpec/DescribeClass:
41
41
  Exclude:
42
- - 'spec/integrations/api_clients/**/*'
43
- - 'spec/lib/my_api_client/rspec/matchers/**/*'
42
+ - "spec/integrations/api_clients/**/*"
43
+ - "spec/lib/my_api_client/rspec/matchers/**/*"
44
44
 
45
45
  RSpec/ExampleLength:
46
46
  Max: 10
47
47
 
48
48
  RSpec/FilePath:
49
49
  Exclude:
50
- - 'spec/lib/my_api_client/integrations/**/*'
51
- - 'spec/lib/my_api_client/errors/**/*'
52
- - 'spec/lib/my_api_client/rspec/**/*'
50
+ - "spec/lib/my_api_client/integrations/**/*"
51
+ - "spec/lib/my_api_client/errors/**/*"
52
+ - "spec/lib/my_api_client/rspec/**/*"
53
53
 
54
54
  RSpec/NestedGroups:
55
55
  Max: 5
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2021-11-15 23:31:28 UTC using RuboCop version 1.23.0.
3
+ # on 2022-06-06 23:31:13 UTC using RuboCop version 1.30.1.
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
@@ -24,7 +24,7 @@ Lint/MissingSuper:
24
24
  - 'lib/my_api_client/sleeper.rb'
25
25
 
26
26
  # Offense count: 6
27
- # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers.
27
+ # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
28
28
  # SupportedStyles: snake_case, normalcase, non_integer
29
29
  # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339
30
30
  Naming/VariableNumber: