balinterdi-hashtag_retweet_bot 0.1 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +1 -0
- data/README.markdown +2 -2
- data/Rakefile +3 -2
- data/hashtag_retweet_bot.gemspec +15 -6
- metadata +34 -4
data/Manifest
CHANGED
data/README.markdown
CHANGED
@@ -12,8 +12,8 @@ Create the database that will hold the tweets:
|
|
12
12
|
|
13
13
|
Create a directory where you will run the bot from:
|
14
14
|
|
15
|
-
mkdir bot_for_my_conference
|
16
|
-
cd bot_for_my_conference
|
15
|
+
mkdir -p bot_for_my_conference/config
|
16
|
+
cd config/bot_for_my_conference
|
17
17
|
touch database.yml bot.yml
|
18
18
|
|
19
19
|
Put the credentials for the twitter account in _bot.yml_:
|
data/Rakefile
CHANGED
@@ -2,13 +2,14 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('hashtag_retweet_bot', '0.1') do |p|
|
5
|
+
Echoe.new('hashtag_retweet_bot', '0.1.1') do |p|
|
6
6
|
p.description = "Script that listens to a tag and retweets messages with that tag. Originally made for Scotland on Rails '09 by Mark Connell (http://github.com/rubaidh)"
|
7
7
|
p.url = "http://github.com/balinterdi/hashtag_retweet_bot"
|
8
8
|
p.author = "Balint Erdi"
|
9
9
|
p.email = "balint@bucionrails.com"
|
10
10
|
p.ignore_pattern = ["tmp/*", "config/*", "script/*", "*.txt", "pkg"]
|
11
|
-
p.development_dependencies = ["twibot >=0.1.7", "
|
11
|
+
p.development_dependencies = ["twibot >=0.1.7", "activerecord", "pauldix-feedzirra >=0.0.12"]
|
12
|
+
p.runtime_dependencies = ["twibot >=0.1.7", "activerecord", "pauldix-feedzirra >=0.0.12"]
|
12
13
|
end
|
13
14
|
|
14
15
|
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }
|
data/hashtag_retweet_bot.gemspec
CHANGED
@@ -2,17 +2,17 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{hashtag_retweet_bot}
|
5
|
-
s.version = "0.1"
|
5
|
+
s.version = "0.1.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Balint Erdi"]
|
9
|
-
s.date = %q{2009-
|
9
|
+
s.date = %q{2009-07-08}
|
10
10
|
s.default_executable = %q{hashtag_retweet_bot}
|
11
11
|
s.description = %q{Script that listens to a tag and retweets messages with that tag. Originally made for Scotland on Rails '09 by Mark Connell (http://github.com/rubaidh)}
|
12
12
|
s.email = %q{balint@bucionrails.com}
|
13
13
|
s.executables = ["hashtag_retweet_bot"]
|
14
14
|
s.extra_rdoc_files = ["bin/hashtag_retweet_bot", "lib/bot.rb", "README.markdown"]
|
15
|
-
s.files = ["bin/hashtag_retweet_bot", "create_db_table.rb", "feed.rb", "lib/bot.rb", "Manifest", "Rakefile", "README.markdown"
|
15
|
+
s.files = ["bin/hashtag_retweet_bot", "create_db_table.rb", "feed.rb", "hashtag_retweet_bot.gemspec", "lib/bot.rb", "Manifest", "Rakefile", "README.markdown"]
|
16
16
|
s.homepage = %q{http://github.com/balinterdi/hashtag_retweet_bot}
|
17
17
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Hashtag_retweet_bot", "--main", "README.markdown"]
|
18
18
|
s.require_paths = ["lib"]
|
@@ -25,17 +25,26 @@ Gem::Specification.new do |s|
|
|
25
25
|
s.specification_version = 3
|
26
26
|
|
27
27
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
28
|
+
s.add_runtime_dependency(%q<twibot>, [">= 0.1.7"])
|
29
|
+
s.add_runtime_dependency(%q<activerecord>, [">= 0"])
|
30
|
+
s.add_runtime_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
28
31
|
s.add_development_dependency(%q<twibot>, [">= 0.1.7"])
|
29
|
-
s.add_development_dependency(%q<
|
32
|
+
s.add_development_dependency(%q<activerecord>, [">= 0"])
|
30
33
|
s.add_development_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
31
34
|
else
|
32
35
|
s.add_dependency(%q<twibot>, [">= 0.1.7"])
|
33
|
-
s.add_dependency(%q<
|
36
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
37
|
+
s.add_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
38
|
+
s.add_dependency(%q<twibot>, [">= 0.1.7"])
|
39
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
34
40
|
s.add_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
35
41
|
end
|
36
42
|
else
|
37
43
|
s.add_dependency(%q<twibot>, [">= 0.1.7"])
|
38
|
-
s.add_dependency(%q<
|
44
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
45
|
+
s.add_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
46
|
+
s.add_dependency(%q<twibot>, [">= 0.1.7"])
|
47
|
+
s.add_dependency(%q<activerecord>, [">= 0"])
|
39
48
|
s.add_dependency(%q<pauldix-feedzirra>, [">= 0.0.12"])
|
40
49
|
end
|
41
50
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: balinterdi-hashtag_retweet_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Balint Erdi
|
@@ -9,9 +9,39 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-07-08 00:00:00 -07:00
|
13
13
|
default_executable: hashtag_retweet_bot
|
14
14
|
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: twibot
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.1.7
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: activerecord
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: "0"
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: pauldix-feedzirra
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 0.0.12
|
44
|
+
version:
|
15
45
|
- !ruby/object:Gem::Dependency
|
16
46
|
name: twibot
|
17
47
|
type: :development
|
@@ -23,7 +53,7 @@ dependencies:
|
|
23
53
|
version: 0.1.7
|
24
54
|
version:
|
25
55
|
- !ruby/object:Gem::Dependency
|
26
|
-
name:
|
56
|
+
name: activerecord
|
27
57
|
type: :development
|
28
58
|
version_requirement:
|
29
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -56,11 +86,11 @@ files:
|
|
56
86
|
- bin/hashtag_retweet_bot
|
57
87
|
- create_db_table.rb
|
58
88
|
- feed.rb
|
89
|
+
- hashtag_retweet_bot.gemspec
|
59
90
|
- lib/bot.rb
|
60
91
|
- Manifest
|
61
92
|
- Rakefile
|
62
93
|
- README.markdown
|
63
|
-
- hashtag_retweet_bot.gemspec
|
64
94
|
has_rdoc: false
|
65
95
|
homepage: http://github.com/balinterdi/hashtag_retweet_bot
|
66
96
|
post_install_message:
|