forked from kookster/activemessaging
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathRakefile
72 lines (61 loc) · 3.13 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
require 'rake'
require 'rake/testtask'
require 'rdoc/rdoc'
require 'rake/gempackagetask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the ActiveMessaging plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the ActiveMessaging plugin.'
task :rdoc do
rm_rf 'doc'
RDoc::RDoc.new.document(%w(--line-numbers --inline-source --title ActiveMessaging README lib))
end
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
# basic
gemspec.name = "activemessaging"
gemspec.summary = "Official activemessaging gem, now hosted on github.com/kookster. (kookster prefix temporary)"
gemspec.description = "ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc."
gemspec.email = "[email protected]"
gemspec.homepage = "https://github.com/kookster/activemessaging"
gemspec.authors = ["Jon Tirsen", "Andrew Kuklewicz", "Olle Jonsson", "Sylvain Perez", "Cliff Moon", 'Uwe Kubosch']
# added
gemspec.add_dependency('activesupport', '>= 1.0.0')
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
# gem_spec = Gem::Specification.new do |s|
# s.name = %q{activemessaging}
# s.version = "0.6.1"
#
# s.specification_version = 2 if s.respond_to? :specification_version=
#
# s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
# s.authors = ["jon.tirsen", "kookster", "olle.jonsson", "sylvain.perez", "anti.god.botherer", 'uwe.kubosch']
# s.date = %q{2008-08-15}
# s.description = %q{ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc.}
# s.email = %q{[email protected]}
# s.files = FileList['generators/**/*', 'lib/**/*', 'tasks/**/*', 'Rakefile', 'messaging.rb.example'].to_a
# s.homepage = %q{http://code.google.com/p/activemessaging/}
# s.require_paths = ["lib"]
# s.rubygems_version = %q{1.2.0}
# s.summary = %q{ActiveMessaging is an attempt to bring the simplicity and elegance of rails development to the world of messaging. Messaging, (or event-driven architecture) is widely used for enterprise integration, with frameworks such as Java's JMS, and products such as ActiveMQ, Tibco, IBM MQSeries, etc.}
# #s.test_files = ["test"]
# #s.autorequire = 'activemessaging'
# s.has_rdoc = true
#
# s.add_dependency(%q<activesupport>, [">= 1.0.0"])
# s.add_dependency(%q<rubigen>, [">= 1.5.2"])
# #s.add_dependency(%q<common-pool-cliffmoon>, [">= 0.0.3"])
# end
# desc 'Generate ActiveMessaging gem.'
# Rake::GemPackageTask.new(gem_spec) do |pkg|
# end