patir 0.5.8 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ ==0.6.0
2
+ * RubyCommand now sets success when the block runs to the end. Block returns values re ignored. To indicate failure raise an exception.
3
+
1
4
  == 0.5.8 /2008-09-18
2
5
  * CommandSequence status updates set the correct status
3
6
  == 0.5.7 / 2008-09-10
data/lib/patir/base.rb CHANGED
@@ -5,8 +5,8 @@ module Patir
5
5
  #The Patir version used
6
6
  module Version
7
7
  MAJOR=0
8
- MINOR=5
9
- TINY=8
8
+ MINOR=6
9
+ TINY=0
10
10
  STRING=[ MAJOR, MINOR, TINY ].join( "." )
11
11
  end
12
12
  #Error thrown usually in initialize methods when missing required parameters
data/lib/patir/command.rb CHANGED
@@ -480,7 +480,8 @@ module Patir
480
480
  begin
481
481
  t1=Time.now
482
482
  Dir.chdir(@working_directory) do
483
- @status=@cmd.call(self)
483
+ @cmd.call(self)
484
+ @status=:success
484
485
  end
485
486
  rescue
486
487
  error<<"RubyCommand failed:"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patir
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.8
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vassilis Rizopoulos
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-18 00:00:00 +02:00
12
+ date: 2008-09-25 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency