0.1.2 - Fixed way directories were passed
Running puremvc-gen commands in a Windows directory that had spaces somewhere in the path e.g. C:\Documents and Settings\ was causing a failure. Wrapped the directory parameters in quotes in order for the entire directory to be properly passed.
This commit is contained in:
parent
b946ff95de
commit
dfaca096a9
@ -1,3 +1,8 @@
|
||||
=== 0.1.2 / 2008-12-19
|
||||
|
||||
* Wrapped directory parameters passed to ANT in quotes
|
||||
* A path on Windows like C:\Documents and Settings\... previously caused an error
|
||||
|
||||
=== 0.1.1 / 2008-12-18
|
||||
|
||||
* Working on Windows!
|
||||
|
@ -7,7 +7,7 @@ PMVC_GEN_HOME = File.join(File.dirname(__FILE__), '..', 'conf')
|
||||
BUILDFILE = File.join(PMVC_GEN_HOME, 'build.xml')
|
||||
|
||||
def call_ant(args='')
|
||||
system "#{ANT_BIN} -f #{File.expand_path BUILDFILE} -Dpmvcgen.dir=#{File.expand_path PMVC_GEN_HOME} -Dbasedir=#{Dir.pwd} #{args}"
|
||||
system "#{ANT_BIN} -f #{File.expand_path BUILDFILE} -Dpmvcgen.dir=\"#{File.expand_path PMVC_GEN_HOME}\" -Dbasedir=\"#{Dir.pwd}\" #{args}"
|
||||
end
|
||||
|
||||
cmd = CmdParse::CommandParser.new(true, true)
|
||||
|
@ -12,7 +12,7 @@ module PureMVCGen
|
||||
|
||||
MAJOR = 0
|
||||
MINOR = 1
|
||||
TINY = 1
|
||||
TINY = 2
|
||||
|
||||
ARRAY = [MAJOR, MINOR, TINY]
|
||||
STRING = ARRAY.join(".")
|
||||
|
@ -2,11 +2,11 @@
|
||||
|
||||
Gem::Specification.new do |s|
|
||||
s.name = %q{puremvc-gen}
|
||||
s.version = "0.1.1"
|
||||
s.version = "0.1.2"
|
||||
|
||||
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||
s.authors = ["Greg Jastrab"]
|
||||
s.date = %q{2008-12-18}
|
||||
s.date = %q{2008-12-19}
|
||||
s.default_executable = %q{puremvc-gen}
|
||||
s.description = %q{An ANT-based PureMVC generator.}
|
||||
s.email = %q{gjastrab.dev@gmail.com}
|
||||
|
Loading…
Reference in New Issue
Block a user