forked from knu/ruby-friendfeed
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
149 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
README.rdoc | ||
lib/**/*.rb | ||
bin/* | ||
features/**/*.feature | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.sw? | ||
.DS_Store | ||
coverage | ||
rdoc | ||
pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Copyright (c) 2009 Akinori MUSHA | ||
|
||
All rights reserved. You can redistribute and/or modify it under the | ||
same terms as Ruby. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
= ruby-friendfeed | ||
|
||
This is a Ruby library to provide access to FriendFeed API's. | ||
|
||
== Copyright | ||
|
||
Copyright (c) 2009 Akinori MUSHA. See LICENSE for details. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
require 'rubygems' | ||
require 'rake' | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |gem| | ||
gem.name = "friendfeed" | ||
gem.summary = %Q{A Ruby library to provide access to FriendFeed API's} | ||
gem.description = <<-EOS | ||
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. | ||
EOS | ||
gem.email = "knu@idaemons.org" | ||
gem.homepage = "http://github.com/knu/ruby-friendfeed" | ||
gem.authors = ["Akinori MUSHA"] | ||
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings | ||
end | ||
|
||
rescue LoadError | ||
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler" | ||
end | ||
|
||
require 'rake/testtask' | ||
Rake::TestTask.new(:test) do |test| | ||
test.libs << 'lib' << 'test' | ||
test.pattern = 'test/**/*_test.rb' | ||
test.verbose = true | ||
end | ||
|
||
begin | ||
require 'rcov/rcovtask' | ||
Rcov::RcovTask.new do |test| | ||
test.libs << 'test' | ||
test.pattern = 'test/**/*_test.rb' | ||
test.verbose = true | ||
end | ||
rescue LoadError | ||
task :rcov do | ||
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" | ||
end | ||
end | ||
|
||
|
||
task :default => :test | ||
|
||
require 'rake/rdoctask' | ||
Rake::RDocTask.new do |rdoc| | ||
if File.exist?('VERSION.yml') | ||
config = YAML.load(File.read('VERSION.yml')) | ||
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}" | ||
else | ||
version = "" | ||
end | ||
|
||
rdoc.rdoc_dir = 'rdoc' | ||
rdoc.title = "friendfeed #{version}" | ||
rdoc.rdoc_files.include('README*') | ||
rdoc.rdoc_files.include('lib/**/*.rb') | ||
end | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,56 @@ | ||
# -*- encoding: utf-8 -*- | ||
|
||
Gem::Specification.new do |s| | ||
s.specification_version = 2 | ||
s.name = "friendfeed" | ||
s.name = %q{friendfeed} | ||
s.version = "0.1.3" | ||
s.required_rubygems_version = Gem::Requirement.new(">= 0") | ||
|
||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= | ||
s.authors = ["Akinori MUSHA"] | ||
s.date = %q{2009-05-18} | ||
s.summary = "A Ruby module that provides access to FriendFeed API's." | ||
s.description = s.summary | ||
s.email = "knu@idaemons.org" | ||
s.homepage = %q{http://github.com/knu/ruby-friendfeed} | ||
s.files = %w[ | ||
lib/friendfeed.rb | ||
lib/friendfeed/compat.rb | ||
lib/friendfeed/unofficial.rb | ||
bin/tw2ff | ||
s.date = %q{2009-06-08} | ||
s.default_executable = %q{tw2ff} | ||
s.description = %q{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. | ||
} | ||
s.email = %q{knu@idaemons.org} | ||
s.executables = ["tw2ff"] | ||
s.extra_rdoc_files = [ | ||
"LICENSE", | ||
"README.rdoc" | ||
] | ||
s.files = [ | ||
".document", | ||
".gitignore", | ||
"LICENSE", | ||
"README.rdoc", | ||
"Rakefile", | ||
"VERSION", | ||
"bin/tw2ff", | ||
"friendfeed.gemspec", | ||
"lib/friendfeed.rb", | ||
"lib/friendfeed/compat.rb", | ||
"lib/friendfeed/unofficial.rb", | ||
"test/friendfeed_test.rb", | ||
"test/test_helper.rb" | ||
] | ||
s.homepage = %q{http://github.com/knu/ruby-friendfeed} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.executables = ["tw2ff"] | ||
s.has_rdoc = true | ||
s.rdoc_options = ["--inline-source", "--charset=UTF-8"] | ||
s.rubyforge_project = "friendfeed" | ||
s.rubygems_version = %q{1.3.4} | ||
s.summary = %q{A Ruby library to provide access to FriendFeed API's} | ||
s.test_files = [ | ||
"test/test_helper.rb", | ||
"test/friendfeed_test.rb" | ||
] | ||
|
||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
s.specification_version = 3 | ||
|
||
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then | ||
else | ||
end | ||
else | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
require 'test_helper' | ||
|
||
class FriendFeedTest < Test::Unit::TestCase | ||
def test_dummy | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
require 'rubygems' | ||
require 'test/unit' | ||
|
||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) | ||
$LOAD_PATH.unshift(File.dirname(__FILE__)) | ||
require 'friendfeed' | ||
|
||
class Test::Unit::TestCase | ||
end |