knu-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,62 @@
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 is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
19
+ end
20
+
21
+ rescue LoadError
22
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
23
+ end
24
+
25
+ require 'rake/testtask'
26
+ Rake::TestTask.new(:test) do |test|
27
+ test.libs << 'lib' << 'test'
28
+ test.pattern = 'test/**/*_test.rb'
29
+ test.verbose = true
30
+ end
31
+
32
+ begin
33
+ require 'rcov/rcovtask'
34
+ Rcov::RcovTask.new do |test|
35
+ test.libs << 'test'
36
+ test.pattern = 'test/**/*_test.rb'
37
+ test.verbose = true
38
+ end
39
+ rescue LoadError
40
+ task :rcov do
41
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
42
+ end
43
+ end
44
+
45
+
46
+ task :default => :test
47
+
48
+ require 'rake/rdoctask'
49
+ Rake::RDocTask.new do |rdoc|
50
+ if File.exist?('VERSION.yml')
51
+ config = YAML.load(File.read('VERSION.yml'))
52
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
53
+ else
54
+ version = ""
55
+ end
56
+
57
+ rdoc.rdoc_dir = 'rdoc'
58
+ rdoc.title = "friendfeed #{version}"
59
+ rdoc.rdoc_files.include('README*')
60
+ rdoc.rdoc_files.include('lib/**/*.rb')
61
+ end
62
+
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.4
@@ -0,0 +1,56 @@
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.rubygems_version = %q{1.3.4}
41
+ s.summary = %q{A Ruby library to provide access to FriendFeed API's}
42
+ s.test_files = [
43
+ "test/test_helper.rb",
44
+ "test/friendfeed_test.rb"
45
+ ]
46
+
47
+ if s.respond_to? :specification_version then
48
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
+ s.specification_version = 3
50
+
51
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
52
+ else
53
+ end
54
+ else
55
+ end
56
+ 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: knu-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,28 +9,37 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-18 00:00:00 -07:00
13
- default_executable:
12
+ date: 2009-06-08 00:00:00 -07:00
13
+ default_executable: tw2ff
14
14
  dependencies: []
15
15
 
16
- description: A Ruby module that provides access to FriendFeed API's.
16
+ description: This is a Ruby library to provide access to FriendFeed API's. It implements official API's as well as unofficial API's to allow manipulating friends, groups and services for your personal purposes.
17
17
  email: knu@idaemons.org
18
18
  executables:
19
19
  - tw2ff
20
20
  extensions: []
21
21
 
22
- extra_rdoc_files: []
23
-
22
+ extra_rdoc_files:
23
+ - LICENSE
24
+ - README.rdoc
24
25
  files:
26
+ - .document
27
+ - .gitignore
28
+ - LICENSE
29
+ - README.rdoc
30
+ - Rakefile
31
+ - VERSION
32
+ - bin/tw2ff
33
+ - friendfeed.gemspec
25
34
  - lib/friendfeed.rb
26
35
  - lib/friendfeed/compat.rb
27
36
  - lib/friendfeed/unofficial.rb
28
- - bin/tw2ff
29
- has_rdoc: true
37
+ - test/friendfeed_test.rb
38
+ - test/test_helper.rb
39
+ has_rdoc: false
30
40
  homepage: http://github.com/knu/ruby-friendfeed
31
41
  post_install_message:
32
42
  rdoc_options:
33
- - --inline-source
34
43
  - --charset=UTF-8
35
44
  require_paths:
36
45
  - lib
@@ -48,10 +57,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
48
57
  version:
49
58
  requirements: []
50
59
 
51
- rubyforge_project: friendfeed
60
+ rubyforge_project:
52
61
  rubygems_version: 1.2.0
53
62
  signing_key:
54
- specification_version: 2
55
- summary: A Ruby module that provides access to FriendFeed API's.
56
- test_files: []
57
-
63
+ specification_version: 3
64
+ summary: A Ruby library to provide access to FriendFeed API's
65
+ test_files:
66
+ - test/test_helper.rb
67
+ - test/friendfeed_test.rb