Rakefile in ns_connector-0.0.17 vs Rakefile in ns_connector-0.1.0

- old
+ new

@@ -17,29 +17,18 @@ gem.homepage = "" gem.summary = "An interface to NetSuite records via RESTlets." gem.description = "This library provides an interface to NetSuite via"\ "'RESTlets'. This appears to be a quicker and more reliable"\ "way of interfacing with NetSuite records than the SOAP API." - gem.authors = ["Christian Marie <pingu@anchor.com.au>"] + gem.authors = ["Christian Marie <christian@ru>"] gem.license = 'MIT' end Jeweler::RubygemsDotOrgTasks.new task :default => :test RSpec::Core::RakeTask.new :test -task :deploy_to_hopper => [:build, :rdoc, :test] do - `scp pkg/ns_connector-$(cat VERSION).gem packages@hopper.engineroom.anchor.net.au:public_html/gems/gems/` - `ssh packages@hopper.engineroom.anchor.net.au "cd /home/packages/public_html/gems && make"` - if $?.to_i == 0 then - puts "Deploy to hopper successful" - else - raise RuntimeError, "Deploy failed :(" - end -end - Rake::RDocTask.new do |rd| rd.main = "README.rdoc" rd.title = 'NSConnector documentation' rd.rdoc_files.include("README.rdoc", "lib/**/*.rb") - `scp -r html/* packages@hopper.engineroom.anchor.net.au:public_html/gems/docs/ns_connector/` end