Skip to content

Commit b575ab9

Browse files
committed
Upgraded dependencies.
1 parent c8992e8 commit b575ab9

File tree

5 files changed

+35
-52
lines changed

5 files changed

+35
-52
lines changed

.rubocop_todo.yml

Lines changed: 2 additions & 2 deletions
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 2019-03-03 18:43:05 -0500 using RuboCop version 0.65.0.
3+
# on 2019-04-12 09:24:52 -0400 using RuboCop version 0.67.2.
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
@@ -13,7 +13,7 @@ Lint/HandleExceptions:
1313

1414
# Offense count: 13
1515
Metrics/AbcSize:
16-
Max: 47
16+
Max: 48
1717

1818
# Offense count: 17
1919
# Configuration parameters: CountComments, ExcludedMethods.

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
rvm:
2-
- 2.5.3
2+
- 2.6.2
33

44
language: ruby
55

Gemfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
source 'http://rubygems.org'
1+
source 'https://rubygems.org'
22

3-
ruby '2.5.3'
3+
ruby '2.6.2'
44

55
gem 'giphy'
66
gem 'kaminari-grape'
@@ -11,6 +11,7 @@ gem 'newrelic_rpm'
1111
gem 'rack-robotz'
1212
gem 'rack-server-pages'
1313
gem 'slack-ruby-bot-server'
14+
gem 'unicorn'
1415

1516
group :development, :test do
1617
gem 'foreman'

Gemfile.lock

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
GEM
2-
remote: http://rubygems.org/
2+
remote: https://rubygems.org/
33
specs:
4-
activemodel (5.2.2)
5-
activesupport (= 5.2.2)
6-
activesupport (5.2.2)
4+
activemodel (5.2.3)
5+
activesupport (= 5.2.3)
6+
activesupport (5.2.3)
77
concurrent-ruby (~> 1.0, >= 1.0.2)
88
i18n (>= 0.7, < 2)
99
minitest (~> 5.1)
1010
tzinfo (~> 1.1)
1111
addressable (2.6.0)
1212
public_suffix (>= 2.0.2, < 4.0)
1313
ast (2.4.0)
14-
async (1.15.5)
14+
async (1.17.1)
15+
console (~> 1.0)
1516
nio4r (~> 2.3)
1617
timers (~> 4.1)
17-
async-io (1.18.5)
18+
async-io (1.20.0)
1819
async (~> 1.14)
19-
async-websocket (0.7.0)
20+
async-websocket (0.8.0)
2021
async-io
2122
websocket-driver (~> 0.7.0)
2223
axiom-types (0.1.1)
@@ -25,7 +26,7 @@ GEM
2526
thread_safe (~> 0.3, >= 0.3.1)
2627
bson (4.4.2)
2728
builder (3.2.3)
28-
capybara (3.14.0)
29+
capybara (3.16.2)
2930
addressable
3031
mini_mime (>= 0.1.3)
3132
nokogiri (~> 1.8)
@@ -37,7 +38,8 @@ GEM
3738
ffi (~> 1.0, >= 1.0.11)
3839
coercible (1.0.0)
3940
descendants_tracker (~> 0.0.1)
40-
concurrent-ruby (1.1.4)
41+
concurrent-ruby (1.1.5)
42+
console (1.2.1)
4143
crack (0.4.3)
4244
safe_yaml (~> 1.0.0)
4345
database_cleaner (1.7.0)
@@ -108,7 +110,7 @@ GEM
108110
mini_mime (1.0.1)
109111
mini_portile2 (2.4.0)
110112
minitest (5.11.3)
111-
mongo (2.7.1)
113+
mongo (2.8.0)
112114
bson (>= 4.4.2, < 5.0.0)
113115
mongoid (7.0.2)
114116
activemodel (>= 5.1, < 6.0.0)
@@ -133,21 +135,20 @@ GEM
133135
newrelic-slack-ruby-bot (0.2.1)
134136
newrelic_rpm
135137
slack-ruby-bot (>= 0.10.5)
136-
newrelic_rpm (6.1.0.352)
138+
newrelic_rpm (6.2.0.354)
137139
nio4r (2.3.1)
138-
nokogiri (1.10.1)
140+
nokogiri (1.10.2)
139141
mini_portile2 (~> 2.4.0)
140-
oj (3.7.9)
141-
parallel (1.14.0)
142-
parser (2.6.0.0)
142+
oj (3.7.11)
143+
parallel (1.17.0)
144+
parser (2.6.2.1)
143145
ast (~> 2.4.0)
144-
powerpack (0.1.2)
145146
psych (3.1.0)
146147
public_suffix (3.0.3)
147-
rack (2.0.6)
148+
rack (2.0.7)
148149
rack-accept (0.4.5)
149150
rack (>= 0.4)
150-
rack-cors (1.0.2)
151+
rack-cors (1.0.3)
151152
rack-rewrite (1.5.1)
152153
rack-robotz (0.0.4)
153154
rack
@@ -158,7 +159,7 @@ GEM
158159
rainbow (3.0.0)
159160
raindrops (0.19.0)
160161
rake (12.3.2)
161-
regexp_parser (1.3.0)
162+
regexp_parser (1.4.0)
162163
representable (3.0.4)
163164
declarative (< 0.1.0)
164165
declarative-option (< 0.2.0)
@@ -178,15 +179,14 @@ GEM
178179
diff-lcs (>= 1.2.0, < 2.0)
179180
rspec-support (~> 3.8.0)
180181
rspec-support (3.8.0)
181-
rubocop (0.65.0)
182+
rubocop (0.67.2)
182183
jaro_winkler (~> 1.5.1)
183184
parallel (~> 1.10)
184185
parser (>= 2.5, != 2.5.1.1)
185-
powerpack (~> 0.1)
186186
psych (>= 3.1.0)
187187
rainbow (>= 2.2.2, < 4.0)
188188
ruby-progressbar (~> 1.7)
189-
unicode-display_width (~> 1.4.0)
189+
unicode-display_width (>= 1.4.0, < 1.6)
190190
ruby-progressbar (1.10.0)
191191
rubyzip (1.2.2)
192192
safe_yaml (1.0.5)
@@ -196,7 +196,7 @@ GEM
196196
slack-ruby-bot (0.12.0)
197197
hashie
198198
slack-ruby-client (>= 0.14.0)
199-
slack-ruby-bot-server (0.9.0)
199+
slack-ruby-bot-server (0.11.0)
200200
async-websocket
201201
foreman
202202
grape
@@ -207,8 +207,7 @@ GEM
207207
rack-rewrite
208208
rack-server-pages
209209
slack-ruby-bot (>= 0.12.0)
210-
unicorn
211-
slack-ruby-client (0.14.1)
210+
slack-ruby-client (0.14.2)
212211
activesupport
213212
faraday (>= 0.9)
214213
faraday_middleware
@@ -221,8 +220,8 @@ GEM
221220
tzinfo (1.2.5)
222221
thread_safe (~> 0.1)
223222
uber (0.1.0)
224-
unicode-display_width (1.4.1)
225-
unicorn (5.4.1)
223+
unicode-display_width (1.5.0)
224+
unicorn (5.5.0)
226225
kgio (~> 2.6)
227226
raindrops (~> 0.7)
228227
uri_template (0.7.0)
@@ -267,11 +266,12 @@ DEPENDENCIES
267266
rubocop
268267
selenium-webdriver
269268
slack-ruby-bot-server
269+
unicorn
270270
vcr
271271
webmock
272272

273273
RUBY VERSION
274-
ruby 2.5.3p105
274+
ruby 2.6.2p47
275275

276276
BUNDLED WITH
277-
1.16.6
277+
1.17.2

spec/models/team_spec.rb

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
11
require 'spec_helper'
22

33
describe Team do
4-
context '#find_or_create_from_env!' do
5-
before do
6-
ENV['SLACK_API_TOKEN'] = 'token'
7-
end
8-
context 'team', vcr: { cassette_name: 'team_info' } do
9-
it 'creates a team' do
10-
expect { Team.find_or_create_from_env! }.to change(Team, :count).by(1)
11-
team = Team.first
12-
expect(team.team_id).to eq 'T04KB5WQH'
13-
expect(team.name).to eq 'dblock'
14-
expect(team.domain).to eq 'dblockdotorg'
15-
expect(team.token).to eq 'token'
16-
end
17-
end
18-
after do
19-
ENV.delete 'SLACK_API_TOKEN'
20-
end
21-
end
224
context '#purge!' do
235
let!(:active_team) { Fabricate(:team) }
246
let!(:inactive_team) { Fabricate(:team, active: false) }

0 commit comments

Comments
 (0)