Rakefile
changeset 11 ffa70066522c
parent 8 01c2ba6b0a44
child 16 420037982f78
equal deleted inserted replaced
10:7013280e62fa 11:ffa70066522c
    23 ########################################################################
    23 ########################################################################
    24 
    24 
    25 require 'rubygems'
    25 require 'rubygems'
    26 require 'rubygems/package_task'
    26 require 'rubygems/package_task'
    27 spec = Gem::Specification.new do |s|
    27 spec = Gem::Specification.new do |s|
    28 	s.email        = 'mahlon@martini.nu'
       
    29 	s.homepage     = 'http://projects.martini.nu/ruby-modules'
    28 	s.homepage     = 'http://projects.martini.nu/ruby-modules'
    30 	s.authors      = [ 'Mahlon E. Smith <mahlon@martini.nu>', 'Michael Granger <ged@faeriemud.org>' ]
    29 	s.authors      = [ 'Mahlon E. Smith', 'Michael Granger' ]
       
    30 	s.email        = [ 'mahlon@martini.nu', 'ged@faeriemud.org' ]
    31 	s.platform     = Gem::Platform::RUBY
    31 	s.platform     = Gem::Platform::RUBY
    32 	s.summary      = "Base classes for using Symphony with ssh."
    32 	s.summary      = "Base classes for using Symphony with ssh."
    33 	s.name         = 'symphony-ssh'
    33 	s.name         = 'symphony-ssh'
    34 	s.version      = '0.1.1'
    34 	s.version      = '0.2.0'
    35 	s.license      = 'BSD'
    35 	s.license      = 'BSD-3-Clause'
    36 	s.has_rdoc     = true
    36 	s.has_rdoc     = true
    37 	s.require_path = 'lib'
    37 	s.require_path = 'lib'
    38 	s.bindir       = 'bin'
    38 	s.bindir       = 'bin'
    39 	s.files        = File.read( __FILE__ ).split( /^__END__/, 2 ).last.split
    39 	s.files        = File.read( __FILE__ ).split( /^__END__/, 2 ).last.split
    40 	#s.executables  = %w[]
    40 	#s.executables  = %w[]
    46 client agents.
    46 client agents.
    47 	EOF
    47 	EOF
    48 	s.required_rubygems_version = '>= 2.0.3'
    48 	s.required_rubygems_version = '>= 2.0.3'
    49 	s.required_ruby_version = '>= 2.0.0'
    49 	s.required_ruby_version = '>= 2.0.0'
    50 
    50 
    51 	s.add_dependency 'symphony', '~> 0.6'
    51 	s.add_dependency 'configurability', '~> 3.2'
    52 	s.add_dependency 'net-ssh',  '~> 2.9'
    52 	s.add_dependency 'symphony', '~> 0.11'
       
    53 	s.add_dependency 'inversion', '~> 1.1'
       
    54 	s.add_dependency 'net-ssh', '~> 5.0'
    53 	s.add_dependency 'net-sftp', '~> 2.1'
    55 	s.add_dependency 'net-sftp', '~> 2.1'
    54 
    56 
    55 	s.add_development_dependency 'rspec',     '~> 3.0'
    57 	s.add_development_dependency 'rspec',     '~> 3.7'
    56 	s.add_development_dependency 'simplecov', '~> 0.8'
    58 	s.add_development_dependency 'simplecov', '~> 0.16'
    57 end
    59 end
    58 
    60 
    59 Gem::PackageTask.new( spec ) do |pkg|
    61 Gem::PackageTask.new( spec ) do |pkg|
    60 	pkg.need_zip = true
    62 	pkg.need_zip = true
    61 	pkg.need_tar = true
    63 	pkg.need_tar = true