Permalink
Browse files

add xmpp4r-simple.gemspec

  • Loading branch information...
1 parent dfde2c5 commit 37d466f703a71dd624319bb272731661aa24497c @blaine committed Jul 30, 2008
Showing with 33 additions and 31 deletions.
  1. +7 −0 CHANGELOG
  2. +3 −31 Rakefile
  3. +23 −0 xmpp4r-simple.gemspec
View
@@ -1,3 +1,10 @@
+xmpp4r-simple (0.8.8)
+
+ [ Blaine Cook]
+ * Add xmpp4r-simple.gemspec, remove gem-related code from Rakefile
+
+-- Blaine Cook <romeda@gmail.com> Wed, 30 Jul 2008 16:03:00 -0800
+
xmpp4r-simple (0.8.7)
[ Blaine Cook ]
View
@@ -15,41 +15,13 @@
# along with Jabber::Simple; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-require 'rubygems'
-Gem::manage_gems
-require 'rake/gempackagetask'
require 'rake/testtask'
require 'rake/rdoctask'
require 'rcov/rcovtask'
-spec = Gem::Specification.new do |s|
- s.add_dependency('xmpp4r', '>= 0.3.0')
- s.add_dependency('rake')
- s.add_dependency('rcov')
- s.name = "xmpp4r-simple"
- s.version = "0.8.7"
- s.author = "Blaine Cook"
- s.email = "romeda@gmail.com"
- s.homepage = "http://xmpp4r-simple.rubyforge.org/"
- s.platform = Gem::Platform::RUBY
- s.summary = "A simplified Jabber client library."
- s.description = <<-EOF
- Jabber::Simple takes the strong foundation laid by xmpp4r
- and hides the relatively high complexity of maintaining a simple instant
- messenger bot in Ruby.
- EOF
- s.files = FileList["{test,lib}/**/*", '[A-Z]*'].exclude("rdoc", ".svn").to_a
- s.require_path = "lib"
- s.test_files = Dir.glob("test/test_*.rb")
- s.has_rdoc = true
- s.extra_rdoc_files = ["README", "COPYING"]
- s.rubyforge_project = "xmpp4r-simple"
-end
-
-Rake::GemPackageTask.new(spec) do |pkg|
- pkg.gem_spec = spec
- pkg.need_tar = true
- pkg.need_zip = true
+desc "Package Gem"
+task :package do
+ system('gem build xmpp4r-simple.gemspec')
end
desc "Default Task"
View
@@ -0,0 +1,23 @@
+Gem::Specification.new do |s|
+ s.add_dependency('xmpp4r', '>= 0.3.2')
+ s.add_development_dependency('rake')
+ s.add_development_dependency('rcov')
+ s.name = "xmpp4r-simple"
+ s.version = "0.8.8"
+ s.author = "Blaine Cook"
+ s.email = "romeda@gmail.com"
+ s.homepage = "http://xmpp4r-simple.rubyforge.org/"
+ s.platform = Gem::Platform::RUBY
+ s.summary = "A simplified Jabber client library."
+ s.description = <<-EOF
+ Jabber::Simple takes the strong foundation laid by xmpp4r
+ and hides the relatively high complexity of maintaining a simple instant
+ messenger bot in Ruby.
+ EOF
+ s.files = %w( test/test_xmpp4r_simple.rb lib/xmpp4r-simple.rb README COPYING CHANGELOG )
+ s.require_path = "lib"
+ s.test_files = Dir.glob("test/test_*.rb")
+ s.has_rdoc = true
+ s.extra_rdoc_files = ["README", "COPYING"]
+ s.rubyforge_project = "xmpp4r-simple"
+end

0 comments on commit 37d466f

Please sign in to comment.