sprout 0.7.240-x86-linux → 0.7.241-x86-linux

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sprout might be problematic. Click here for more details.

@@ -502,7 +502,7 @@ module Sprout
502
502
  end
503
503
 
504
504
  def value
505
- @value ||= nil
505
+ @value
506
506
  end
507
507
 
508
508
  def shell_value
@@ -735,6 +735,14 @@ module Sprout
735
735
  # Concrete param object for collections of strings
736
736
  class StringsParam < TaskParam # :nodoc:
737
737
 
738
+ def value=(val)
739
+ if(val.is_a?(String))
740
+ message = "The #{name} property is an Array, not a String. It looks like you may have used the assignment operator (=) where the append operator (<<) was expected."
741
+ raise ToolTaskError.new(message)
742
+ end
743
+ @value = val
744
+ end
745
+
738
746
  # Files lists are initialized to an empty array by default
739
747
  def value
740
748
  @value ||= []
@@ -3,7 +3,7 @@ module Sprout
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 7
6
- TINY = 240
6
+ TINY = 241
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY].join('.')
9
9
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 240
9
- version: 0.7.240
8
+ - 241
9
+ version: 0.7.241
10
10
  platform: x86-linux
11
11
  authors:
12
12
  - Luke Bayes