arvados-cli 0.1.20140612144922 → 0.1.20140612152159

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/crunch-job +7 -5
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aac16aa530ee22fd1a6d1b77afa32055a8b95b36
4
- data.tar.gz: 252973fb3fc1dd9e066cf5d8c2b1ef06328809d4
3
+ metadata.gz: bd026c9cafbd77abe28195f8db355d2604f3ce46
4
+ data.tar.gz: e2ed7aed74ccd8ce186d359aade2b3bb2319a112
5
5
  SHA512:
6
- metadata.gz: 91e068e22a4c541d8b159a07bae9c029436da72c842616d1751dfa4266215d57f2f78fae62a2ee180c9911e9c433019fe81fb7251952c00bfef6b59742d245f7
7
- data.tar.gz: 083151446857052aef46ef1cb3ad9723474791ec5a608ac0b9e74e28f5455a7e56bdcb4031335a4a4b460f26d2f194885da2dff172753b6db8a6ec58f5fe47d0
6
+ metadata.gz: 4909acbddad2f2e67b8c259f3011e1fef9e5bfa19969a5e7de099d32cd4f465c665d5515b5ee004b68fcdf21114f9f86f6e5d4951fa40f3139491a05dd8b058f
7
+ data.tar.gz: b4e33cac2782ce0e64b64f4f05ca945e4edf3420dfa7908151a5bdb7637bfa798d7128dc33e1761b4420dbcd99483590688a33e2651034bbd4ece9a7c223ea01
data/bin/crunch-job CHANGED
@@ -821,20 +821,22 @@ if ($collated_output)
821
821
  or die "failed to get collated manifest: $!";
822
822
  # Read the original manifest, and strip permission hints from it,
823
823
  # so we can put the result in a Collection.
824
- my @manifest_lines = ();
824
+ my @stripped_manifest_lines = ();
825
+ my $orig_manifest_text = '';
825
826
  while (my $manifest_line = <$orig_manifest>) {
827
+ $orig_manifest_text .= $manifest_line;
826
828
  my @words = split(/ /, $manifest_line, -1);
827
829
  foreach my $ii (0..$#words) {
828
830
  if ($words[$ii] =~ /^[0-9a-f]{32}\+/) {
829
831
  $words[$ii] =~ s/\+A[0-9a-f]{40}@[0-9a-f]{8}\b//;
830
832
  }
831
833
  }
832
- push(@manifest_lines, join(" ", @words));
834
+ push(@stripped_manifest_lines, join(" ", @words));
833
835
  }
834
- my $manifest_text = join("", @manifest_lines);
836
+ my $stripped_manifest_text = join("", @stripped_manifest_lines);
835
837
  my $output = $arv->{'collections'}->{'create'}->execute('collection' => {
836
- 'uuid' => md5_hex($manifest_text),
837
- 'manifest_text' => $manifest_text,
838
+ 'uuid' => md5_hex($stripped_manifest_text),
839
+ 'manifest_text' => $orig_manifest_text,
838
840
  });
839
841
  $Job->update_attributes('output' => $output->{uuid});
840
842
  if ($Job->{'output_is_persistent'}) {
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.20140612144922
4
+ version: 0.1.20140612152159
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 557b0b0e61a16c098785f66e5f10b0b72973d822
149
+ description: This is the Arvados SDK CLI gem, git revision 4d84c7d2c66ea255db24e2b4159bcafed29ef00d
150
150
  email: gem-dev@curoverse.com
151
151
  executables:
152
152
  - arv