automatthew-rakegen 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rakegen/polite_file.rb +0 -2
- data/rakegen.gemspec +4 -4
- data/test/test_polite_file.rb +5 -1
- metadata +2 -2
data/lib/rakegen/polite_file.rb
CHANGED
data/rakegen.gemspec
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
|
2
|
-
# Gem::Specification for Rakegen-0.6.
|
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.
|
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-
|
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.
|
52
|
+
# Version = '0.6.5'
|
53
53
|
#
|
54
54
|
# task :default => [:test]
|
55
55
|
#
|
data/test/test_polite_file.rb
CHANGED
@@ -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
|
-
#
|
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: automatthew-rakegen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
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-
|
12
|
+
date: 2008-09-01 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|