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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3ff5ebacea4245cd96c888f824a9163986e69fdc
4
- data.tar.gz: 70037bb8d8e6983e39fcea75475ccf96cf2a8223
3
+ metadata.gz: a2850cf97cf095ac6f5e6ddd8707b82af6aa5a3d
4
+ data.tar.gz: 23f65fae241482950f55439de060be976a9542db
5
5
  SHA512:
6
- metadata.gz: 0574f0908a532f8d382c5f4bb70182c55812e9866314e6c332cf22a577e3a63c4edde103eb47afee2703da689af8b39e3a78695b6fabfc5177f03b99f92e8917
7
- data.tar.gz: cef1c1ec7ae6fd72e762baf4e9c27baea8fd4cac8bc68fbbf0e1ebb3238472071811c6d121da26d444766db3cd01e70ad4b16df60fe5d247470951f72761386b
6
+ metadata.gz: c1354901f1c9384ea1aa86c48f66ef2a80713a91908e30992a16044a80091569dc0c9e487f42293e703137d036951d4ee93a94d326f6b5b83af98e430e24a1b8
7
+ data.tar.gz: 635cc2a75db35c4bb490ef6daebc86cec0823b6e77fc76b20736873ee9ba34ec54e43331b45eb114eedefbeb9c04489dbc47471b28b3e6f6e2cd3bea1af10080
@@ -257,6 +257,10 @@ module Rake
257
257
  add_comment(comment) if comment && ! comment.empty?
258
258
  end
259
259
 
260
+ def comment=(comment)
261
+ add_comment(comment)
262
+ end
263
+
260
264
  def add_comment(comment)
261
265
  @comments << comment unless @comments.include?(comment)
262
266
  end
@@ -1,5 +1,5 @@
1
1
  module Rake
2
- VERSION = '10.1.0.beta.2'
2
+ VERSION = '10.1.0.beta.3'
3
3
 
4
4
  module Version # :nodoc: all
5
5
  MAJOR, MINOR, BUILD, *OTHER = Rake::VERSION.split '.'
@@ -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."
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rake
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.1.0.beta.2
4
+ version: 10.1.0.beta.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich