rake 10.1.0.beta.2 → 10.1.0.beta.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of rake might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/rake/task.rb +4 -0
- data/lib/rake/version.rb +1 -1
- data/test/test_rake_task.rb +6 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2850cf97cf095ac6f5e6ddd8707b82af6aa5a3d
|
4
|
+
data.tar.gz: 23f65fae241482950f55439de060be976a9542db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c1354901f1c9384ea1aa86c48f66ef2a80713a91908e30992a16044a80091569dc0c9e487f42293e703137d036951d4ee93a94d326f6b5b83af98e430e24a1b8
|
7
|
+
data.tar.gz: 635cc2a75db35c4bb490ef6daebc86cec0823b6e77fc76b20736873ee9ba34ec54e43331b45eb114eedefbeb9c04489dbc47471b28b3e6f6e2cd3bea1af10080
|
data/lib/rake/task.rb
CHANGED
data/lib/rake/version.rb
CHANGED
data/test/test_rake_task.rb
CHANGED
@@ -307,6 +307,12 @@ class TestRakeTask < Rake::TestCase
|
|
307
307
|
assert_match(/pre-requisites:\s*--t[23]/, out)
|
308
308
|
end
|
309
309
|
|
310
|
+
# NOTE: Rail-ties uses comment=.
|
311
|
+
def test_comment_setting
|
312
|
+
t = task(:t, :name, :rev)
|
313
|
+
t.comment = "A Comment"
|
314
|
+
assert_equal "A Comment", t.comment
|
315
|
+
end
|
310
316
|
|
311
317
|
def test_comments_with_sentences
|
312
318
|
desc "Comment 1. Comment 2."
|