Skip to content

Commit d2fcf69

Browse files
committed
Update dependencies.
1 parent be28206 commit d2fcf69

18 files changed

+363
-227
lines changed

.rubocop.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
AllCops:
2+
NewCops: enable
23
Exclude:
34
- vendor/**/*
45
- bin/**/*
56
- db/schema.rb
67

78
inherit_from: .rubocop_todo.yml
9+
10+
plugins:
11+
- rubocop-rake
12+
- rubocop-rspec

.rubocop_todo.yml

Lines changed: 80 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,80 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2016-09-25 09:04:36 -0400 using RuboCop version 0.43.0.
3+
# on 2025-09-25 14:32:18 UTC using RuboCop version 1.81.0.
44
# The point is for the user to remove these configuration records
55
# one by one as the offenses are removed from the code base.
66
# Note that changes in the inspected code, or installation of new
77
# versions of RuboCop, may require this file to be generated again.
88

99
# Offense count: 1
10+
# This cop supports unsafe autocorrection (--autocorrect-all).
11+
Lint/NonDeterministicRequireOrder:
12+
Exclude:
13+
- 'config/application.rb'
14+
15+
# Offense count: 1
16+
# Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
1017
Metrics/AbcSize:
11-
Max: 19
18+
Max: 18
1219

13-
# Offense count: 23
14-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
15-
# URISchemes: http, https
16-
Metrics/LineLength:
17-
Max: 149
20+
# Offense count: 1
21+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
22+
# AllowedMethods: refine
23+
Metrics/BlockLength:
24+
Max: 47
1825

1926
# Offense count: 2
20-
# Configuration parameters: CountComments.
27+
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
2128
Metrics/MethodLength:
2229
Max: 15
2330

31+
# Offense count: 1
32+
RSpec/AnyInstance:
33+
Exclude:
34+
- 'spec/api/splines_endpoint_spec.rb'
35+
36+
# Offense count: 5
37+
# Configuration parameters: Prefixes, AllowedPatterns.
38+
# Prefixes: when, with, without
39+
RSpec/ContextWording:
40+
Exclude:
41+
- 'spec/api/cors_spec.rb'
42+
- 'spec/api/splines_endpoint_spec.rb'
43+
- 'spec/api/splines_endpoint_with_hyperclient_spec.rb'
44+
45+
# Offense count: 5
46+
# Configuration parameters: CountAsOne.
47+
RSpec/ExampleLength:
48+
Max: 10
49+
50+
# Offense count: 19
51+
RSpec/MultipleExpectations:
52+
Max: 5
53+
54+
# Offense count: 4
55+
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
56+
RSpec/SpecFilePathFormat:
57+
Exclude:
58+
- '**/spec/routing/**/*'
59+
- 'spec/api/cors_spec.rb'
60+
- 'spec/api/root_endpoint_spec.rb'
61+
- 'spec/api/splines_endpoint_spec.rb'
62+
- 'spec/api/splines_endpoint_with_hyperclient_spec.rb'
63+
64+
# Offense count: 1
65+
# This cop supports safe autocorrection (--autocorrect).
66+
Rake/Desc:
67+
Exclude:
68+
- 'Rakefile'
69+
70+
# Offense count: 2
71+
# This cop supports unsafe autocorrection (--autocorrect-all).
72+
Style/CommentedKeyword:
73+
Exclude:
74+
- 'api/splines_endpoint.rb'
75+
2476
# Offense count: 10
77+
# Configuration parameters: AllowedConstants.
2578
Style/Documentation:
2679
Exclude:
2780
- 'spec/**/*'
@@ -36,3 +89,22 @@ Style/Documentation:
3689
- 'app/models/spline.rb'
3790
- 'app/root_endpoint.rb'
3891
- 'db/migrate/20141230171041_create_splines.rb'
92+
93+
# Offense count: 22
94+
# This cop supports unsafe autocorrection (--autocorrect-all).
95+
# Configuration parameters: EnforcedStyle.
96+
# SupportedStyles: always, always_true, never
97+
Style/FrozenStringLiteralComment:
98+
Enabled: false
99+
100+
# Offense count: 1
101+
Style/MixinUsage:
102+
Exclude:
103+
- 'Rakefile'
104+
105+
# Offense count: 1
106+
# This cop supports safe autocorrection (--autocorrect).
107+
# Configuration parameters: AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
108+
# URISchemes: http, https
109+
Layout/LineLength:
110+
Max: 129

Gemfile

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,29 @@
11
source 'http://rubygems.org'
22

3+
gem 'activerecord', require: 'active_record'
4+
gem 'activerecord-jdbcpostgresql-adapter', platforms: :jruby
5+
gem 'bigdecimal'
6+
gem 'faraday-rack'
37
gem 'grape'
48
gem 'grape-roar'
5-
gem 'rack-cors'
6-
gem 'rack-rewrite'
79
gem 'grape-swagger'
8-
gem 'activerecord', '~> 4.2.0', require: 'active_record'
9-
gem 'protected_attributes'
10-
gem 'pg', platforms: :mri
11-
gem 'kaminari', require: 'kaminari/grape'
10+
gem 'kaminari-grape'
1211
gem 'nokogiri'
13-
gem 'activerecord-jdbcpostgresql-adapter', platforms: :jruby
12+
gem 'pg', platforms: :mri
13+
gem 'rack-cors'
14+
gem 'rack-rewrite'
1415

1516
group :development do
1617
gem 'rake'
1718
gem 'rubocop'
19+
gem 'rubocop-rake'
20+
gem 'rubocop-rspec'
1821
end
1922

2023
group :test do
24+
gem 'database_cleaner'
2125
gem 'fabrication'
22-
gem 'rspec'
23-
gem 'rack-test'
2426
gem 'hyperclient'
25-
gem 'database_cleaner'
27+
gem 'rack-test'
28+
gem 'rspec'
2629
end

0 commit comments

Comments
 (0)