diff --git a/Gemfile b/Gemfile index 1b243ea..e6d6151 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source 'http://rubygems.org' ruby '2.3.0' -gem 'slack-ruby-bot' +gem 'slack-ruby-bot', '~> 0.6.0' gem 'wolfram' gem 'puma' gem 'sinatra' diff --git a/Gemfile.lock b/Gemfile.lock index a733c86..be001f1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,18 +1,18 @@ GEM remote: http://rubygems.org/ specs: - activesupport (4.2.3) + activesupport (4.2.5) i18n (~> 0.7) json (~> 1.7, >= 1.7.7) minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.3.8) + addressable (2.4.0) diff-lcs (1.2.5) domain_name (0.5.25) unf (>= 0.0.5, < 1.0.0) - eventmachine (1.0.7) - faraday (0.9.1) + eventmachine (1.0.9.1) + faraday (0.9.2) multipart-post (>= 1.2, < 3) faraday_middleware (0.9.2) faraday (>= 0.7.4, < 0.10) @@ -20,7 +20,7 @@ GEM faraday (~> 0.9.0) faraday_middleware (~> 0.9.1) oj (~> 2.0) - faye-websocket (0.10.0) + faye-websocket (0.10.2) eventmachine (>= 0.12.0) websocket-driver (>= 0.5.1) foreman (0.78.0) @@ -30,7 +30,8 @@ GEM faraday_middleware (~> 0.9) faraday_middleware-parse_oj (~> 0.3) launchy (~> 2.4) - hashie (3.4.2) + gli (2.13.4) + hashie (3.4.3) http-cookie (1.0.2) domain_name (~> 0.5) i18n (0.7.0) @@ -48,14 +49,14 @@ GEM webrobots (>= 0.0.9, < 0.2) mime-types (2.99) mini_portile (0.6.2) - minitest (5.7.0) + minitest (5.8.3) multipart-post (2.0.0) net-http-digest_auth (1.4) net-http-persistent (2.9.4) nokogiri (1.6.6.4) mini_portile (~> 0.6.0) ntlm-http (0.1.1) - oj (2.12.10) + oj (2.14.3) puma (2.12.2) rack (1.6.4) rack-protection (1.5.3) @@ -80,17 +81,18 @@ GEM rack (~> 1.4) rack-protection (~> 1.4) tilt (>= 1.3, < 3) - slack-ruby-bot (0.4.0) + slack-ruby-bot (0.6.0) activesupport + faye-websocket giphy (~> 2.0.2) hashie - slack-ruby-client - websocket-driver (~> 0.5.4) - slack-ruby-client (0.1.0) - eventmachine + slack-ruby-client (>= 0.5.0) + slack-ruby-client (0.5.3) faraday faraday_middleware - faye-websocket + gli + json + websocket-driver thor (0.19.1) thread_safe (0.3.5) tilt (2.0.1) @@ -100,7 +102,7 @@ GEM unf_ext unf_ext (0.0.7.1) webrobots (0.1.2) - websocket-driver (0.5.4) + websocket-driver (0.6.3) websocket-extensions (>= 0.1.0) websocket-extensions (0.1.2) wolfram (0.2.1) @@ -118,7 +120,7 @@ DEPENDENCIES rake rspec sinatra - slack-ruby-bot + slack-ruby-bot (~> 0.6.0) wolfram BUNDLED WITH diff --git a/slack-pixiv/commands/pixiv.rb b/slack-pixiv/commands/pixiv.rb index f0551b7..71b643b 100644 --- a/slack-pixiv/commands/pixiv.rb +++ b/slack-pixiv/commands/pixiv.rb @@ -1,7 +1,7 @@ # coding: utf-8 module SlackMathbot module Commands - class Pixiv < SlackRubyBot::Bot + class Pixiv < SlackRubyBot::Commands::Base match /pixiv\.net(?.*)$/ do |client, _data, _match| #asdf