twitter_ebooks 2.2.7 → 2.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/twitter_ebooks/archive.rb +3 -5
- data/lib/twitter_ebooks/version.rb +1 -1
- data/twitter_ebooks.gemspec +0 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44b519ebe5950dda2bf315fa90935bfb3c674d46
|
4
|
+
data.tar.gz: c54ed9b372891ff615f10f7ee5ac0788008ba895
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11fb9f47f0ab6d327be5b44ae9ce6c32c55c2759a111d726ae0d3e187bac35f4c5473aed1395127e5ae30c26eeb3168fb3cbb7b5d3b94b6b7a89d24f38ec76d0
|
7
|
+
data.tar.gz: 72445d21adb5cc34ed28731390bbb49ca16fd198e684e5bc6dbee28087fedd2a78d1ce6a21b384d7c36b21b40063e7b12426106825a57d6d9eb40abf25e8f9fb
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# twitter\_ebooks 2.2.
|
1
|
+
# twitter\_ebooks 2.2.8
|
2
2
|
|
3
3
|
Rewrite of my twitter\_ebooks code. While the original was solely a tweeting Markov generator, this framework helps you build any kind of interactive twitterbot which responds to mentions/DMs. See [ebooks\_example](https://github.com/mispy/ebooks_example) for an example of a full bot.
|
4
4
|
|
@@ -31,14 +31,12 @@ module Ebooks
|
|
31
31
|
end
|
32
32
|
end
|
33
33
|
|
34
|
-
Twitter.
|
34
|
+
Twitter::REST::Client.new do |config|
|
35
35
|
config.consumer_key = @config[:consumer_key]
|
36
36
|
config.consumer_secret = @config[:consumer_secret]
|
37
|
-
config.
|
38
|
-
config.
|
37
|
+
config.access_token = @config[:oauth_token]
|
38
|
+
config.access_token_secret = @config[:oauth_token_secret]
|
39
39
|
end
|
40
|
-
|
41
|
-
Twitter::Client.new
|
42
40
|
end
|
43
41
|
|
44
42
|
def initialize(username, path, client=nil)
|
data/twitter_ebooks.gemspec
CHANGED
@@ -19,7 +19,6 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.add_development_dependency 'memory_profiler'
|
20
20
|
gem.add_development_dependency 'pry-byebug'
|
21
21
|
|
22
|
-
|
23
22
|
gem.add_runtime_dependency 'twitter', '~> 5.1'
|
24
23
|
gem.add_runtime_dependency 'tweetstream'
|
25
24
|
gem.add_runtime_dependency 'rufus-scheduler'
|