friendfeed 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -5
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/tw2ff +7 -7
- metadata +2 -3
- data/friendfeed.gemspec +0 -60
data/.gitignore
CHANGED
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ manipulating friends, groups and services for your personal purposes.
|
|
18
18
|
gem.rubyforge_project = "friendfeed"
|
19
19
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
20
20
|
end
|
21
|
-
|
21
|
+
Jeweler::GemcutterTasks.new
|
22
22
|
rescue LoadError
|
23
23
|
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
|
24
24
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.7
|
data/bin/tw2ff
CHANGED
@@ -154,7 +154,7 @@ EOF
|
|
154
154
|
url = service['profileUrl'] or next
|
155
155
|
if (name = TWITTER_URI.route_to(url).to_s).match(/\A[A-Za-z0-9_]+\z/)
|
156
156
|
putinfo 'Found a Twitter friend %s in FriendFeed', name
|
157
|
-
subscribed_real << name
|
157
|
+
subscribed_real << name.downcase
|
158
158
|
end
|
159
159
|
}
|
160
160
|
}
|
@@ -165,7 +165,7 @@ EOF
|
|
165
165
|
url = service['profileUrl'] or next
|
166
166
|
if (name = TWITTER_URI.route_to(url).to_s).match(/\A[A-Za-z0-9_]+\z/)
|
167
167
|
putinfo 'Found a Twitter friend %s in FriendFeed (imaginary)', name
|
168
|
-
subscribed_imag << name
|
168
|
+
subscribed_imag << name.downcase
|
169
169
|
end
|
170
170
|
}
|
171
171
|
}
|
@@ -176,7 +176,7 @@ EOF
|
|
176
176
|
url = service['profileUrl'] or next
|
177
177
|
if (name = TWITTER_URI.route_to(url).to_s).match(/\A[A-Za-z0-9_]+\z/)
|
178
178
|
putinfo 'Found a Twitter friend %s in FriendFeed (group)', name
|
179
|
-
subscribed_imag << name
|
179
|
+
subscribed_imag << name.downcase
|
180
180
|
end
|
181
181
|
}
|
182
182
|
}
|
@@ -196,7 +196,7 @@ EOF
|
|
196
196
|
picture_urls = {}
|
197
197
|
|
198
198
|
twitter_client().all_friends.each { |friend|
|
199
|
-
name = friend.screen_name
|
199
|
+
name = friend.screen_name.downcase
|
200
200
|
friends << name
|
201
201
|
next if subscribed.include?(name)
|
202
202
|
|
@@ -262,7 +262,7 @@ EOF
|
|
262
262
|
user = reply.user
|
263
263
|
next if user.protected
|
264
264
|
name = user.screen_name
|
265
|
-
#next if friends.include?(name)
|
265
|
+
#next if friends.include?(name.downcase)
|
266
266
|
text = '%s: %s' % [name, reply.text]
|
267
267
|
url = 'http://twitter.com/%s/statuses/%d' % [name, reply.id]
|
268
268
|
timestamp = Time.parse(reply.created_at)
|
@@ -303,7 +303,7 @@ EOF
|
|
303
303
|
user = reply.user
|
304
304
|
next if !user.protected
|
305
305
|
name = user.screen_name
|
306
|
-
next if friends.include?(name)
|
306
|
+
next if friends.include?(name.downcase)
|
307
307
|
|
308
308
|
text = '[%s]: %s' % [name, reply.text]
|
309
309
|
url = 'http://twitter.com/%s/statuses/%d' % [name, reply.id]
|
@@ -315,7 +315,7 @@ EOF
|
|
315
315
|
user = status.user
|
316
316
|
next if !user.protected
|
317
317
|
name = user.screen_name
|
318
|
-
next if friends_subscribed_real.include?(name)
|
318
|
+
next if friends_subscribed_real.include?(name.downcase)
|
319
319
|
text = '[%s]: %s' % [name, status.text]
|
320
320
|
url = 'http://twitter.com/%s/statuses/%d' % [name, status.id]
|
321
321
|
timestamp = Time.parse(status.created_at)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: friendfeed
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Akinori MUSHA
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-30 00:00:00 +09:00
|
13
13
|
default_executable: tw2ff
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -35,7 +35,6 @@ files:
|
|
35
35
|
- Rakefile
|
36
36
|
- VERSION
|
37
37
|
- bin/tw2ff
|
38
|
-
- friendfeed.gemspec
|
39
38
|
- lib/friendfeed.rb
|
40
39
|
- lib/friendfeed/compat.rb
|
41
40
|
- lib/friendfeed/unofficial.rb
|
data/friendfeed.gemspec
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
# Generated by jeweler
|
2
|
-
# DO NOT EDIT THIS FILE
|
3
|
-
# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
|
4
|
-
# -*- encoding: utf-8 -*-
|
5
|
-
|
6
|
-
Gem::Specification.new do |s|
|
7
|
-
s.name = %q{friendfeed}
|
8
|
-
s.version = "0.1.6"
|
9
|
-
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = ["Akinori MUSHA"]
|
12
|
-
s.date = %q{2009-10-06}
|
13
|
-
s.default_executable = %q{tw2ff}
|
14
|
-
s.description = %q{This is a Ruby library to provide access to FriendFeed API's.
|
15
|
-
|
16
|
-
It implements official API's as well as unofficial API's to allow
|
17
|
-
manipulating friends, groups and services for your personal purposes.
|
18
|
-
}
|
19
|
-
s.email = %q{knu@idaemons.org}
|
20
|
-
s.executables = ["tw2ff"]
|
21
|
-
s.extra_rdoc_files = [
|
22
|
-
"LICENSE",
|
23
|
-
"README.rdoc"
|
24
|
-
]
|
25
|
-
s.files = [
|
26
|
-
".document",
|
27
|
-
".gitignore",
|
28
|
-
"LICENSE",
|
29
|
-
"README.rdoc",
|
30
|
-
"Rakefile",
|
31
|
-
"VERSION",
|
32
|
-
"bin/tw2ff",
|
33
|
-
"friendfeed.gemspec",
|
34
|
-
"lib/friendfeed.rb",
|
35
|
-
"lib/friendfeed/compat.rb",
|
36
|
-
"lib/friendfeed/unofficial.rb",
|
37
|
-
"test/friendfeed_test.rb",
|
38
|
-
"test/test_helper.rb"
|
39
|
-
]
|
40
|
-
s.homepage = %q{http://github.com/knu/ruby-friendfeed}
|
41
|
-
s.rdoc_options = ["--charset=UTF-8"]
|
42
|
-
s.require_paths = ["lib"]
|
43
|
-
s.rubyforge_project = %q{friendfeed}
|
44
|
-
s.rubygems_version = %q{1.3.5}
|
45
|
-
s.summary = %q{A Ruby library to provide access to FriendFeed API's}
|
46
|
-
s.test_files = [
|
47
|
-
"test/test_helper.rb",
|
48
|
-
"test/friendfeed_test.rb"
|
49
|
-
]
|
50
|
-
|
51
|
-
if s.respond_to? :specification_version then
|
52
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
53
|
-
s.specification_version = 3
|
54
|
-
|
55
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
56
|
-
else
|
57
|
-
end
|
58
|
-
else
|
59
|
-
end
|
60
|
-
end
|