Skip to content

Commit

Permalink
added imstat.gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
nashby committed Feb 2, 2011
1 parent baf18dc commit a28a12c
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Ruby lib for checking user status in the instant messengers
#Icq status
Imstat::get_user_status(:messenger => :icq, :user => "123456") # => "N/A"

#Icq status
#Yahoo status
Imstat::get_user_status(:messenger => :yahoo, :user => "cdfdsdfgsd") # => "Offline"
25 changes: 25 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
require "rake"
require "rake/testtask"
require "rake/gempackagetask"
require "rake/rdoctask"
require "rake/clean"

CLEAN << "pkg" << "doc" << "coverage"

Rake::GemPackageTask.new(eval(File.read("imstat.gemspec"))) { |pkg| }
Rake::TestTask.new(:test) { |t| t.pattern = "test/*_test.rb" }

Rake::RDocTask.new do |r|
r.rdoc_dir = "doc"
r.rdoc_files.include "lib/**/*.rb"
end

begin
require "rcov/rcovtask"
Rcov::RcovTask.new do |r|
r.test_files = FileList["test/*_test.rb"]
r.verbose = true
r.rcov_opts << "--exclude gems/*"
end
rescue LoadError
end
Binary file added imstat-0.1.gem
Binary file not shown.
15 changes: 15 additions & 0 deletions imstat.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
spec = Gem::Specification.new do |s|

s.name = "imstat"
s.version = 0.1
s.authors = ['Vasiliy Ermolovich']
s.email = ['younash@gmail.com']
s.summary = "Check user status in the instant messengers from ruby"
s.description = 'Check user status in the instant messengers from ruby'
s.homepage = 'https://github.com/nashby/imstat'
s.has_rdoc = true

s.files = Dir["lib/**/*.rb", "*.rdoc", "Rakefile", "test/*.*"]
s.test_files = Dir.glob "test/*_test.rb"

end

0 comments on commit a28a12c

Please sign in to comment.