Browse Source

Lock version of websocket-driver.

master
dblock 9 years ago
parent
commit
2c9d493b29
4 changed files with 15 additions and 30 deletions
  1. +5
    -26
      .rubocop_todo.yml
  2. +3
    -2
      Gemfile.lock
  3. +7
    -1
      config.ru
  4. +0
    -1
      spec/spec_helper.rb

+ 5
- 26
.rubocop_todo.yml View File

@ -1,33 +1,20 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-06-19 13:09:29 -0400 using RuboCop version 0.31.0.
# on 2015-07-09 16:07:58 -0400 using RuboCop version 0.31.0.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 1
Lint/HandleExceptions:
Lint/RescueException:
Enabled: false
# Offense count: 2
Metrics/AbcSize:
Max: 21
# Offense count: 1
Metrics/CyclomaticComplexity:
Max: 7
# Offense count: 19
# Offense count: 11
# Configuration parameters: AllowURI, URISchemes.
Metrics/LineLength:
Max: 130
Max: 121
# Offense count: 1
# Configuration parameters: CountComments.
Metrics/MethodLength:
Max: 17
# Offense count: 16
# Offense count: 6
Style/Documentation:
Enabled: false
@ -35,11 +22,3 @@ Style/Documentation:
# Configuration parameters: Exclude.
Style/FileName:
Enabled: false
# Offense count: 1
Style/ModuleFunction:
Enabled: false
# Offense count: 1
Style/RescueModifier:
Enabled: false

+ 3
- 2
Gemfile.lock View File

@ -1,12 +1,13 @@
GIT
remote: git://github.com/dblock/slack-ruby-bot.git
revision: 8385892c5ff6b7860435ca4b1f46017bb45175db
revision: edef7edd1c0e0f5abe70ab801593f4a2ef66766b
specs:
slack-ruby-bot (0.2.0)
activesupport
giphy (~> 2.0.2)
hashie
slack-api (~> 1.1.6)
websocket-driver (~> 0.5.4)
GEM
remote: http://rubygems.org/
@ -104,7 +105,7 @@ GEM
webmock (1.21.0)
addressable (>= 2.3.6)
crack (>= 0.3.2)
websocket-driver (0.6.0)
websocket-driver (0.5.4)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)

+ 7
- 1
config.ru View File

@ -4,7 +4,13 @@ require 'slack-mathbot'
require 'web'
Thread.new do
SlackMathbot::App.instance.run
begin
SlackMathbot::App.instance.run
rescue Exception => e
STDERR.puts "ERROR: #{e}"
STDERR.puts e.backtrace
raise e
end
end
run SlackMathbot::Web

+ 0
- 1
spec/spec_helper.rb View File

@ -1,5 +1,4 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))
require 'slack-ruby-bot/rspec'
require 'config/environment'
require 'slack-mathbot'

Loading…
Cancel
Save