Skip to content

Commit

Permalink
Simplify gem management and add the gemspec to version control.
Browse files Browse the repository at this point in the history
  • Loading branch information
vandrijevik committed Apr 2, 2010
1 parent 08fa37e commit 8133195
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 29 deletions.
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

28 changes: 0 additions & 28 deletions Rakefile
Expand Up @@ -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
28 changes: 28 additions & 0 deletions 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

0 comments on commit 8133195

Please sign in to comment.