Skip to content

Commit a1e2363

Browse files
committed
lint: rubocop: fix various
1 parent 04e3cd9 commit a1e2363

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.rubocop.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ AllCops:
33
- 'scripts/**/*'
44
- 'test/**/*'
55

6+
Layout/LineLength:
7+
Max: 120
8+
69
Metrics/ClassLength:
710
Max: 150
811

9-
Metrics/LineLength:
10-
Max: 120
11-
1212
Metrics/AbcSize:
1313
Max: 30
1414

.simplecov

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ require 'coveralls'
22

33
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
44
SimpleCov.start do
5-
add_filter "/test/"
6-
end
5+
add_filter '/test/'
6+
end

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source ENV['GEM_SOURCE'] || 'https://rubygems.org'
22

3-
gemspec
3+
gemspec

lib/ringcentral_sdk/rest/cache/extensions.rb

+2-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ module Cache
77
# Extensions cache is a local store that can retrieve all
88
# extensions for use locally
99
class Extensions
10-
attr_accessor :client
11-
attr_accessor :account_id
12-
attr_reader :extensions_hash
13-
attr_reader :extensions_num2id
14-
attr_reader :last_retrieved
10+
attr_accessor :client, :account_id
11+
attr_reader :extensions_hash, :extensions_num2id, :last_retrieved
1512

1613
def initialize(client)
1714
@client = client

0 commit comments

Comments
 (0)