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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69ac58617389d783dde49b9295bc12f00380ee2f
4
- data.tar.gz: 6afd456d5eae6d74a8330240c40e427640255dda
3
+ metadata.gz: 44b519ebe5950dda2bf315fa90935bfb3c674d46
4
+ data.tar.gz: c54ed9b372891ff615f10f7ee5ac0788008ba895
5
5
  SHA512:
6
- metadata.gz: 4990cbbe8e4fa74bbf8b935598474d245de148464679b85a1908abe9612653849981f38343fb7f1706b241cc85ba166d45a89a8ee030d43878c91361f5d2dff4
7
- data.tar.gz: 67bdec6974c5aea4bebf299045653b3f71cb3a69becd49b926c956bd22da546d01fc276334034c39175a9f329bf325535344a9e77f2036ab76085b95073c49a1
6
+ metadata.gz: 11fb9f47f0ab6d327be5b44ae9ce6c32c55c2759a111d726ae0d3e187bac35f4c5473aed1395127e5ae30c26eeb3168fb3cbb7b5d3b94b6b7a89d24f38ec76d0
7
+ data.tar.gz: 72445d21adb5cc34ed28731390bbb49ca16fd198e684e5bc6dbee28087fedd2a78d1ce6a21b384d7c36b21b40063e7b12426106825a57d6d9eb40abf25e8f9fb
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # twitter\_ebooks 2.2.7
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.configure do |config|
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.oauth_token = @config[:oauth_token]
38
- config.oauth_token_secret = @config[:oauth_token_secret]
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)
@@ -1,3 +1,3 @@
1
1
  module Ebooks
2
- VERSION = "2.2.7"
2
+ VERSION = "2.2.8"
3
3
  end
@@ -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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_ebooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jaiden Mispy