rakegen 0.6.4 → 0.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,8 +8,6 @@ class PoliteFileTask < Rake::FileTask
8
8
 
9
9
  def confirm?
10
10
  agree("Overwrite '#{name}' ?", false)
11
- true
12
- # will use highline stuff
13
11
  end
14
12
 
15
13
  end
data/rakegen.gemspec CHANGED
@@ -1,14 +1,14 @@
1
1
 
2
- # Gem::Specification for Rakegen-0.6.4
2
+ # Gem::Specification for Rakegen-0.6.5
3
3
  # Originally generated by Echoe
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = %q{rakegen}
7
- s.version = "0.6.4"
7
+ s.version = "0.6.5"
8
8
 
9
9
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
10
10
  s.authors = ["Matthew King"]
11
- s.date = %q{2008-06-25}
11
+ s.date = %q{2008-09-01}
12
12
  s.description = %q{Generation and updation of projects from templates. Rake-powered, for sustainable blah blah.}
13
13
  s.email = %q{automatthew@gmail.com}
14
14
  s.extra_rdoc_files = ["CHANGELOG", "lib/rakegen/polite_file.rb", "lib/rakegen.rb", "LICENSE", "README"]
@@ -49,7 +49,7 @@ end
49
49
  # require dep
50
50
  # end
51
51
  #
52
- # Version = '0.6.4'
52
+ # Version = '0.6.5'
53
53
  #
54
54
  # task :default => [:test]
55
55
  #
@@ -35,7 +35,11 @@ context "A file_copy task" do
35
35
 
36
36
  specify "should ask if file exists (no idea how to test Highline stuff)" do
37
37
  File.open(@target, "w") { |f| f.print "two" }
38
- # Rake::Task[@target].needed?.should == true
38
+ # run in shell and answer "n". Also, find better way to test.
39
+ puts "Answer no to the next prompt"
40
+ Rake::Task[@target].invoke
41
+
42
+ File.read(@target).should == "two"
39
43
  end
40
44
 
41
45
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rakegen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.4
4
+ version: 0.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew King
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-06-25 00:00:00 -05:00
12
+ date: 2008-09-01 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency