Skip to content

Commit 6e37973

Browse files
committed
Upgraded dependencies.
1 parent 0687101 commit 6e37973

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

.rubocop_todo.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2018-08-22 08:58:18 -0400 using RuboCop version 0.58.2.
3+
# on 2018-09-20 16:28:00 -0400 using RuboCop version 0.59.1.
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
@@ -29,6 +29,13 @@ Metrics/MethodLength:
2929
Metrics/PerceivedComplexity:
3030
Max: 11
3131

32+
# Offense count: 1
33+
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
34+
# AllowedAcronyms: CLI, DSL, ACL, API, ASCII, CPU, CSS, DNS, EOF, GUID, HTML, HTTP, HTTPS, ID, IP, JSON, LHS, QPS, RAM, RHS, RPC, SLA, SMTP, SQL, SSH, TCP, TLS, TTL, UDP, UI, UID, UUID, URI, URL, UTF8, VM, XML, XMPP, XSRF, XSS
35+
Naming/FileName:
36+
Exclude:
37+
- 'slack-api-explorer.rb'
38+
3239
# Offense count: 2
3340
# Configuration parameters: Blacklist.
3441
# Blacklist: (?-mix:(^|\s)(EO[A-Z]{1}|END)(\s|$))

Gemfile.lock

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ GEM
2525
thread_safe (~> 0.3, >= 0.3.1)
2626
bson (4.3.0)
2727
builder (3.2.3)
28-
capybara (3.7.1)
28+
capybara (3.8.0)
2929
addressable
3030
mini_mime (>= 0.1.3)
3131
nokogiri (~> 1.8)
@@ -49,7 +49,7 @@ GEM
4949
fabrication (2.20.1)
5050
faker (1.9.1)
5151
i18n (>= 0.7)
52-
faraday (0.15.2)
52+
faraday (0.15.3)
5353
multipart-post (>= 1.2, < 3)
5454
faraday-digestauth (0.3.0)
5555
faraday (~> 0.7)
@@ -113,7 +113,7 @@ GEM
113113
minitest (5.11.3)
114114
mongo (2.6.2)
115115
bson (>= 4.3.0, < 5.0.0)
116-
mongoid (7.0.1)
116+
mongoid (7.0.2)
117117
activemodel (>= 5.1, < 6.0.0)
118118
mongo (>= 2.5.1, < 3.0.0)
119119
mongoid-compatibility (0.5.1)
@@ -136,11 +136,11 @@ GEM
136136
newrelic-slack-ruby-bot (0.2.1)
137137
newrelic_rpm
138138
slack-ruby-bot (>= 0.10.5)
139-
newrelic_rpm (5.3.0.346)
139+
newrelic_rpm (5.4.0.347)
140140
nio4r (2.3.1)
141141
nokogiri (1.8.4)
142142
mini_portile2 (~> 2.3.0)
143-
oj (3.6.8)
143+
oj (3.6.10)
144144
parallel (1.12.1)
145145
parser (2.5.1.2)
146146
ast (~> 2.4.0)
@@ -179,7 +179,7 @@ GEM
179179
diff-lcs (>= 1.2.0, < 2.0)
180180
rspec-support (~> 3.8.0)
181181
rspec-support (3.8.0)
182-
rubocop (0.58.2)
182+
rubocop (0.59.1)
183183
jaro_winkler (~> 1.5.1)
184184
parallel (~> 1.10)
185185
parser (>= 2.5, != 2.5.1.1)
@@ -196,7 +196,7 @@ GEM
196196
slack-ruby-bot (0.11.1)
197197
hashie
198198
slack-ruby-client (>= 0.6.0)
199-
slack-ruby-bot-server (0.8.0)
199+
slack-ruby-bot-server (0.8.1)
200200
async-websocket
201201
foreman
202202
grape

slack-api-explorer/api/helpers/cursor_helpers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module CursorHelpers
99
# next: (cursor to the next page)
1010
def paginate_by_cursor(coll, &_block)
1111
raise 'Both cursor and offset parameters are present, these are mutually exclusive.' if params.key?(:offset) && params.key?(:cursor)
12+
1213
results = { results: [], next: nil }
1314
size = (params[:size] || 10).to_i
1415
if params.key?(:offset)

slack-api-explorer/api/helpers/sort_helpers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module SortHelpers
66
def sort_order(options = {})
77
params[:sort] = options[:default_sort_order] unless params[:sort]
88
return [] unless params[:sort]
9+
910
sort_order = params[:sort].to_s
1011
unless options[:default_sort_order] == sort_order
1112
supported_sort_orders = route_sort

slack-api-explorer/api/presenters/status_presenter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ module StatusPresenter
1616
def ping
1717
team = Team.asc(:_id).where(api: true).first
1818
return unless team
19+
1920
team.ping!
2021
end
2122

spec/api/endpoints/root_endpoint_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
links.each_pair do |_key, h|
1717
href = h['href']
1818
next if href.include?('{') # templated link
19+
1920
get href.gsub('http://example.org', '')
2021
expect(last_response.status).to eq 200
2122
expect(JSON.parse(last_response.body)).to_not eq({})

spec/support/api/endpoints/it_behaves_like_a_cursor_api.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
response = client.send(model_ps, next_cursor.merge(cursor_params))
3131
models_ids.concat(response.map { |instance| instance._links.self._url.gsub("http://example.org/api/#{model_ps}/", '') })
3232
break unless response._links[:next]
33+
3334
next_cursor = Hash[CGI.parse(URI.parse(response._links.next._url).query).map { |a| [a[0], a[1][0]] }]
3435
end
3536
expect(models_ids.uniq.count).to eq model.all.count
@@ -42,6 +43,7 @@
4243
response = client.send(model_ps, next_cursor.merge(cursor_params))
4344
models_ids.concat(response.map { |instance| instance._links.self._url.gsub("http://example.org/api/#{model_ps}/", '') })
4445
break unless response._links[:next]
46+
4547
next_cursor = Hash[CGI.parse(URI.parse(response._links.next._url).query).map { |a| [a[0], a[1][0]] }]
4648
end
4749
expect(models_ids.uniq.count).to eq model.all.count - 3

0 commit comments

Comments
 (0)