Skip to content

Commit 89b4514

Browse files
author
Imobach González Sosa
committed
Update gemspec
1 parent a2d09ff commit 89b4514

File tree

1 file changed

+4
-42
lines changed

1 file changed

+4
-42
lines changed

vpim.gemspec

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
1-
require 'ubygems'
2-
require 'pp'
31
require 'rake'
42

5-
def info(s)
6-
{
7-
:author => "Sam Roberts",
8-
:email => "[email protected]",
9-
:homepage => "http://vpim.rubyforge.org",
10-
:rubyforge_project => "vpim",
11-
}.each do |k,v|
12-
s.send(k.to_s+"=", v)
13-
end
14-
end
15-
163
spec_vpim = Gem::Specification.new do |s|
17-
info(s)
4+
s.author = "Sam Roberts"
5+
s.email = "[email protected]"
6+
s.homepage = "http://vpim.rubyforge.org"
7+
s.rubyforge_project = "vpim"
188
s.name = "vpim"
199
s.version = `ruby stamp.rb`
2010
s.summary = "iCalendar and vCard support for ruby"
@@ -44,31 +34,3 @@ This is a pure-ruby library for decoding and encoding vCard and iCalendar data
4434
# s.add_dependency("plist")
4535
# s.autorequire = "vpim"
4636
end
47-
48-
#pp [spec_vpim, spec_vpim.instance_variables]
49-
50-
spec_vpim_icalendar = Gem::Specification.new do |s|
51-
info(s)
52-
s.name = "vpim_icalendar"
53-
s.version = "1.1"
54-
s.summary = "Virtual gem depending on vPim's iCalendar support for ruby"
55-
s.description = <<'---'
56-
This is a virtual gem, it exists to depend on vPim, which provides iCalendar
57-
support for ruby. You can install vPim directly.
58-
---
59-
s.add_dependency("vpim")
60-
end
61-
62-
#require 'hoe'
63-
#
64-
#Hoe.new(spec_vpim.name, spec_vpim.version) do |p|
65-
# p.rubyforge_name = "vpim"
66-
# p.remote_rdoc_dir = '' # Release to root
67-
#end
68-
#
69-
70-
if $0==__FILE__
71-
Gem::Builder.new(spec_vpim).build
72-
Gem::Builder.new(spec_vpim_icalendar).build
73-
end
74-

0 commit comments

Comments
 (0)