lita-tweet 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lita/handlers/tweet.rb +3 -1
- data/lita-tweet.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0ee908dae8c2ab0b54d26f2a7657454a1335945
|
4
|
+
data.tar.gz: e12bb161c880dd29968e175002542aeb3b310988
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e5d32eb644b7e26223cefa39cfc4baa891f2abd26fb02cd05cb9bb4572c8588c8bf6b03c955dc640aa52b2130e51ed417b639f5b0b950a1bc4c262c75846efc
|
7
|
+
data.tar.gz: 7d38e45c18ddd345532f3a591a68b6a4b5e8f9db67cbb6772b7ef2842d66b2e10c12a82e001e3556b0540cf92afa25e91c54efeeb803b20eb18f2c92ad7000cf
|
data/lib/lita/handlers/tweet.rb
CHANGED
@@ -42,7 +42,9 @@ module Lita
|
|
42
42
|
|
43
43
|
tweet = account.tweet(text)
|
44
44
|
twitter_data.set_last_tweet(account.username, tweet.id)
|
45
|
-
|
45
|
+
# We assume that you have e.g. a Slack integration that shows all tweets
|
46
|
+
# so instead of response.reply(tweet.url.to_s), we merely say:
|
47
|
+
response.reply("Tweet posted!")
|
46
48
|
end
|
47
49
|
|
48
50
|
def untweet(response)
|
data/lita-tweet.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-tweet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andre Arko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|