Browse Source

Updated slack-ruby-bot library

master
Daniel Muckerman 8 years ago
parent
commit
549ad2f90e
3 changed files with 20 additions and 18 deletions
  1. +1
    -1
      Gemfile
  2. +18
    -16
      Gemfile.lock
  3. +1
    -1
      slack-pixiv/commands/pixiv.rb

+ 1
- 1
Gemfile View File

@ -2,7 +2,7 @@ source 'http://rubygems.org'
ruby '2.3.0' ruby '2.3.0'
gem 'slack-ruby-bot'
gem 'slack-ruby-bot', '~> 0.6.0'
gem 'wolfram' gem 'wolfram'
gem 'puma' gem 'puma'
gem 'sinatra' gem 'sinatra'

+ 18
- 16
Gemfile.lock View File

@ -1,18 +1,18 @@
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
activesupport (4.2.3)
activesupport (4.2.5)
i18n (~> 0.7) i18n (~> 0.7)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
addressable (2.3.8)
addressable (2.4.0)
diff-lcs (1.2.5) diff-lcs (1.2.5)
domain_name (0.5.25) domain_name (0.5.25)
unf (>= 0.0.5, < 1.0.0) 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) multipart-post (>= 1.2, < 3)
faraday_middleware (0.9.2) faraday_middleware (0.9.2)
faraday (>= 0.7.4, < 0.10) faraday (>= 0.7.4, < 0.10)
@ -20,7 +20,7 @@ GEM
faraday (~> 0.9.0) faraday (~> 0.9.0)
faraday_middleware (~> 0.9.1) faraday_middleware (~> 0.9.1)
oj (~> 2.0) oj (~> 2.0)
faye-websocket (0.10.0)
faye-websocket (0.10.2)
eventmachine (>= 0.12.0) eventmachine (>= 0.12.0)
websocket-driver (>= 0.5.1) websocket-driver (>= 0.5.1)
foreman (0.78.0) foreman (0.78.0)
@ -30,7 +30,8 @@ GEM
faraday_middleware (~> 0.9) faraday_middleware (~> 0.9)
faraday_middleware-parse_oj (~> 0.3) faraday_middleware-parse_oj (~> 0.3)
launchy (~> 2.4) launchy (~> 2.4)
hashie (3.4.2)
gli (2.13.4)
hashie (3.4.3)
http-cookie (1.0.2) http-cookie (1.0.2)
domain_name (~> 0.5) domain_name (~> 0.5)
i18n (0.7.0) i18n (0.7.0)
@ -48,14 +49,14 @@ GEM
webrobots (>= 0.0.9, < 0.2) webrobots (>= 0.0.9, < 0.2)
mime-types (2.99) mime-types (2.99)
mini_portile (0.6.2) mini_portile (0.6.2)
minitest (5.7.0)
minitest (5.8.3)
multipart-post (2.0.0) multipart-post (2.0.0)
net-http-digest_auth (1.4) net-http-digest_auth (1.4)
net-http-persistent (2.9.4) net-http-persistent (2.9.4)
nokogiri (1.6.6.4) nokogiri (1.6.6.4)
mini_portile (~> 0.6.0) mini_portile (~> 0.6.0)
ntlm-http (0.1.1) ntlm-http (0.1.1)
oj (2.12.10)
oj (2.14.3)
puma (2.12.2) puma (2.12.2)
rack (1.6.4) rack (1.6.4)
rack-protection (1.5.3) rack-protection (1.5.3)
@ -80,17 +81,18 @@ GEM
rack (~> 1.4) rack (~> 1.4)
rack-protection (~> 1.4) rack-protection (~> 1.4)
tilt (>= 1.3, < 3) tilt (>= 1.3, < 3)
slack-ruby-bot (0.4.0)
slack-ruby-bot (0.6.0)
activesupport activesupport
faye-websocket
giphy (~> 2.0.2) giphy (~> 2.0.2)
hashie 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
faraday_middleware faraday_middleware
faye-websocket
gli
json
websocket-driver
thor (0.19.1) thor (0.19.1)
thread_safe (0.3.5) thread_safe (0.3.5)
tilt (2.0.1) tilt (2.0.1)
@ -100,7 +102,7 @@ GEM
unf_ext unf_ext
unf_ext (0.0.7.1) unf_ext (0.0.7.1)
webrobots (0.1.2) webrobots (0.1.2)
websocket-driver (0.5.4)
websocket-driver (0.6.3)
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2) websocket-extensions (0.1.2)
wolfram (0.2.1) wolfram (0.2.1)
@ -118,7 +120,7 @@ DEPENDENCIES
rake rake
rspec rspec
sinatra sinatra
slack-ruby-bot
slack-ruby-bot (~> 0.6.0)
wolfram wolfram
BUNDLED WITH BUNDLED WITH

+ 1
- 1
slack-pixiv/commands/pixiv.rb View File

@ -1,7 +1,7 @@
# coding: utf-8 # coding: utf-8
module SlackMathbot module SlackMathbot
module Commands module Commands
class Pixiv < SlackRubyBot::Bot
class Pixiv < SlackRubyBot::Commands::Base
match /pixiv\.net(?<url>.*)$/ do |client, _data, _match| match /pixiv\.net(?<url>.*)$/ do |client, _data, _match|
#asdf #asdf

Loading…
Cancel
Save