Permalink
Browse files

Updated to rubygems 1.3

  • Loading branch information...
1 parent 2458803 commit 8af531f531f522b1dbe9cd2f070a02a393df4cf5 @ianwhite committed Nov 1, 2008
Showing with 12 additions and 6 deletions.
  1. +1 −0 TODO
  2. +10 −4 garlic.gemspec
  3. +1 −2 lib/garlic/runner.rb
View
1 TODO
@@ -1 +1,2 @@
+* specs
* rewrite using grit? (research: is grit the defacto standard for ruby controlling git?)
View
@@ -1,24 +1,30 @@
+# -*- encoding: utf-8 -*-
+
Gem::Specification.new do |s|
s.name = %q{garlic}
s.version = "0.1.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Ian White"]
- s.date = %q{2008-10-30}
+ s.date = %q{2008-11-02}
+ s.default_executable = %q{garlic}
s.description = %q{Lightweight set of rake tasks to help with CI.}
s.email = %q{ian.w.white@gmail.com}
- s.files = ["lib/garlic/configurator.rb", "lib/garlic/repo.rb", "lib/garlic/session.rb", "lib/garlic/target.rb", "lib/garlic/tasks.rb", "lib/garlic.rb", "MIT-LICENSE", "README.textile", "TODO", "CHANGELOG", "spec/garlic/repo_spec.rb"]
+ s.executables = ["garlic"]
+ s.files = ["lib/garlic/configurator.rb", "lib/garlic/generator.rb", "lib/garlic/repo.rb", "lib/garlic/runner.rb", "lib/garlic/shell.rb", "lib/garlic/target.rb", "lib/garlic/tasks.rb", "lib/garlic.rb", "templates/default.rb", "templates/rspec.rb", "templates/shoulda.rb", "MIT-LICENSE", "README.textile", "TODO", "CHANGELOG", "spec/garlic/repo_spec.rb", "bin/garlic"]
+ s.has_rdoc = true
s.homepage = %q{http://github.com/ianwhite/garlic/tree}
+ s.rdoc_options = ["--title", "Garlic", "--line-numbers"]
s.require_paths = ["lib"]
- s.rubygems_version = %q{1.2.0}
+ s.rubygems_version = %q{1.3.1}
s.summary = %q{Lightweight set of rake tasks to help with CI.}
s.test_files = ["spec/garlic/repo_spec.rb"]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2
- if current_version >= 3 then
+ if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
View
@@ -102,8 +102,7 @@ def commands
end
end
- # highly experimental: subject to change
- define_command :shell, "Run shell commands across specified targets" do |*path|
+ define_command :shell, "Run shell commands from stdin across specified targets" do |*path|
shell = Shell.new(determine_targets)
shell.current_path = path.first if path.first
shell.run

0 comments on commit 8af531f

Please sign in to comment.