Skip to content

Commit 089f432

Browse files
authored
Merge pull request #7 from dblock/master
Use slack-ruby-bot-server.
2 parents 6cc2f85 + ab6ddbb commit 089f432

29 files changed

+220
-529
lines changed

.rubocop_todo.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,31 @@
11
# This configuration was generated by
22
# `rubocop --auto-gen-config`
3-
# on 2016-04-15 12:06:58 -0400 using RuboCop version 0.34.2.
3+
# on 2017-03-14 23:29:48 -0400 using RuboCop version 0.47.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
77
# versions of RuboCop, may require this file to be generated again.
88

9-
# Offense count: 1
10-
Lint/RescueException:
11-
Exclude:
12-
- 'slack-api-explorer/app.rb'
13-
14-
# Offense count: 8
9+
# Offense count: 5
1510
Metrics/AbcSize:
16-
Max: 35
11+
Max: 33
12+
13+
# Offense count: 13
14+
# Configuration parameters: CountComments, ExcludedMethods.
15+
Metrics/BlockLength:
16+
Max: 108
1717

1818
# Offense count: 2
1919
Metrics/CyclomaticComplexity:
2020
Max: 11
2121

22-
# Offense count: 71
23-
# Configuration parameters: AllowURI, URISchemes.
22+
# Offense count: 63
23+
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
24+
# URISchemes: http, https
2425
Metrics/LineLength:
25-
Max: 175
26+
Max: 186
2627

27-
# Offense count: 7
28+
# Offense count: 5
2829
# Configuration parameters: CountComments.
2930
Metrics/MethodLength:
3031
Max: 23
@@ -33,13 +34,13 @@ Metrics/MethodLength:
3334
Metrics/PerceivedComplexity:
3435
Max: 11
3536

36-
# Offense count: 26
37-
# Configuration parameters: Exclude.
37+
# Offense count: 19
3838
Style/Documentation:
3939
Enabled: false
4040

4141
# Offense count: 1
42-
# Configuration parameters: Exclude.
42+
# Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts, AllowedAcronyms.
43+
# 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
4344
Style/FileName:
4445
Exclude:
4546
- 'slack-api-explorer.rb'

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ services:
22
- mongodb
33

44
rvm:
5-
- 2.2.4
5+
- 2.3.1
66

77
cache: bundler
88

Gemfile

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,36 @@
11
source 'http://rubygems.org'
22

3-
ruby '2.2.4'
3+
ruby '2.3.1'
44

5-
gem 'slack-ruby-bot'
6-
gem 'mongoid', '~> 5.0.0'
7-
gem 'unicorn'
8-
gem 'grape', '~> 0.13.0'
9-
gem 'grape-roar'
10-
gem 'rack-cors'
11-
gem 'kaminari', '~> 0.16.1', require: 'kaminari/grape'
12-
gem 'grape-swagger', '~> 0.10.4'
5+
gem 'giphy'
6+
gem 'jsonpath'
7+
gem 'kaminari-grape'
8+
gem 'mongoid'
139
gem 'mongoid-scroll'
14-
gem 'rack-robotz'
15-
gem 'newrelic_rpm'
1610
gem 'newrelic-slack-ruby-bot'
17-
gem 'rack-rewrite'
18-
gem 'jsonpath'
11+
gem 'newrelic_rpm'
12+
gem 'rack-robotz'
13+
gem 'rack-server-pages'
14+
gem 'slack-ruby-bot-server'
1915

2016
group :development, :test do
21-
gem 'rake', '~> 10.4'
22-
gem 'rubocop', '0.34.2'
2317
gem 'foreman'
18+
gem 'rake'
19+
gem 'rubocop'
2420
end
2521

2622
group :development do
27-
gem 'mongoid-shell'
2823
gem 'heroku'
24+
gem 'mongoid-shell'
2925
end
3026

3127
group :test do
32-
gem 'rspec'
33-
gem 'rack-test'
34-
gem 'webmock'
35-
gem 'vcr'
28+
gem 'database_cleaner'
3629
gem 'fabrication'
3730
gem 'faker'
38-
gem 'database_cleaner', github: 'DatabaseCleaner/database_cleaner'
3931
gem 'hyperclient'
32+
gem 'rack-test'
33+
gem 'rspec'
34+
gem 'vcr'
35+
gem 'webmock'
4036
end

0 commit comments

Comments
 (0)