Skip to content

Commit f8bc6b4

Browse files
committed
add version (>= 0.3) to yaml_waml gem
1 parent af0695f commit f8bc6b4

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Hoe.new('ditz', Ditz::VERSION) do |p|
1717
p.url = "http://ditz.rubyforge.org"
1818
p.changes = p.paragraphs_of('Changelog', 0..0).join("\n\n")
1919
p.email = "[email protected]"
20-
p.extra_deps = [['trollop', '>= 1.9'], ['kakutani-yaml_waml']]
20+
p.extra_deps = [['trollop', '>= 1.9'], ['kakutani-yaml_waml', '>= 0.3']]
2121
end
2222

2323
WWW_FILES = FileList["www/*"] + %w(README.txt PLUGINS.txt)

bin/ditz

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,16 @@ end
1717

1818
begin
1919
require 'rubygems'
20+
# list version dependant gems here.
21+
gem 'kakutani-yaml_waml', '>= 0.3'
22+
gem 'trollop', '>= 1.9'
2023
rescue LoadError
2124
end
2225

2326
require 'fileutils'
2427
require 'pathname'
2528
require 'trollop'; include Trollop
2629
require "ditz"
27-
require "yaml_waml"
2830

2931
CONFIG_FN = ".ditz-config"
3032
PLUGIN_FN = ".ditz-plugins"

ditz.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Gem::Specification.new do |s|
44

55
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
66
s.authors = ["William Morgan"]
7-
s.date = %q{2008-09-04}
7+
s.date = %q{2008-09-05}
88
s.default_executable = %q{ditz}
99
s.description = %q{Ditz is a simple, light-weight distributed issue tracker designed to work with distributed version control systems like git, darcs, Mercurial, and Bazaar. It can also be used with centralized systems like SVN. Ditz maintains an issue database directory on disk, with files written in a line-based and human-editable format. This directory can be kept under version control, alongside project code. Ditz provides a simple, console-based interface for creating and updating the issue database files, and some basic static HTML generation capabilities for producing world-readable status pages (for a demo, see the ditz ditz page). Ditz includes a robust plugin system for adding commands, model fields, and modifying output. See PLUGINS.txt for documentation on the pre-shipped plugins. Ditz currently offers no central public method of bug submission. == USING DITZ There are several different ways to use Ditz: 1. Treat issue change the same as code change: include it as part of commits, and merge it with changes from other developers, resolving conflicts in the usual manner. 2. Keep the issue database in the repository but in a separate branch. Issue changes can be managed by your VCS, but is not tied directly to code commits. 3. Keep the issue database separate and not under VCS at all.}
1010
s.email = %q{[email protected]}
@@ -25,13 +25,13 @@ Gem::Specification.new do |s|
2525

2626
if current_version >= 3 then
2727
s.add_runtime_dependency(%q<trollop>, [">= 1.9"])
28-
s.add_runtime_dependency(%q<kakutani-yaml_waml>, [">= 0"])
28+
s.add_runtime_dependency(%q<kakutani-yaml_waml>, [">= 0.3"])
2929
else
3030
s.add_dependency(%q<trollop>, [">= 1.9"])
31-
s.add_dependency(%q<kakutani-yaml_waml>, [">= 0"])
31+
s.add_dependency(%q<kakutani-yaml_waml>, [">= 0.3"])
3232
end
3333
else
3434
s.add_dependency(%q<trollop>, [">= 1.9"])
35-
s.add_dependency(%q<kakutani-yaml_waml>, [">= 0"])
35+
s.add_dependency(%q<kakutani-yaml_waml>, [">= 0.3"])
3636
end
3737
end

0 commit comments

Comments
 (0)