From a9f07f6502b70143058219f8966cb7dc8b237d66 Mon Sep 17 00:00:00 2001 From: Brendan G. Lim Date: Mon, 20 Jul 2009 19:15:09 -0400 Subject: Adding in gemspec --- Rakefile | 14 ++++++++++++++ VERSION | 2 +- sms-fu.gemspec | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 sms-fu.gemspec diff --git a/Rakefile b/Rakefile index de861dd..050e43a 100644 --- a/Rakefile +++ b/Rakefile @@ -20,3 +20,17 @@ Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_files.include('README') rdoc.rdoc_files.include('lib/**/*.rb') end + +begin + require 'jeweler' + Jeweler::Tasks.new do |gemspec| + gemspec.name = "sms-fu" + gemspec.summary = "SMS Fu allows ou to send a text-message for free in the form of an e-mail to a mobile recipient." + gemspec.description = "SMS Fu allows ou to send a text-message for free in the form of an e-mail to a mobile recipient." + gemspec.email = "brendangl@gmail.com" + gemspec.homepage = "http://github.com/brendanlim/sms-fu" + gemspec.authors = ["Brendan G. Lim"] + end +rescue LoadError + puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com" +end diff --git a/VERSION b/VERSION index 77d6f4c..3eefcb9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.0 +1.0.0 diff --git a/sms-fu.gemspec b/sms-fu.gemspec new file mode 100644 index 0000000..da7164c --- /dev/null +++ b/sms-fu.gemspec @@ -0,0 +1,51 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{sms-fu} + s.version = "1.0.0" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Brendan G. Lim"] + s.date = %q{2009-07-20} + s.description = %q{SMS Fu allows ou to send a text-message for free in the form of an e-mail to a mobile recipient.} + s.email = %q{brendangl@gmail.com} + s.extra_rdoc_files = [ + "README.rdoc" + ] + s.files = [ + "CHANGELOG", + "MIT-LICENSE", + "README.rdoc", + "Rakefile", + "VERSION", + "init.rb", + "install.rb", + "lib/sms_fu.rb", + "lib/sms_fu_helper.rb", + "lib/sms_notifier.rb", + "tasks/sms_fu_tasks.rake", + "templates/sms_fu.yml", + "test/sms_fu_test.rb", + "uninstall.rb", + "views/sms_notifier/sms_message.html.erb" + ] + s.has_rdoc = true + s.homepage = %q{http://github.com/brendanlim/sms-fu} + s.rdoc_options = ["--charset=UTF-8"] + s.require_paths = ["lib"] + s.rubygems_version = %q{1.3.1} + s.summary = %q{SMS Fu allows ou to send a text-message for free in the form of an e-mail to a mobile recipient.} + s.test_files = [ + "test/sms_fu_test.rb" + ] + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 2 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + else + end + else + end +end -- cgit v1.2.3