sprout 0.7.165-x86-linux → 0.7.167-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.

data/lib/sprout.rb CHANGED
@@ -249,7 +249,7 @@ EOF
249
249
  exe = target.archive_path
250
250
  end
251
251
 
252
- if(File.exists?(exe) && File.stat(exe).mode != 33261)
252
+ if(File.exists?(exe) && !File.directory?(exe) && File.stat(exe).mode != 33261)
253
253
  File.chmod 0755, exe
254
254
  end
255
255
 
@@ -44,6 +44,8 @@ module Sprout
44
44
  # The relative path to the directory where swc files should be kept.
45
45
  # This value defaults to lib_dir
46
46
  attr_accessor :swc_dir
47
+ # Directory where documentation should be placed.
48
+ attr_accessor :doc_dir
47
49
  # Relative path to the folder that contains your test cases
48
50
  attr_accessor :test_dir
49
51
  # The test executable
@@ -71,6 +73,7 @@ module Sprout
71
73
  def initialize
72
74
  super
73
75
  @project_name = ''
76
+ @doc_dir = 'doc'
74
77
  @src_dir = 'src'
75
78
  @lib_dir = 'lib'
76
79
  @swc_dir = 'lib'
@@ -194,7 +194,7 @@ module Sprout
194
194
 
195
195
  # First ensure the named accessor doesn't yet exist...
196
196
  if(param_hash[name])
197
- raise TaskBaseError.new("TaskBase.add_param called with existing parameter name: #{name}")
197
+ raise ToolTaskError.new("TaskBase.add_param called with existing parameter name: #{name}")
198
198
  end
199
199
 
200
200
  param = create_param(type)
@@ -221,7 +221,7 @@ module Sprout
221
221
  if(param_hash.has_key? other_param.to_s)
222
222
  param_hash[name.to_s] = param_hash[other_param.to_s]
223
223
  else
224
- raise TaskBaseError.new("TaskBase.add_param_alis called with")
224
+ raise ToolTaskError.new("TaskBase.add_param_alis called with")
225
225
  end
226
226
  end
227
227
 
@@ -345,7 +345,7 @@ module Sprout
345
345
 
346
346
  def validate
347
347
  if(required? && !visible?)
348
- raise TaskBaseError.new("#{name} is required and must not be nil")
348
+ raise ToolTaskError.new("#{name} is required and must not be nil")
349
349
  end
350
350
  end
351
351
 
@@ -426,6 +426,7 @@ module Sprout
426
426
  end
427
427
 
428
428
  # Concrete param object for :symbol values
429
+ # like class names
429
430
  class SymbolParam < TaskParam # :nodoc:
430
431
  end
431
432
 
@@ -2,7 +2,7 @@ module Sprout
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 7
5
- TINY = 165
5
+ TINY = 167
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  MAJOR_MINOR = [MAJOR, MINOR].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sprout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.165
4
+ version: 0.7.167
5
5
  platform: x86-linux
6
6
  authors:
7
7
  - Luke Bayes
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-22 00:00:00 -08:00
12
+ date: 2008-02-24 00:00:00 -08:00
13
13
  default_executable: sprout
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency