csexton-twitter_archive 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History +10 -1
- data/Manifest +5 -1
- data/README.rdoc +18 -33
- data/Rakefile +1 -0
- data/bin/twitter_archive +16 -1
- data/config/example.yml +8 -0
- data/config/test.yml +1 -0
- data/lib/twitter_archive/backends/yaml_archive.rb +15 -1
- data/lib/twitter_archive/base.rb +6 -2
- data/lib/twitter_archive/runner.rb +42 -2
- data/lib/twitter_archive/version.rb +1 -1
- data/spec/twitter_archive_spec.rb +1 -1
- data/tmp/test_yaml_archive.yml +306 -0
- data/twitter_archive.gemspec +2 -2
- metadata +4 -1
data/History
CHANGED
data/Manifest
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
bin/twitter_archive
|
2
|
-
|
2
|
+
config/example.yml
|
3
3
|
config/test.yml
|
4
|
+
History
|
5
|
+
joe
|
4
6
|
lib/twitter_archive/backends/blogger/base.rb
|
5
7
|
lib/twitter_archive/backends/blogger/blogger.rb
|
6
8
|
lib/twitter_archive/backends/blogger/post_body.html.erb
|
@@ -8,6 +10,7 @@ lib/twitter_archive/backends/blogger/README
|
|
8
10
|
lib/twitter_archive/backends/blogger_archive.rb
|
9
11
|
lib/twitter_archive/backends/yaml_archive.rb
|
10
12
|
lib/twitter_archive/base.rb
|
13
|
+
lib/twitter_archive/rdoc_readme.rb
|
11
14
|
lib/twitter_archive/runner.rb
|
12
15
|
lib/twitter_archive/version.rb
|
13
16
|
lib/twitter_archive.rb
|
@@ -26,4 +29,5 @@ spec/spec.opts
|
|
26
29
|
spec/spec_helper.rb
|
27
30
|
spec/twitter_archive_spec.rb
|
28
31
|
tasks/rspec.rake
|
32
|
+
tmp/test_yaml_archive.yml
|
29
33
|
twitter_archive.gemspec
|
data/README.rdoc
CHANGED
@@ -2,22 +2,28 @@
|
|
2
2
|
|
3
3
|
* http://github.com/csexton/twitter_archive
|
4
4
|
|
5
|
-
==
|
5
|
+
== Description
|
6
6
|
|
7
|
-
|
7
|
+
Archiving utility for Twitter.
|
8
8
|
|
9
9
|
I use my blog as a way to chronicle the things in my life, and I noticed with the introduction of Twitter into my normal routine I found that I was not blogging as much. What I wanted to be able to do is incorporate the twitters into my blog timeline. And while I was able to do some JavaScript trickery to display the twitters on my blog, they were not *in* the blog. Now if I ever want to go back and look up exactly what day my son got his second tooth, I can do so by digging through the blog archives.
|
10
10
|
|
11
11
|
twitter_archive supports multiple backends. I use Blogger, so I have support for that, as well as a very simple yaml archive backend that was intended for testing, but would provide a pretty good (and easy to parse) plan text backup of Twitter.
|
12
12
|
|
13
13
|
|
14
|
-
==
|
14
|
+
== Usage
|
15
|
+
twitter_archive [options]
|
15
16
|
|
16
|
-
|
17
|
+
== Options
|
18
|
+
-h, --help Displays help message
|
19
|
+
-v, --version Display the version, then exit
|
20
|
+
-V, --verbose Verbose output
|
21
|
+
-I, --install Install example yaml config file
|
17
22
|
|
18
|
-
== SYNOPSIS:
|
19
23
|
|
20
|
-
|
24
|
+
== Synopsis
|
25
|
+
|
26
|
+
=== Yaml Archive Backend
|
21
27
|
|
22
28
|
This requires a config file placed in the user's home directory:
|
23
29
|
|
@@ -31,9 +37,9 @@ Example ~/twitter_archive.yml for use with the yaml archive backend:
|
|
31
37
|
|
32
38
|
You can enter mutiple twitter accounts, and it will simply interate through them. You should know that twitter_archive will make seperate requests for each account, so unles you have been {IP whitelisted}[http://twitter.com/help/request_whitelisting] by Twitter you can hit their rate limits pretty easily.
|
33
39
|
|
34
|
-
===
|
40
|
+
=== Blogger Archive Backend
|
35
41
|
|
36
|
-
|
42
|
+
this requires a config file placed in the user's home directory:
|
37
43
|
|
38
44
|
Example ~/twitter_archive.yml for use with the Blogger archive backend:
|
39
45
|
|
@@ -49,9 +55,9 @@ To find your Blogger Blog ID refer to the {Blogger Help Center}[http://help.blog
|
|
49
55
|
|
50
56
|
twitter_archive was intended to be run as a cron job, prolly once a day. It will post in a digest format, collecting all the twitters into one blog post.
|
51
57
|
|
52
|
-
==
|
58
|
+
== Install
|
53
59
|
|
54
|
-
|
60
|
+
get the gem:
|
55
61
|
|
56
62
|
sudo gem install twitter_archive
|
57
63
|
|
@@ -65,27 +71,6 @@ Then Add a line like the following:
|
|
65
71
|
|
66
72
|
This will run everyday at midnight. You can leave off the "> /home/.../twitter_archive.log" if you don't want to keep logs.
|
67
73
|
|
68
|
-
==
|
69
|
-
|
70
|
-
(The MIT License)
|
71
|
-
|
72
|
-
Copyright (c) 2009 Christopher Sexton
|
73
|
-
|
74
|
-
Permission is hereby granted, free of charge, to any person obtaining
|
75
|
-
a copy of this software and associated documentation files (the
|
76
|
-
'Software'), to deal in the Software without restriction, including
|
77
|
-
without limitation the rights to use, copy, modify, merge, publish,
|
78
|
-
distribute, sublicense, and/or sell copies of the Software, and to
|
79
|
-
permit persons to whom the Software is furnished to do so, subject to
|
80
|
-
the following conditions:
|
81
|
-
|
82
|
-
The above copyright notice and this permission notice shall be
|
83
|
-
included in all copies or substantial portions of the Software.
|
74
|
+
== License
|
84
75
|
|
85
|
-
|
86
|
-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
87
|
-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
88
|
-
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
89
|
-
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
90
|
-
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
91
|
-
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
76
|
+
see LICENSE file.
|
data/Rakefile
CHANGED
@@ -14,6 +14,7 @@ Echoe.new(ProjectName, TwitterArchive::VERSION) do |p|
|
|
14
14
|
p.extra_deps = [['twitter', '>= 0.4'], ['hpricot', '>= 0.6']]
|
15
15
|
p.need_tar_gz = false
|
16
16
|
p.docs_host = "http://github.com/csexton/twitter_archive/wikis"
|
17
|
+
|
17
18
|
end
|
18
19
|
|
19
20
|
desc 'Preps the gem for a new release'
|
data/bin/twitter_archive
CHANGED
@@ -1,4 +1,19 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# == Synopsis
|
4
|
+
# Twitter Archive Utility
|
5
|
+
#
|
6
|
+
# == Usage
|
7
|
+
# twitter_archive [options]
|
8
|
+
#
|
9
|
+
# For help see http://github.com/csexton/twitter_archive/
|
10
|
+
#
|
11
|
+
# == Options
|
12
|
+
# -h, --help Displays help message
|
13
|
+
# -v, --version Display the version, then exit
|
14
|
+
# -V, --verbose Verbose output
|
15
|
+
# TO DO - add additional options
|
16
|
+
|
2
17
|
require "#{File.dirname(__FILE__)}/../lib/twitter_archive"
|
3
18
|
|
4
19
|
TwitterArchive::Runner::runner
|
data/config/example.yml
ADDED
data/config/test.yml
CHANGED
@@ -1,8 +1,22 @@
|
|
1
1
|
module TwitterArchive
|
2
2
|
module Backends
|
3
3
|
class YamlArchive
|
4
|
+
# Archive the twitter results in a yaml file.
|
5
|
+
# This requires opts to have 'yaml_file' set to the location to write the archive.
|
4
6
|
def archive(results, opts=nil)
|
5
|
-
|
7
|
+
|
8
|
+
opts['yaml_file'] ||= File.dirname(__FILE__) + '/../../../tmp/test_yaml_archive.yml'
|
9
|
+
|
10
|
+
# sort in chronological order
|
11
|
+
results.sort! {|a, b| a['created_at'] <=> b['created_at'] }
|
12
|
+
|
13
|
+
# This will print the '---' yaml header between each set of results, which will prevent
|
14
|
+
# yaml from parsing anything but the first set. But this backend is currently only being
|
15
|
+
# used for testing so I am not going to worry about it right now.
|
16
|
+
|
17
|
+
File.open(opts['yaml_file'], 'a+') do |out|
|
18
|
+
YAML.dump(results, out)
|
19
|
+
end
|
6
20
|
end
|
7
21
|
end
|
8
22
|
end
|
data/lib/twitter_archive/base.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'parsedate'
|
2
|
+
require 'logger'
|
2
3
|
Dir.glob(File.dirname(__FILE__)+ '/backends/*.rb').each {|f| require f }
|
3
4
|
|
4
5
|
module TwitterArchive
|
@@ -8,6 +9,9 @@ module TwitterArchive
|
|
8
9
|
|
9
10
|
def initialize(config_file = nil)
|
10
11
|
@config_file = config_file || ENV['HOME'] + '/.twitter_archive.yml'
|
12
|
+
|
13
|
+
log_file ||= STDOUT
|
14
|
+
@log = Logger.new(log_file)
|
11
15
|
end
|
12
16
|
|
13
17
|
def get_latest
|
@@ -16,7 +20,7 @@ module TwitterArchive
|
|
16
20
|
@config['accounts'].each do |account|
|
17
21
|
twitter_response = fetch_from_account(account['name'], config['last_max_id'] || 0)
|
18
22
|
config['current_twitter_account'] = account['name']
|
19
|
-
|
23
|
+
@log.info "Collected #{twitter_response['results'].length} tweets from #{account['name']}"
|
20
24
|
|
21
25
|
all_results = all_results + twitter_response['results']
|
22
26
|
last_max_id = twitter_response['max_id']
|
@@ -28,7 +32,7 @@ module TwitterArchive
|
|
28
32
|
|
29
33
|
backend = load_backend(config['backend'])
|
30
34
|
|
31
|
-
backend.archive(all_results, config)
|
35
|
+
@log.info backend.archive(all_results, config)
|
32
36
|
end
|
33
37
|
|
34
38
|
def fetch_from_account(name, last_max_id=0)
|
@@ -1,12 +1,52 @@
|
|
1
|
+
require 'optparse'
|
2
|
+
require File.dirname(__FILE__) + '/rdoc_readme'
|
3
|
+
|
4
|
+
class Logger
|
5
|
+
def format_message(severity, timestamp, progname, msg)
|
6
|
+
"#{msg}\n"
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
1
10
|
module TwitterArchive
|
2
11
|
class Runner
|
3
12
|
def self.runner
|
4
|
-
puts "Running Twitter Archiver"
|
5
|
-
|
6
13
|
ta = TwitterArchive::Base.new
|
7
14
|
ta.load_config
|
15
|
+
|
16
|
+
parse_options
|
17
|
+
|
8
18
|
puts ta.get_latest
|
9
19
|
ta.save_config
|
10
20
|
end
|
21
|
+
|
22
|
+
def self.parse_options
|
23
|
+
OptionParser.new do |opts|
|
24
|
+
opts.summary_width = 25
|
25
|
+
|
26
|
+
opts.on('-v', '--version') do
|
27
|
+
puts "twitter_archive (#{TwitterArchive::VERSION})\n\n"
|
28
|
+
exit
|
29
|
+
end
|
30
|
+
opts.on('-h', '--help') do
|
31
|
+
#RDoc::usage() #exits app
|
32
|
+
RDocReadme.rdoc_usage('usage', 'options')
|
33
|
+
exit
|
34
|
+
end
|
35
|
+
opts.on('-V', '--verbose') do
|
36
|
+
puts "Verbose!"
|
37
|
+
end
|
38
|
+
opts.on('-I', '--install') do
|
39
|
+
puts "Installing example .twitter_archive.yml to your home directory"
|
40
|
+
require "ftools"
|
41
|
+
if File.exists? ENV['HOME'] + '/.twitter_archive.yml'
|
42
|
+
puts " - #{ENV['HOME']}/.twitter_archive.yml already exists, skipping"
|
43
|
+
else
|
44
|
+
File.copy( File.dirname(__FILE__) + '/../../config/example.yml', ENV['HOME'] + '/.twitter_archive.yml')
|
45
|
+
end
|
46
|
+
exit
|
47
|
+
end
|
48
|
+
|
49
|
+
end.parse!
|
50
|
+
end
|
11
51
|
end
|
12
52
|
end
|
@@ -7,7 +7,7 @@ describe TwitterArchive::Base do
|
|
7
7
|
File.dirname(__FILE__) + '/fixtures/twitter_response.yml'))
|
8
8
|
@ta.stub!(:save_config).and_return(true)
|
9
9
|
@ta.config_file = File.dirname(__FILE__) + '/../config/test.yml'
|
10
|
-
# TODO
|
10
|
+
# TODO stub out backend
|
11
11
|
end
|
12
12
|
|
13
13
|
it "should create an instance" do
|
@@ -0,0 +1,306 @@
|
|
1
|
+
---
|
2
|
+
- &id001
|
3
|
+
text: "[cookbook] http://is.gd/dzKJ Christopher Sexton - Freezing to rails 2.1.1"
|
4
|
+
to_user_id:
|
5
|
+
from_user: fuzzymonk
|
6
|
+
id: 1079579667
|
7
|
+
from_user_id: 44397
|
8
|
+
iso_language_code: en
|
9
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
10
|
+
created_at: Fri, 26 Dec 2008 17:41:03 +0000
|
11
|
+
- *id001
|
12
|
+
- &id002
|
13
|
+
text: "[cookbook] http://is.gd/dzKL Christopher Sexton - Fixed link_to in application"
|
14
|
+
to_user_id:
|
15
|
+
from_user: fuzzymonk
|
16
|
+
id: 1079579679
|
17
|
+
from_user_id: 44397
|
18
|
+
iso_language_code: en
|
19
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
20
|
+
created_at: Fri, 26 Dec 2008 17:41:05 +0000
|
21
|
+
- *id002
|
22
|
+
- &id003
|
23
|
+
text: "'Nene' is a derivative of 'Neal'"
|
24
|
+
to_user_id:
|
25
|
+
from_user: fuzzymonk
|
26
|
+
id: 1079585237
|
27
|
+
from_user_id: 44397
|
28
|
+
iso_language_code: it
|
29
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
30
|
+
created_at: Fri, 26 Dec 2008 17:45:34 +0000
|
31
|
+
- *id003
|
32
|
+
- &id004
|
33
|
+
text: "[dotfiles] http://is.gd/dAcc Christopher Sexton - Added check if the file exists before trying to rename it."
|
34
|
+
to_user_id:
|
35
|
+
from_user: fuzzymonk
|
36
|
+
id: 1079644342
|
37
|
+
from_user_id: 44397
|
38
|
+
iso_language_code: en
|
39
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
40
|
+
created_at: Fri, 26 Dec 2008 18:31:37 +0000
|
41
|
+
- *id004
|
42
|
+
- &id005
|
43
|
+
text: "[dotfiles] http://is.gd/dBph Christopher Sexton - Added colors and fixed link if"
|
44
|
+
to_user_id:
|
45
|
+
from_user: fuzzymonk
|
46
|
+
id: 1079851233
|
47
|
+
from_user_id: 44397
|
48
|
+
iso_language_code: en
|
49
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
50
|
+
created_at: Fri, 26 Dec 2008 21:18:09 +0000
|
51
|
+
- *id005
|
52
|
+
- &id006
|
53
|
+
text: "[dotfiles] http://is.gd/dBpf Christopher Sexton - Auto linking files in home/"
|
54
|
+
to_user_id:
|
55
|
+
from_user: fuzzymonk
|
56
|
+
id: 1079851212
|
57
|
+
from_user_id: 44397
|
58
|
+
iso_language_code: en
|
59
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
60
|
+
created_at: Fri, 26 Dec 2008 21:18:10 +0000
|
61
|
+
- *id006
|
62
|
+
- &id007
|
63
|
+
text: "[dotfiles] http://is.gd/dBpg Christopher Sexton - Removing the os specific scripts"
|
64
|
+
to_user_id:
|
65
|
+
from_user: fuzzymonk
|
66
|
+
id: 1079851223
|
67
|
+
from_user_id: 44397
|
68
|
+
iso_language_code: en
|
69
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
70
|
+
created_at: Fri, 26 Dec 2008 21:18:11 +0000
|
71
|
+
- *id007
|
72
|
+
- &id008
|
73
|
+
text: Don't like pandemonium. Go away
|
74
|
+
to_user_id:
|
75
|
+
from_user: fuzzymonk
|
76
|
+
id: 1081233677
|
77
|
+
from_user_id: 44397
|
78
|
+
iso_language_code: en
|
79
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
80
|
+
created_at: Sat, 27 Dec 2008 20:08:54 +0000
|
81
|
+
- *id008
|
82
|
+
- &id009
|
83
|
+
text: Where can I get one? http://tinyurl.com/7dxzrv
|
84
|
+
to_user_id:
|
85
|
+
from_user: fuzzymonk
|
86
|
+
id: 1081473926
|
87
|
+
from_user_id: 44397
|
88
|
+
iso_language_code: en
|
89
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
90
|
+
created_at: Sat, 27 Dec 2008 23:35:21 +0000
|
91
|
+
- *id009
|
92
|
+
- &id010
|
93
|
+
text: "@beejpowers I need to go back to work to recover from the holiday."
|
94
|
+
to_user_id: 2203390
|
95
|
+
to_user: beejpowers
|
96
|
+
from_user: fuzzymonk
|
97
|
+
id: 1081719755
|
98
|
+
from_user_id: 44397
|
99
|
+
iso_language_code: en
|
100
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
101
|
+
created_at: Sun, 28 Dec 2008 03:00:30 +0000
|
102
|
+
- *id010
|
103
|
+
- &id011
|
104
|
+
text: Nursery duty. 9:5 helper to toddler ratio. Why did we wake up so early?
|
105
|
+
to_user_id:
|
106
|
+
from_user: fuzzymonk
|
107
|
+
id: 1082306470
|
108
|
+
from_user_id: 44397
|
109
|
+
iso_language_code: en
|
110
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
111
|
+
created_at: Sun, 28 Dec 2008 14:24:12 +0000
|
112
|
+
- *id011
|
113
|
+
- &id012
|
114
|
+
text: Riding trikes.
|
115
|
+
to_user_id:
|
116
|
+
from_user: fuzzymonk
|
117
|
+
id: 1082523321
|
118
|
+
from_user_id: 44397
|
119
|
+
iso_language_code: nl
|
120
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
121
|
+
created_at: Sun, 28 Dec 2008 17:36:59 +0000
|
122
|
+
- *id012
|
123
|
+
- &id013
|
124
|
+
text: Chicken nugget picnic FTW!
|
125
|
+
to_user_id:
|
126
|
+
from_user: fuzzymonk
|
127
|
+
id: 1082568072
|
128
|
+
from_user_id: 44397
|
129
|
+
iso_language_code: de
|
130
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
131
|
+
created_at: Sun, 28 Dec 2008 18:12:25 +0000
|
132
|
+
- *id013
|
133
|
+
- &id014
|
134
|
+
text: Testing my twitter app.
|
135
|
+
to_user_id:
|
136
|
+
from_user: fuzzymonk
|
137
|
+
id: 1082726875
|
138
|
+
from_user_id: 44397
|
139
|
+
iso_language_code: en
|
140
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
141
|
+
created_at: Sun, 28 Dec 2008 20:14:53 +0000
|
142
|
+
- *id014
|
143
|
+
- &id015
|
144
|
+
text: "@beejpowers glad it was working for you!"
|
145
|
+
to_user_id: 2203390
|
146
|
+
to_user: beejpowers
|
147
|
+
from_user: fuzzymonk
|
148
|
+
id: 1083002747
|
149
|
+
from_user_id: 44397
|
150
|
+
iso_language_code: en
|
151
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
152
|
+
created_at: Sun, 28 Dec 2008 23:38:46 +0000
|
153
|
+
- *id015
|
154
|
+
---
|
155
|
+
- &id001
|
156
|
+
text: "[cookbook] http://is.gd/dzKJ Christopher Sexton - Freezing to rails 2.1.1"
|
157
|
+
to_user_id:
|
158
|
+
from_user: fuzzymonk
|
159
|
+
id: 1079579667
|
160
|
+
from_user_id: 44397
|
161
|
+
iso_language_code: en
|
162
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
163
|
+
created_at: Fri, 26 Dec 2008 17:41:03 +0000
|
164
|
+
- *id001
|
165
|
+
- &id002
|
166
|
+
text: "[cookbook] http://is.gd/dzKL Christopher Sexton - Fixed link_to in application"
|
167
|
+
to_user_id:
|
168
|
+
from_user: fuzzymonk
|
169
|
+
id: 1079579679
|
170
|
+
from_user_id: 44397
|
171
|
+
iso_language_code: en
|
172
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
173
|
+
created_at: Fri, 26 Dec 2008 17:41:05 +0000
|
174
|
+
- *id002
|
175
|
+
- &id003
|
176
|
+
text: "'Nene' is a derivative of 'Neal'"
|
177
|
+
to_user_id:
|
178
|
+
from_user: fuzzymonk
|
179
|
+
id: 1079585237
|
180
|
+
from_user_id: 44397
|
181
|
+
iso_language_code: it
|
182
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
183
|
+
created_at: Fri, 26 Dec 2008 17:45:34 +0000
|
184
|
+
- *id003
|
185
|
+
- &id004
|
186
|
+
text: "[dotfiles] http://is.gd/dAcc Christopher Sexton - Added check if the file exists before trying to rename it."
|
187
|
+
to_user_id:
|
188
|
+
from_user: fuzzymonk
|
189
|
+
id: 1079644342
|
190
|
+
from_user_id: 44397
|
191
|
+
iso_language_code: en
|
192
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
193
|
+
created_at: Fri, 26 Dec 2008 18:31:37 +0000
|
194
|
+
- *id004
|
195
|
+
- &id005
|
196
|
+
text: "[dotfiles] http://is.gd/dBph Christopher Sexton - Added colors and fixed link if"
|
197
|
+
to_user_id:
|
198
|
+
from_user: fuzzymonk
|
199
|
+
id: 1079851233
|
200
|
+
from_user_id: 44397
|
201
|
+
iso_language_code: en
|
202
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
203
|
+
created_at: Fri, 26 Dec 2008 21:18:09 +0000
|
204
|
+
- *id005
|
205
|
+
- &id006
|
206
|
+
text: "[dotfiles] http://is.gd/dBpf Christopher Sexton - Auto linking files in home/"
|
207
|
+
to_user_id:
|
208
|
+
from_user: fuzzymonk
|
209
|
+
id: 1079851212
|
210
|
+
from_user_id: 44397
|
211
|
+
iso_language_code: en
|
212
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
213
|
+
created_at: Fri, 26 Dec 2008 21:18:10 +0000
|
214
|
+
- *id006
|
215
|
+
- &id007
|
216
|
+
text: "[dotfiles] http://is.gd/dBpg Christopher Sexton - Removing the os specific scripts"
|
217
|
+
to_user_id:
|
218
|
+
from_user: fuzzymonk
|
219
|
+
id: 1079851223
|
220
|
+
from_user_id: 44397
|
221
|
+
iso_language_code: en
|
222
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
223
|
+
created_at: Fri, 26 Dec 2008 21:18:11 +0000
|
224
|
+
- *id007
|
225
|
+
- &id008
|
226
|
+
text: Don't like pandemonium. Go away
|
227
|
+
to_user_id:
|
228
|
+
from_user: fuzzymonk
|
229
|
+
id: 1081233677
|
230
|
+
from_user_id: 44397
|
231
|
+
iso_language_code: en
|
232
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
233
|
+
created_at: Sat, 27 Dec 2008 20:08:54 +0000
|
234
|
+
- *id008
|
235
|
+
- &id009
|
236
|
+
text: Where can I get one? http://tinyurl.com/7dxzrv
|
237
|
+
to_user_id:
|
238
|
+
from_user: fuzzymonk
|
239
|
+
id: 1081473926
|
240
|
+
from_user_id: 44397
|
241
|
+
iso_language_code: en
|
242
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
243
|
+
created_at: Sat, 27 Dec 2008 23:35:21 +0000
|
244
|
+
- *id009
|
245
|
+
- &id010
|
246
|
+
text: "@beejpowers I need to go back to work to recover from the holiday."
|
247
|
+
to_user_id: 2203390
|
248
|
+
to_user: beejpowers
|
249
|
+
from_user: fuzzymonk
|
250
|
+
id: 1081719755
|
251
|
+
from_user_id: 44397
|
252
|
+
iso_language_code: en
|
253
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
254
|
+
created_at: Sun, 28 Dec 2008 03:00:30 +0000
|
255
|
+
- *id010
|
256
|
+
- &id011
|
257
|
+
text: Nursery duty. 9:5 helper to toddler ratio. Why did we wake up so early?
|
258
|
+
to_user_id:
|
259
|
+
from_user: fuzzymonk
|
260
|
+
id: 1082306470
|
261
|
+
from_user_id: 44397
|
262
|
+
iso_language_code: en
|
263
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
264
|
+
created_at: Sun, 28 Dec 2008 14:24:12 +0000
|
265
|
+
- *id011
|
266
|
+
- &id012
|
267
|
+
text: Riding trikes.
|
268
|
+
to_user_id:
|
269
|
+
from_user: fuzzymonk
|
270
|
+
id: 1082523321
|
271
|
+
from_user_id: 44397
|
272
|
+
iso_language_code: nl
|
273
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
274
|
+
created_at: Sun, 28 Dec 2008 17:36:59 +0000
|
275
|
+
- *id012
|
276
|
+
- &id013
|
277
|
+
text: Chicken nugget picnic FTW!
|
278
|
+
to_user_id:
|
279
|
+
from_user: fuzzymonk
|
280
|
+
id: 1082568072
|
281
|
+
from_user_id: 44397
|
282
|
+
iso_language_code: de
|
283
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
284
|
+
created_at: Sun, 28 Dec 2008 18:12:25 +0000
|
285
|
+
- *id013
|
286
|
+
- &id014
|
287
|
+
text: Testing my twitter app.
|
288
|
+
to_user_id:
|
289
|
+
from_user: fuzzymonk
|
290
|
+
id: 1082726875
|
291
|
+
from_user_id: 44397
|
292
|
+
iso_language_code: en
|
293
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
294
|
+
created_at: Sun, 28 Dec 2008 20:14:53 +0000
|
295
|
+
- *id014
|
296
|
+
- &id015
|
297
|
+
text: "@beejpowers glad it was working for you!"
|
298
|
+
to_user_id: 2203390
|
299
|
+
to_user: beejpowers
|
300
|
+
from_user: fuzzymonk
|
301
|
+
id: 1083002747
|
302
|
+
from_user_id: 44397
|
303
|
+
iso_language_code: en
|
304
|
+
profile_image_url: http://s3.amazonaws.com/twitter_production/profile_images/30300852/TaylorandMcLauren-jabber_normal.jpg
|
305
|
+
created_at: Sun, 28 Dec 2008 23:38:46 +0000
|
306
|
+
- *id015
|
data/twitter_archive.gemspec
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{twitter_archive}
|
5
|
-
s.version = "0.0.
|
5
|
+
s.version = "0.0.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Christohper Sexton"]
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.email = %q{csexton@gmail.com}
|
13
13
|
s.executables = ["twitter_archive"]
|
14
14
|
s.extra_rdoc_files = ["bin/twitter_archive", "lib/twitter_archive/backends/blogger/base.rb", "lib/twitter_archive/backends/blogger/blogger.rb", "lib/twitter_archive/backends/blogger/post_body.html.erb", "lib/twitter_archive/backends/blogger/README", "lib/twitter_archive/backends/blogger_archive.rb", "lib/twitter_archive/backends/yaml_archive.rb", "lib/twitter_archive/base.rb", "lib/twitter_archive/runner.rb", "lib/twitter_archive/version.rb", "lib/twitter_archive.rb", "LICENSE", "README.rdoc", "tasks/rspec.rake"]
|
15
|
-
s.files = ["bin/twitter_archive", "config/test.yml", "History", "lib/twitter_archive/backends/blogger/base.rb", "lib/twitter_archive/backends/blogger/blogger.rb", "lib/twitter_archive/backends/blogger/post_body.html.erb", "lib/twitter_archive/backends/blogger/README", "lib/twitter_archive/backends/blogger_archive.rb", "lib/twitter_archive/backends/yaml_archive.rb", "lib/twitter_archive/base.rb", "lib/twitter_archive/runner.rb", "lib/twitter_archive/version.rb", "lib/twitter_archive.rb", "LICENSE", "Manifest", "Rakefile", "README.rdoc", "script/console", "script/destroy", "script/generate", "spec/backends/blogger_archive_spec.rb", "spec/backends/yaml_archive_spec.rb", "spec/fixtures/blogger_authenticate_response.yml", "spec/fixtures/twitter_response.yml", "spec/spec.opts", "spec/spec_helper.rb", "spec/twitter_archive_spec.rb", "tasks/rspec.rake", "twitter_archive.gemspec"]
|
15
|
+
s.files = ["bin/twitter_archive", "config/example.yml", "config/test.yml", "History", "joe", "lib/twitter_archive/backends/blogger/base.rb", "lib/twitter_archive/backends/blogger/blogger.rb", "lib/twitter_archive/backends/blogger/post_body.html.erb", "lib/twitter_archive/backends/blogger/README", "lib/twitter_archive/backends/blogger_archive.rb", "lib/twitter_archive/backends/yaml_archive.rb", "lib/twitter_archive/base.rb", "lib/twitter_archive/runner.rb", "lib/twitter_archive/version.rb", "lib/twitter_archive.rb", "LICENSE", "Manifest", "Rakefile", "README.rdoc", "script/console", "script/destroy", "script/generate", "spec/backends/blogger_archive_spec.rb", "spec/backends/yaml_archive_spec.rb", "spec/fixtures/blogger_authenticate_response.yml", "spec/fixtures/twitter_response.yml", "spec/spec.opts", "spec/spec_helper.rb", "spec/twitter_archive_spec.rb", "tasks/rspec.rake", "tmp/test_yaml_archive.yml", "twitter_archive.gemspec"]
|
16
16
|
s.has_rdoc = true
|
17
17
|
s.homepage = %q{http://github.com/csexton/twitter_archive}
|
18
18
|
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Twitter_archive", "--main", "README.rdoc"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: csexton-twitter_archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christohper Sexton
|
@@ -62,8 +62,10 @@ extra_rdoc_files:
|
|
62
62
|
- tasks/rspec.rake
|
63
63
|
files:
|
64
64
|
- bin/twitter_archive
|
65
|
+
- config/example.yml
|
65
66
|
- config/test.yml
|
66
67
|
- History
|
68
|
+
- joe
|
67
69
|
- lib/twitter_archive/backends/blogger/base.rb
|
68
70
|
- lib/twitter_archive/backends/blogger/blogger.rb
|
69
71
|
- lib/twitter_archive/backends/blogger/post_body.html.erb
|
@@ -89,6 +91,7 @@ files:
|
|
89
91
|
- spec/spec_helper.rb
|
90
92
|
- spec/twitter_archive_spec.rb
|
91
93
|
- tasks/rspec.rake
|
94
|
+
- tmp/test_yaml_archive.yml
|
92
95
|
- twitter_archive.gemspec
|
93
96
|
has_rdoc: true
|
94
97
|
homepage: http://github.com/csexton/twitter_archive
|