lita-idobata 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/lita/adapters/idobata/connector.rb +1 -1
- data/lib/lita/idobata/version.rb +1 -1
- data/lita-idobata.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 179f48a394b3477ab3dc612a47deeab35f8895c5
|
4
|
+
data.tar.gz: acd48baf07de08786ab5b47478db8f183f4871f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9344d3b7a90e65fdde0e72a6fd39d388910e762d78f67cecc542faa5825c967f62e087c4e59ab4173f0aa8fe794d76522d7a3874063e3357803818b688b0ff5
|
7
|
+
data.tar.gz: a30d1e0ee9ff3450675343a81cdc82018eb6255cf30d433fd8b1678009d56efd469519019476985b3f27ae90a58e57277060b6f0ee9c6f639a4abd24dbdb0d76
|
data/README.md
CHANGED
@@ -24,8 +24,8 @@ Or install it yourself as:
|
|
24
24
|
source "https://rubygems.org"
|
25
25
|
|
26
26
|
gem 'lita', '~> 3.1.0'
|
27
|
-
gem "lita-idobata"
|
28
|
-
gem "pusher-client"
|
27
|
+
gem "lita-idobata"
|
28
|
+
gem "pusher-client"
|
29
29
|
...
|
30
30
|
```
|
31
31
|
|
@@ -40,6 +40,8 @@ Lita.configure do |config|
|
|
40
40
|
end
|
41
41
|
```
|
42
42
|
|
43
|
+
example (for heroku): https://github.com/fukayatsu/kamabata-fkbot
|
44
|
+
|
43
45
|
## Contributing
|
44
46
|
|
45
47
|
1. Fork it ( http://github.com/fukayatsu/lita-idobata/fork )
|
@@ -35,7 +35,7 @@ module Lita
|
|
35
35
|
socket = PusherClient::Socket.new(@pusher_key, options)
|
36
36
|
socket.connect(true)
|
37
37
|
socket.bind('pusher:connection_established') do |data|
|
38
|
-
socket_id = JSON.parse(data)['socket_id']
|
38
|
+
socket_id = JSON.parse(data)['socket_id']
|
39
39
|
socket.subscribe(channel_name, socket_id)
|
40
40
|
end
|
41
41
|
|
data/lib/lita/idobata/version.rb
CHANGED
data/lita-idobata.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
|
22
22
|
spec.add_runtime_dependency "lita", ">= 2.5"
|
23
23
|
spec.add_runtime_dependency 'faraday', '~> 0.9.0'
|
24
|
-
spec.add_runtime_dependency 'pusher-client', '~> 0.
|
24
|
+
spec.add_runtime_dependency 'pusher-client', '~> 0.6.0'
|
25
25
|
|
26
26
|
spec.add_development_dependency "bundler", "~> 1.5"
|
27
27
|
spec.add_development_dependency "rake"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-idobata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fukayatsu
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.
|
47
|
+
version: 0.6.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.
|
54
|
+
version: 0.6.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|