Permalink
Browse files

moved to jeweler rake task

  • Loading branch information...
1 parent fdeab82 commit 1db76411b45806eb8dafddb4260c84db185da8a9 @zilkey committed Oct 16, 2009
Showing with 114 additions and 37 deletions.
  1. +6 −0 .document
  2. +0 −8 .gemified
  3. +52 −0 Rakefile
  4. +1 −1 VERSION
  5. +55 −28 auto_tagger.gemspec
View
6 .document
@@ -0,0 +1,6 @@
+README.md
+CHANGELOG
+MIT-LICENSE
+bin/*
+lib/**/*
+recipes/**/*
View
8 .gemified
@@ -1,8 +0,0 @@
----
-:author: Jeff Dean
-:summary: Helps you automatically create tags for each stage in a multi-stage deploment and deploy from the latest tag from the previous environment
-:name: autotagger
-:dependencies:
-- capistrano
-:homepage: http://github.com/zilkey/git_tagger/tree/master
-:version: 0.0.1
View
52 Rakefile
@@ -0,0 +1,52 @@
+require 'rubygems'
+require 'rake'
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "auto_tagger"
+ gem.summary = %Q{Helps you automatically create tags for each stage in a multi-stage deploment and deploy from the latest tag from the previous environment}
+ gem.email = "jeff@zilkey.com"
+ gem.homepage = "http://github.com/zilkey/auto_tagger"
+ gem.authors = ["Jeff Dean", "Brian Takita"]
+ gem.add_dependency('capistrano', [">= 2.5.3"])
+ gem.require_paths = ["lib", "recipes"]
+ gem.executables = ["autotag"]
+ gem.default_executable = %q{autotag}
+ gem.date = %q{2009-03-28}
+ end
+
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+end
+
+require 'spec/rake/spectask'
+Spec::Rake::SpecTask.new(:spec) do |spec|
+ spec.libs << 'lib' << 'spec'
+ spec.spec_files = FileList['spec/**/*_spec.rb']
+end
+
+Spec::Rake::SpecTask.new(:rcov) do |spec|
+ spec.libs << 'lib' << 'spec'
+ spec.pattern = 'spec/**/*_spec.rb'
+ spec.rcov = true
+end
+
+
+task :default => :spec
+
+require 'rake/rdoctask'
+Rake::RDocTask.new do |rdoc|
+ if File.exist?('VERSION.yml')
+ config = YAML.load(File.read('VERSION.yml'))
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
+ else
+ version = ""
+ end
+
+ rdoc.rdoc_dir = 'rdoc'
+ rdoc.title = "auto_tagger #{version}"
+ rdoc.rdoc_files.include('README*')
+ rdoc.rdoc_files.include('lib/**/*.rb')
+end
+
View
2 VERSION
@@ -1 +1 @@
-0.0.10
+0.1.0
View
83 auto_tagger.gemspec
@@ -1,46 +1,73 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE
+# Instead, edit Jeweler::Tasks in Rakefile, and run `rake gemspec`
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{auto_tagger}
- s.version = "0.0.9"
+ s.version = "0.1.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Jeff Dean"]
- s.date = %q{2009-03-28}
+ s.authors = ["Jeff Dean", "Brian Takita"]
+ s.date = %q{2009-10-15}
s.default_executable = %q{autotag}
+ s.email = %q{jeff@zilkey.com}
s.executables = ["autotag"]
-
- s.files = [
- "lib/auto_tagger",
- "lib/auto_tagger/auto_tagger.rb",
- "lib/auto_tagger/capistrano_helper.rb",
- "lib/auto_tagger/commander.rb",
- "lib/auto_tagger/repository.rb",
- "lib/auto_tagger/stage_manager.rb",
- "lib/auto_tagger/tag.rb",
- "lib/auto_tagger.rb",
- "recipes/release_tagger.rb",
- "bin/autotag",
- "spec/auto_tagger",
- "spec/auto_tagger/auto_tagger_spec.rb",
- "spec/auto_tagger/capistrano_helper_spec.rb",
- "spec/auto_tagger/commander_spec.rb",
- "spec/auto_tagger/repository_spec.rb",
- "spec/auto_tagger/stage_manager_spec.rb",
- "spec/auto_tagger/tag_spec.rb",
- "spec/spec_helper.rb",
- "MIT-LICENSE",
+ s.extra_rdoc_files = [
"README.md"
]
-
- s.homepage = %q{http://github.com/zilkey/git_tagger/tree/master}
+ s.files = [
+ ".gitignore",
+ "CHANGELOG",
+ "MIT-LICENSE",
+ "README.md",
+ "VERSION",
+ "auto_tagger.gemspec",
+ "bin/autotag",
+ "features/autotag.feature",
+ "features/deployment.feature",
+ "features/step_definitions/autotag_steps.rb",
+ "features/step_definitions/deployment_steps.rb",
+ "features/support/env.rb",
+ "features/support/step_helpers.rb",
+ "features/templates/cap_ext_deploy.erb",
+ "features/templates/deploy.erb",
+ "features/templates/stage.erb",
+ "geminstaller.yml",
+ "lib/auto_tagger.rb",
+ "lib/auto_tagger/auto_tagger.rb",
+ "lib/auto_tagger/capistrano_helper.rb",
+ "lib/auto_tagger/commander.rb",
+ "lib/auto_tagger/repository.rb",
+ "lib/auto_tagger/stage_manager.rb",
+ "lib/auto_tagger/tag.rb",
+ "recipes/release_tagger.rb",
+ "spec/auto_tagger/auto_tagger_spec.rb",
+ "spec/auto_tagger/capistrano_helper_spec.rb",
+ "spec/auto_tagger/commander_spec.rb",
+ "spec/auto_tagger/repository_spec.rb",
+ "spec/auto_tagger/stage_manager_spec.rb",
+ "spec/auto_tagger/tag_spec.rb",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/zilkey/auto_tagger}
+ s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib", "recipes"]
- s.rubygems_version = %q{1.3.1}
+ s.rubygems_version = %q{1.3.5}
s.summary = %q{Helps you automatically create tags for each stage in a multi-stage deploment and deploy from the latest tag from the previous environment}
+ s.test_files = [
+ "spec/auto_tagger/auto_tagger_spec.rb",
+ "spec/auto_tagger/capistrano_helper_spec.rb",
+ "spec/auto_tagger/commander_spec.rb",
+ "spec/auto_tagger/repository_spec.rb",
+ "spec/auto_tagger/stage_manager_spec.rb",
+ "spec/auto_tagger/tag_spec.rb",
+ "spec/spec_helper.rb"
+ ]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 2
+ s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<capistrano>, [">= 2.5.3"])

0 comments on commit 1db7641

Please sign in to comment.