Permalink
Browse files

modernize the gem plumbing

  • Loading branch information...
1 parent 8ab4393 commit ed5912276a39d781900efb01dada3b07b7d3fb7e @tilsammans committed Apr 29, 2013
Showing with 18 additions and 36 deletions.
  1. +1 −0 .gitignore
  2. +3 −0 Gemfile
  3. +2 −10 Rakefile
  4. +12 −26 capistrano_transmit.gemspec
View
@@ -2,3 +2,4 @@ pkg
doc
Manifest
*.gem
+Gemfile.lock
View
@@ -0,0 +1,3 @@
+source 'https://rubygems.org'
+
+gemspec
View
@@ -1,12 +1,4 @@
require 'rubygems'
-require 'rake'
-require 'echoe'
+require 'bundler/setup'
-Echoe.new('capistrano_transmit', '0.1.0') do |p|
- p.summary = "Copies mysql databases between remote production and local development servers."
- p.url = "http://github.com/tilsammans/capistrano_transmit"
- p.author = "Joost Baaij"
- p.email = "joost@spacebabies.nl"
- p.runtime_dependencies = ["capistrano"]
- p.development_dependencies = []
-end
+Bundler::GemHelper.install_tasks
@@ -1,33 +1,19 @@
-# -*- encoding: utf-8 -*-
+# encoding: utf-8
Gem::Specification.new do |s|
- s.name = %q{capistrano_transmit}
- s.version = "1.0.0"
+ s.name = "capistrano_transmit"
+ s.version = "1.1.0"
- s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
- s.authors = ["Joost Baaij"]
- s.date = %q{2011-07-21}
- s.description = %q{Copies mysql databases between remote production and local development servers.}
- s.email = %q{joost@spacebabies.nl}
- s.extra_rdoc_files = ["README.rdoc", "lib/capistrano/transmit.rb"]
- s.files = ["MIT-LICENSE", "README.rdoc", "Rakefile", "lib/capistrano/transmit.rb", "capistrano_transmit.gemspec"]
- s.homepage = %q{http://github.com/tilsammans/capistrano_transmit}
- s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Capistrano_transmit", "--main", "README.rdoc"]
+ s.authors = ["Joost Baaij"]
+ s.email = ["joost@spacebabies.nl"]
+ s.summary = "Copies mysql databases between remote production and local development servers"
+ s.description = "Copies mysql databases between remote production and local development servers"
+ s.homepage = "https://github.com/tilsammans/capistrano_transmit"
+
+ s.files = `git ls-files`.split($/)
s.require_paths = ["lib"]
- s.rubyforge_project = %q{capistrano_transmit}
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Copies mysql databases between remote production and local development servers.}
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_runtime_dependency 'capistrano', '>= 2.0.0'
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<capistrano>, [">= 0"])
- else
- s.add_dependency(%q<capistrano>, [">= 0"])
- end
- else
- s.add_dependency(%q<capistrano>, [">= 0"])
- end
+ s.add_development_dependency 'bundler'
end

0 comments on commit ed59122

Please sign in to comment.