friendfeed 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/.document ADDED
@@ -0,0 +1,5 @@
1
+ README.rdoc
2
+ lib/**/*.rb
3
+ bin/*
4
+ features/**/*.feature
5
+ LICENSE
data/.gitignore ADDED
@@ -0,0 +1,5 @@
1
+ *.sw?
2
+ .DS_Store
3
+ coverage
4
+ rdoc
5
+ pkg
data/LICENSE ADDED
@@ -0,0 +1,4 @@
1
+ Copyright (c) 2009 Akinori MUSHA
2
+
3
+ All rights reserved. You can redistribute and/or modify it under the
4
+ same terms as Ruby.
data/README.rdoc ADDED
@@ -0,0 +1,7 @@
1
+ = ruby-friendfeed
2
+
3
+ This is a Ruby library to provide access to FriendFeed API's.
4
+
5
+ == Copyright
6
+
7
+ Copyright (c) 2009 Akinori MUSHA. See LICENSE for details.
data/Rakefile ADDED
@@ -0,0 +1,63 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "friendfeed"
8
+ gem.summary = %Q{A Ruby library to provide access to FriendFeed API's}
9
+ gem.description = <<-EOS
10
+ This is a Ruby library to provide access to FriendFeed API's.
11
+
12
+ It implements official API's as well as unofficial API's to allow
13
+ manipulating friends, groups and services for your personal purposes.
14
+ EOS
15
+ gem.email = "knu@idaemons.org"
16
+ gem.homepage = "http://github.com/knu/ruby-friendfeed"
17
+ gem.authors = ["Akinori MUSHA"]
18
+ gem.rubyforge_project = "friendfeed"
19
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
20
+ end
21
+
22
+ rescue LoadError
23
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
24
+ end
25
+
26
+ require 'rake/testtask'
27
+ Rake::TestTask.new(:test) do |test|
28
+ test.libs << 'lib' << 'test'
29
+ test.pattern = 'test/**/*_test.rb'
30
+ test.verbose = true
31
+ end
32
+
33
+ begin
34
+ require 'rcov/rcovtask'
35
+ Rcov::RcovTask.new do |test|
36
+ test.libs << 'test'
37
+ test.pattern = 'test/**/*_test.rb'
38
+ test.verbose = true
39
+ end
40
+ rescue LoadError
41
+ task :rcov do
42
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
43
+ end
44
+ end
45
+
46
+
47
+ task :default => :test
48
+
49
+ require 'rake/rdoctask'
50
+ Rake::RDocTask.new do |rdoc|
51
+ if File.exist?('VERSION.yml')
52
+ config = YAML.load(File.read('VERSION.yml'))
53
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
54
+ else
55
+ version = ""
56
+ end
57
+
58
+ rdoc.rdoc_dir = 'rdoc'
59
+ rdoc.title = "friendfeed #{version}"
60
+ rdoc.rdoc_files.include('README*')
61
+ rdoc.rdoc_files.include('lib/**/*.rb')
62
+ end
63
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.4
@@ -0,0 +1,57 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = %q{friendfeed}
5
+ s.version = "0.1.4"
6
+
7
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
+ s.authors = ["Akinori MUSHA"]
9
+ s.date = %q{2009-06-08}
10
+ s.default_executable = %q{tw2ff}
11
+ s.description = %q{This is a Ruby library to provide access to FriendFeed API's.
12
+
13
+ It implements official API's as well as unofficial API's to allow
14
+ manipulating friends, groups and services for your personal purposes.
15
+ }
16
+ s.email = %q{knu@idaemons.org}
17
+ s.executables = ["tw2ff"]
18
+ s.extra_rdoc_files = [
19
+ "LICENSE",
20
+ "README.rdoc"
21
+ ]
22
+ s.files = [
23
+ ".document",
24
+ ".gitignore",
25
+ "LICENSE",
26
+ "README.rdoc",
27
+ "Rakefile",
28
+ "VERSION",
29
+ "bin/tw2ff",
30
+ "friendfeed.gemspec",
31
+ "lib/friendfeed.rb",
32
+ "lib/friendfeed/compat.rb",
33
+ "lib/friendfeed/unofficial.rb",
34
+ "test/friendfeed_test.rb",
35
+ "test/test_helper.rb"
36
+ ]
37
+ s.homepage = %q{http://github.com/knu/ruby-friendfeed}
38
+ s.rdoc_options = ["--charset=UTF-8"]
39
+ s.require_paths = ["lib"]
40
+ s.rubyforge_project = %q{friendfeed}
41
+ s.rubygems_version = %q{1.3.4}
42
+ s.summary = %q{A Ruby library to provide access to FriendFeed API's}
43
+ s.test_files = [
44
+ "test/test_helper.rb",
45
+ "test/friendfeed_test.rb"
46
+ ]
47
+
48
+ if s.respond_to? :specification_version then
49
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
50
+ s.specification_version = 3
51
+
52
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
53
+ else
54
+ end
55
+ else
56
+ end
57
+ end
@@ -118,7 +118,7 @@ module FriendFeed
118
118
  'service' => a['class'].split.find { |a_class|
119
119
  a_class != 'service'
120
120
  },
121
- 'profileUrl' => a['href'].to_s,
121
+ 'profileUrl' => (services_uri + a['href'].to_s).to_s,
122
122
  }
123
123
  }
124
124
  end
@@ -0,0 +1,6 @@
1
+ require 'test_helper'
2
+
3
+ class FriendFeedTest < Test::Unit::TestCase
4
+ def test_dummy
5
+ end
6
+ end
@@ -0,0 +1,9 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+
4
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
5
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
6
+ require 'friendfeed'
7
+
8
+ class Test::Unit::TestCase
9
+ end
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.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akinori MUSHA
@@ -9,30 +9,44 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-18 00:00:00 +09:00
13
- default_executable:
12
+ date: 2009-06-08 00:00:00 +09:00
13
+ default_executable: tw2ff
14
14
  dependencies: []
15
15
 
16
- description: A Ruby module that provides access to FriendFeed API's.
16
+ description: |
17
+ This is a Ruby library to provide access to FriendFeed API's.
18
+
19
+ It implements official API's as well as unofficial API's to allow
20
+ manipulating friends, groups and services for your personal purposes.
21
+
17
22
  email: knu@idaemons.org
18
23
  executables:
19
24
  - tw2ff
20
25
  extensions: []
21
26
 
22
- extra_rdoc_files: []
23
-
27
+ extra_rdoc_files:
28
+ - LICENSE
29
+ - README.rdoc
24
30
  files:
31
+ - .document
32
+ - .gitignore
33
+ - LICENSE
34
+ - README.rdoc
35
+ - Rakefile
36
+ - VERSION
37
+ - bin/tw2ff
38
+ - friendfeed.gemspec
25
39
  - lib/friendfeed.rb
26
40
  - lib/friendfeed/compat.rb
27
41
  - lib/friendfeed/unofficial.rb
28
- - bin/tw2ff
42
+ - test/friendfeed_test.rb
43
+ - test/test_helper.rb
29
44
  has_rdoc: true
30
45
  homepage: http://github.com/knu/ruby-friendfeed
31
46
  licenses: []
32
47
 
33
48
  post_install_message:
34
49
  rdoc_options:
35
- - --inline-source
36
50
  - --charset=UTF-8
37
51
  require_paths:
38
52
  - lib
@@ -51,9 +65,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
65
  requirements: []
52
66
 
53
67
  rubyforge_project: friendfeed
54
- rubygems_version: 1.3.2
68
+ rubygems_version: 1.3.4
55
69
  signing_key:
56
- specification_version: 2
57
- summary: A Ruby module that provides access to FriendFeed API's.
58
- test_files: []
59
-
70
+ specification_version: 3
71
+ summary: A Ruby library to provide access to FriendFeed API's
72
+ test_files:
73
+ - test/test_helper.rb
74
+ - test/friendfeed_test.rb