tweet_watch 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +5 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +41 -0
- data/Rakefile +10 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/config.yml +17 -0
- data/exe/tweet_watch +5 -0
- data/lib/tweet_watch.rb +34 -0
- data/lib/tweet_watch/cli.rb +72 -0
- data/lib/tweet_watch/client.rb +63 -0
- data/lib/tweet_watch/config.rb +53 -0
- data/lib/tweet_watch/user.rb +14 -0
- data/lib/tweet_watch/version.rb +3 -0
- data/tweet_watch.gemspec +38 -0
- metadata +134 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1cf0ec161d2977390ad7ea92acc576b99c868a76
|
4
|
+
data.tar.gz: 92ab838aecde143611dc953925ff4ba0ce1d4183
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 1677ab58dbb77b18a7479cbdbef2c6ce6e4b2ff9fe25147f04385421fe6642bea09aaac5e5128bdeb7b47cdedb81645de052468a09230327e12ab64e0f05e5c7
|
7
|
+
data.tar.gz: 50c0d295f4980e36ad4199c96522dfd040bcef9acba2d03fe52fd55d66a94c0fa04cb5f9ac2b95475ab65739a4df254ed96fe41d769ccfb622ec7dc30b1ca069
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at abraham.ajo@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 Ajo Abraham
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
# TweetBan
|
2
|
+
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/tweet_watch`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'tweet_watch'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install tweet_watch
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
TODO: Write usage instructions here
|
26
|
+
|
27
|
+
## Development
|
28
|
+
|
29
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
30
|
+
|
31
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
32
|
+
|
33
|
+
## Contributing
|
34
|
+
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/tweet_ban. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
|
+
|
37
|
+
|
38
|
+
## License
|
39
|
+
|
40
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
41
|
+
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "tweet_watch"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start
|
data/bin/setup
ADDED
data/config.yml
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
credentials:
|
2
|
+
consumer_key: jKgFRB9dossgVmyRB1P4Wm5J7CN
|
3
|
+
consumer_secret: oMswt4MMBJxrta3fQ27JkmbuLfHMvkZKrlSpIcT8AdmubJcSjlpT
|
4
|
+
|
5
|
+
users:
|
6
|
+
- screen_name: ajoabraham
|
7
|
+
access_token: 17609705-Fd9WcmbEEFFftfasEwxxFvF1FOgtZ1S4E1YNnj0XcPyc
|
8
|
+
access_token_secret: VIge9jyWlz9k9qe0jVaaK3gHoSwqMlgsi0cRZwZEYpWXu6G
|
9
|
+
- screen_name: lodr_io
|
10
|
+
access_token: 797120884146311169asdf-OggIoXEHI1SqnTDuKmp87HSd3O22bw4
|
11
|
+
access_token_secret: Zsl1Pbl7snrmjwfdsv7q2cZpVTAeYCjzDlu3C4k2eEtWMxh1
|
12
|
+
|
13
|
+
tweeters:
|
14
|
+
- scottadamsays
|
15
|
+
- jaketapper
|
16
|
+
- lodr_io
|
17
|
+
- newsycombinator
|
data/exe/tweet_watch
ADDED
data/lib/tweet_watch.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
require "twitter"
|
2
|
+
require "yaml"
|
3
|
+
require 'thor'
|
4
|
+
|
5
|
+
require "tweet_watch/version"
|
6
|
+
require "tweet_watch/config"
|
7
|
+
require "tweet_watch/user"
|
8
|
+
require "tweet_watch/client"
|
9
|
+
require "tweet_watch/cli"
|
10
|
+
|
11
|
+
|
12
|
+
module TweetWatch
|
13
|
+
class << self
|
14
|
+
attr_writer :config
|
15
|
+
end
|
16
|
+
|
17
|
+
def self.config
|
18
|
+
@config ||= Config.new
|
19
|
+
end
|
20
|
+
|
21
|
+
def self.reset
|
22
|
+
@config = Config.new
|
23
|
+
end
|
24
|
+
|
25
|
+
def self.configure
|
26
|
+
yield(config)
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.root
|
30
|
+
File.dirname __dir__
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
module TweetWatch
|
2
|
+
|
3
|
+
def self.print_tweet(tw)
|
4
|
+
puts "\n---"
|
5
|
+
puts "from: @#{tw.user.screen_name}"
|
6
|
+
puts tw.text
|
7
|
+
puts "created #{Time.now - tw.created_at} seconds ago \n"
|
8
|
+
end
|
9
|
+
|
10
|
+
class CLI < Thor
|
11
|
+
include Client
|
12
|
+
|
13
|
+
desc "limits", "Print out the current rate limits"
|
14
|
+
def limits
|
15
|
+
resp = Twitter::REST::Request.new(client, 'get', "/1.1/application/rate_limit_status.json" ).perform
|
16
|
+
puts resp.inspect
|
17
|
+
current_time = Time.now.to_i
|
18
|
+
template = " %-40s %5d remaining, resets in %3d seconds\n"
|
19
|
+
resp.body[:resources].each do |category,resources|
|
20
|
+
puts category.to_s
|
21
|
+
resources.each do |resource,info|
|
22
|
+
printf template, resource.to_s, info[:remaining], info[:reset] - current_time
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
desc "timeline", "Prints out the first users timeline. 20 tweets."
|
28
|
+
option :s, desc: "will stream the first users timeline"
|
29
|
+
option :u, desc: "the screename of the user to authenticate access for"
|
30
|
+
def timeline
|
31
|
+
if options[:s]
|
32
|
+
streaming_client(options[:u]).user do |obj|
|
33
|
+
if obj.class == Twitter::Tweet
|
34
|
+
TweetWatch.print_tweet obj
|
35
|
+
end
|
36
|
+
end
|
37
|
+
else
|
38
|
+
client(options[:u]).home_timeline.each do |tw|
|
39
|
+
TweetWatch.print_tweet(tw)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
45
|
+
desc "watch", "Watches a stream to track tweets from specific tweeters"
|
46
|
+
option :o, desc: "output file - will append if files exists", default: "tweet_watch.csv"
|
47
|
+
option :u, desc: "the screename of the user to authenticate access for"
|
48
|
+
def watch
|
49
|
+
file = File.open(options[:o], "a+")
|
50
|
+
tw_config = TweetWatch.config
|
51
|
+
|
52
|
+
unless file.size > 0
|
53
|
+
file.puts "timelined_at, tweet_id, screen_name, text, tweet_created_at, is_reply, is_quote"
|
54
|
+
end
|
55
|
+
|
56
|
+
streaming_client(options[:u]).user do |obj|
|
57
|
+
time = Time.now
|
58
|
+
if obj.class == Twitter::Tweet
|
59
|
+
TweetWatch.print_tweet obj
|
60
|
+
|
61
|
+
if tw_config.tweeters.include?(obj.user.screen_name)
|
62
|
+
puts "recording tweet data"
|
63
|
+
file.puts "\"#{time.utc}\", \"#{obj.id}\", \"#{obj.user.screen_name}\", \"#{obj.text}\", \"#{obj.created_at.getutc}\",\"#{obj.user.screen_name}\", \"#{obj.reply?}\", \"#{obj.quote?}\""
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|
71
|
+
|
72
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
module TweetWatch
|
2
|
+
module Client
|
3
|
+
|
4
|
+
def config
|
5
|
+
tw_config = TweetWatch::config
|
6
|
+
|
7
|
+
unless tw_config.valid?
|
8
|
+
# try to load a local config.yml
|
9
|
+
puts "trying to load config from current directory..."
|
10
|
+
path = 'config.yml'
|
11
|
+
if File.exists?(path)
|
12
|
+
tw_config.load_from_path(path)
|
13
|
+
else
|
14
|
+
raise ArgumentError.new("Invalid configuration: " + tw_config.error_message)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
tw_config
|
19
|
+
end
|
20
|
+
|
21
|
+
def client(screen_name = nil)
|
22
|
+
tw_config = config
|
23
|
+
user = get_user(screen_name)
|
24
|
+
|
25
|
+
@client ||= Twitter::REST::Client.new do |config|
|
26
|
+
config.consumer_key = tw_config.consumer_key
|
27
|
+
config.consumer_secret = tw_config.consumer_secret
|
28
|
+
config.access_token = user.access_token
|
29
|
+
config.access_token_secret = user.access_token_secret
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def streaming_client(screen_name = nil)
|
34
|
+
tw_config = config
|
35
|
+
user = get_user(screen_name)
|
36
|
+
|
37
|
+
@client ||= Twitter::Streaming::Client.new do |config|
|
38
|
+
config.consumer_key = tw_config.consumer_key
|
39
|
+
config.consumer_secret = tw_config.consumer_secret
|
40
|
+
config.access_token = user.access_token
|
41
|
+
config.access_token_secret = user.access_token_secret
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
def load_config(path)
|
46
|
+
TweetWatch::config.load_from_path(path)
|
47
|
+
end
|
48
|
+
|
49
|
+
def get_user(screen_name)
|
50
|
+
user = config.users.first
|
51
|
+
|
52
|
+
unless screen_name.nil?
|
53
|
+
res = config.users.select { |u| u.screen_name.strip() == screen_name.strip() }
|
54
|
+
user = res.first if res.size > 0
|
55
|
+
end
|
56
|
+
|
57
|
+
return user
|
58
|
+
|
59
|
+
end
|
60
|
+
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -0,0 +1,53 @@
|
|
1
|
+
module TweetWatch
|
2
|
+
class Config
|
3
|
+
attr_accessor :consumer_key, :consumer_secret, :count,
|
4
|
+
:users, :tweeters
|
5
|
+
|
6
|
+
attr_reader :error_message
|
7
|
+
|
8
|
+
def initialize
|
9
|
+
@users = []
|
10
|
+
@tweeters = []
|
11
|
+
@count = 50
|
12
|
+
@error_message = ""
|
13
|
+
end
|
14
|
+
|
15
|
+
def load_from_path(config_path)
|
16
|
+
c = YAML.load_file(config_path)
|
17
|
+
|
18
|
+
unless c["credentials"].nil?
|
19
|
+
cc = c["credentials"]
|
20
|
+
self.consumer_key = cc["consumer_key"] unless cc["consumer_key"].nil?
|
21
|
+
self.consumer_secret = cc["consumer_secret"] unless cc["consumer_secret"].nil?
|
22
|
+
self.count = cc["count"] unless cc["count"].nil?
|
23
|
+
end
|
24
|
+
|
25
|
+
unless c["users"].nil?
|
26
|
+
c["users"].each do |f|
|
27
|
+
self.users << User.new(f["screen_name"], f["access_token"], f["access_token_secret"])
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
unless c["tweeters"].nil?
|
32
|
+
c["tweeters"].each do |t|
|
33
|
+
self.tweeters << t
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
return c
|
38
|
+
end
|
39
|
+
|
40
|
+
def valid?
|
41
|
+
@error_message = ""
|
42
|
+
[:consumer_key, :consumer_secret].each do |m|
|
43
|
+
if self.send(m).nil?
|
44
|
+
@error_message += "#{m.to_s.capitalize} is missing \n"
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
@error_message += "There should be at least one user" if users.size ==0
|
49
|
+
@error_message.strip().length == 0
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
53
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
module TweetWatch
|
2
|
+
|
3
|
+
class User
|
4
|
+
attr_accessor :screen_name, :access_token, :access_token_secret
|
5
|
+
|
6
|
+
def initialize(screen_name, token, secret)
|
7
|
+
@screen_name = screen_name
|
8
|
+
@access_token = token
|
9
|
+
@access_token_secret = secret
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
data/tweet_watch.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'tweet_watch/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "tweet_watch"
|
8
|
+
spec.version = TweetWatch::VERSION
|
9
|
+
spec.authors = ["Ajo Abraham"]
|
10
|
+
spec.email = ["abraham.ajo@gmail.com"]
|
11
|
+
|
12
|
+
spec.summary = %q{Downloads tweets from a twitter account and timelines of select followers of that account.}
|
13
|
+
spec.description = %q{The generated files can be loaded into a database to study twitter behaviour.}
|
14
|
+
spec.homepage = "http://rubygems.org/gems/tweet_watch"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
|
18
|
+
# # to allow pushing to a single host or delete this section to allow pushing to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "http://mygemserver.com"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against " \
|
23
|
+
# "public gem pushes."
|
24
|
+
# end
|
25
|
+
|
26
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
27
|
+
f.match(%r{^(test|spec|features)/})
|
28
|
+
end
|
29
|
+
spec.bindir = "exe"
|
30
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
31
|
+
spec.require_paths = ["lib"]
|
32
|
+
|
33
|
+
spec.add_development_dependency "bundler", "~> 1.13"
|
34
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
35
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
36
|
+
spec.add_dependency "twitter", "~> 6.1"
|
37
|
+
spec.add_dependency 'thor'
|
38
|
+
end
|
metadata
ADDED
@@ -0,0 +1,134 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tweet_watch
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ajo Abraham
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.13'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.13'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: minitest
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '5.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '5.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: twitter
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '6.1'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '6.1'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: thor
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
description: The generated files can be loaded into a database to study twitter behaviour.
|
84
|
+
email:
|
85
|
+
- abraham.ajo@gmail.com
|
86
|
+
executables:
|
87
|
+
- tweet_watch
|
88
|
+
extensions: []
|
89
|
+
extra_rdoc_files: []
|
90
|
+
files:
|
91
|
+
- ".gitignore"
|
92
|
+
- ".travis.yml"
|
93
|
+
- CODE_OF_CONDUCT.md
|
94
|
+
- Gemfile
|
95
|
+
- LICENSE.txt
|
96
|
+
- README.md
|
97
|
+
- Rakefile
|
98
|
+
- bin/console
|
99
|
+
- bin/setup
|
100
|
+
- config.yml
|
101
|
+
- exe/tweet_watch
|
102
|
+
- lib/tweet_watch.rb
|
103
|
+
- lib/tweet_watch/cli.rb
|
104
|
+
- lib/tweet_watch/client.rb
|
105
|
+
- lib/tweet_watch/config.rb
|
106
|
+
- lib/tweet_watch/user.rb
|
107
|
+
- lib/tweet_watch/version.rb
|
108
|
+
- tweet_watch.gemspec
|
109
|
+
homepage: http://rubygems.org/gems/tweet_watch
|
110
|
+
licenses:
|
111
|
+
- MIT
|
112
|
+
metadata: {}
|
113
|
+
post_install_message:
|
114
|
+
rdoc_options: []
|
115
|
+
require_paths:
|
116
|
+
- lib
|
117
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - ">="
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '0'
|
122
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
+
requirements:
|
124
|
+
- - ">="
|
125
|
+
- !ruby/object:Gem::Version
|
126
|
+
version: '0'
|
127
|
+
requirements: []
|
128
|
+
rubyforge_project:
|
129
|
+
rubygems_version: 2.5.1
|
130
|
+
signing_key:
|
131
|
+
specification_version: 4
|
132
|
+
summary: Downloads tweets from a twitter account and timelines of select followers
|
133
|
+
of that account.
|
134
|
+
test_files: []
|