diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 97c75f3..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.gemspec diff --git a/Rakefile b/Rakefile index 13794ed..c598b2a 100644 --- a/Rakefile +++ b/Rakefile @@ -9,31 +9,3 @@ Rake::TestTask.new(:test) do |test| test.verbose = false test.ruby_opts += ['-rubygems'] if defined? Gem end - -begin - require 'jeweler' - - Jeweler::Tasks.new do |gemspec| - gemspec.add_development_dependency "riot", "0.10.13" - gemspec.add_development_dependency "rr", "0.10.9" - gemspec.authors = ["Vladimir Andrijevik"] - gemspec.description = <<-END_OF_DESCRIPTION.gsub(/^ */, "") - Simpleton is a deployment micro-framework which aims to simplify and improve - the deployment of web applications. In this regard, it is in the same space - as Capistrano, Vlad the Deployer, and other similar tools. - - Simpleton is written in Ruby, and relies on existing UNIX command-line tools - (`ssh`, `git`, etc.) to bring out the best of both worlds: a powerful DSL with - testable deployment scripts, and of proven tools that are available - (almost) everywhere. - END_OF_DESCRIPTION - gemspec.email = "vladimir+simpleton@andrijevik.net" - gemspec.homepage = "http://github.com/vandrijevik/simpleton" - gemspec.name = "simpleton" - gemspec.summary = "Simpleton makes deploying server apps simple." - gemspec.version = "0.3.0" - end -rescue LoadError - warn "Jeweler not available." - warn "Install it with: gem i jeweler" -end diff --git a/simpleton.gemspec b/simpleton.gemspec new file mode 100644 index 0000000..d2a13ef --- /dev/null +++ b/simpleton.gemspec @@ -0,0 +1,28 @@ +Gem::Specification.new do |s| + s.name = "simpleton" + s.version = "0.3.0" + s.date = Time.now.strftime('%Y-%m-%d') + + s.authors = ["Vladimir Andrijevik"] + s.email = "vladimir+simpleton@andrijevik.net" + s.homepage = "http://github.com/vandrijevik/simpleton" + s.summary = "Simpleton makes deploying web applications simple." + s.description = <<-END_OF_DESCRIPTION.gsub(/^ */, "") + Simpleton is a deployment micro-framework which aims to simplify and improve + the deployment of web applications. In this regard, it is in the same space + as Capistrano, Vlad the Deployer, and other similar tools. + + Simpleton is written in Ruby, and relies on existing UNIX command-line tools + (`ssh`, `git`, etc.) to bring out the best of both worlds: a powerful DSL with + testable deployment scripts, and of proven tools that are available + (almost) everywhere. + END_OF_DESCRIPTION + + s.has_rdoc = false + s.files = %w( README.md Rakefile LICENSE ) + s.files += Dir.glob("lib/**/*") + s.test_files = Dir.glob("test/**/*") + + s.add_development_dependency "riot" + s.add_development_dependency "rr" +end