arvados-cli 0.1.20140512104117 → 0.1.20140512131115

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/arv-run-pipeline-instance +4 -12
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ee539822735e7245986bd0d8a454f88b88c0a27b
4
- data.tar.gz: 7ba6abdf0d0323dc11facb8bf4dfd84029853696
3
+ metadata.gz: bef66eff584d19b04d12513dd9f8c7893f35b2de
4
+ data.tar.gz: b5db7c7563f163a9f567bfa10870f578083389f6
5
5
  SHA512:
6
- metadata.gz: fefac4cf589de56f41f8f9e9f62f336daf81ae76e078d5670cbed0f56fb98a356b2aa02c3a2fd3330858d947c5b919c34bc29c0bd20fadcc1d0f115935411806
7
- data.tar.gz: f553b3bd8a0007210264d00b9019e7e45c4496d0856f28a86b6348600f8c864e6fc9d5572208861fe1f81c9b8e00c290be0b6a17215f3edd5458a60c6a3cc3a1
6
+ metadata.gz: a40ef53ec73a0987f6897ad8594106e4bc13ee0107f1b0f01643533df58d80abf245940f11e214db12fc4ace51234a872910730c7ecd5af0177f8f9314f2a365
7
+ data.tar.gz: 49db9e66e6ac14bed0482c3d18ff0bdec4f0f9e2bf20330200add96608e19058eaf31aeb114099077162167f09d985991a74d3d945f2cca1a383e6b0923cdc15
@@ -541,7 +541,6 @@ class WhRunPipelineInstance
541
541
  end
542
542
  end
543
543
  @instance[:components] = @components
544
- @instance[:active] = moretodo
545
544
  report_status
546
545
 
547
546
  if @options[:no_wait]
@@ -555,7 +554,6 @@ class WhRunPipelineInstance
555
554
  debuglog "interrupt", 0
556
555
  interrupted = true
557
556
  break
558
- #abort
559
557
  end
560
558
  end
561
559
  end
@@ -580,19 +578,13 @@ class WhRunPipelineInstance
580
578
 
581
579
  if interrupted
582
580
  if success
583
- @instance[:active] = false
584
- @instance[:success] = success
585
- @instance[:state] = "Complete"
581
+ @instance[:state] = 'Complete'
586
582
  else
587
- @instance[:active] = nil
588
- @instance[:success] = nil
589
583
  @instance[:state] = 'Paused'
590
584
  end
591
585
  else
592
586
  if ended == @components.length or failed > 0
593
- @instance[:active] = false
594
- @instance[:success] = success
595
- @instance[:state] = success ? "Complete" : "Failed"
587
+ @instance[:state] = success ? 'Complete' : 'Failed'
596
588
  end
597
589
  end
598
590
 
@@ -604,8 +596,8 @@ class WhRunPipelineInstance
604
596
  end
605
597
 
606
598
  def cleanup
607
- if @instance
608
- @instance[:active] = false
599
+ if @instance and @instance[:state] == 'RunningOnClient'
600
+ @instance[:state] = 'Paused'
609
601
  @instance.save
610
602
  end
611
603
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arvados-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.20140512104117
4
+ version: 0.1.20140512131115
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arvados Authors
@@ -146,7 +146,7 @@ dependencies:
146
146
  - - "~>"
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0.8'
149
- description: This is the Arvados SDK CLI gem, git revision 81b517450a657fc56b91b25426505bf9b3937db7
149
+ description: This is the Arvados SDK CLI gem, git revision d455c8373cf39f4310d2b0e13e7a9d02aca0b2ab
150
150
  email: gem-dev@curoverse.com
151
151
  executables:
152
152
  - arv