lita-twitter 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f157612df27f9a80601f1da28e1f54efdb51b1bb
4
- data.tar.gz: 17098c1bcd4511aff9c6a6b01b9ed407ea5e37d9
3
+ metadata.gz: 98ded67145466ca817d82f9fbcbe7b1af859f721
4
+ data.tar.gz: 4f8961ada9cf8932fdd14ecb4df7310ed4027008
5
5
  SHA512:
6
- metadata.gz: 04f421b4a88304b603e38377b09830b4d8e2aa6d8e7ac830a2604438da66108b955a6c2e45e50086f9834bc5bf5c2073ab9de69de757e3b1b554d3aa4ba366f5
7
- data.tar.gz: 92596b35680d8f829dcc9cf1523099af7ab646b69f4064b34e4bd0eead3268e42717ef0824a00555010305a3e67af575f88c02810fd66127c54bfd4569d09fb4
6
+ metadata.gz: df4ad9cb6d5ed9d4f680394019f0c667ff453e793d70cc5a54cbfe9b363f8296398d93a1250cc2cffee2a3b175bc671422104f9b3f9b1b8678d3560613593b82
7
+ data.tar.gz: 23f0e684e57b92cb611cccc65ec2e98e77e09543920821c2c6601e5e8e80ba02bc2f0e937669ccdc3d481b69d1518d5821c255474559e6029e437a8e4f5744bc
@@ -55,11 +55,10 @@ module Lita
55
55
  end
56
56
 
57
57
  def message(target, strings)
58
- text = strings.join("\n")[0...140]
58
+ text = strings.join("\n")[0...120]
59
59
  if target.private_message
60
60
  rest_client.create_direct_message(target.user.name, text)
61
61
  elsif target.user
62
- text = "@#{target.user.name} #{text}"[0...140]
63
62
  rest_client.update(text, in_reply_to_status_id: target.room)
64
63
  else
65
64
  rest_client.update(text)
@@ -1,5 +1,5 @@
1
1
  module Lita
2
2
  module Twitter
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-twitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
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-05-02 00:00:00.000000000 Z
11
+ date: 2014-05-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita