experiment_arguments_log 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/experiment_arguments_log.rb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c90ff68c44862bf761acc828fb47f451107b19bc
|
4
|
+
data.tar.gz: 9f8866fa3c0b236084cb53f785611163d4784588
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 274c4928394f2a7c4b47c46e925f6a8f172b51b9cceded4863fa60fab25af3f084480ca21d3d69ce45d1fcb4898acc25df86c14e81a4801432f790a809a7d6ee
|
7
|
+
data.tar.gz: 3f08e20396452f8cd10197e7b96efb0ec25a0a3bee4428990d35253a38c69af04233e77fccc4b6f8c7d1e8b53a3d473a88826d9b398d166a3e1eb9f31bd092b6
|
@@ -40,9 +40,11 @@ def experiment_arguments_log
|
|
40
40
|
output.puts 'File access time: %s' % [argument_file.atime]
|
41
41
|
output.puts 'File modification time: %s' % [argument_file.mtime]
|
42
42
|
output.puts 'File size: %s' % [argument_file.size]
|
43
|
-
|
44
|
-
|
45
|
-
|
43
|
+
if argument_file.file?
|
44
|
+
output.puts 'Content:'
|
45
|
+
5.times do
|
46
|
+
output.puts argument_file.gets(1024) || break
|
47
|
+
end
|
46
48
|
end
|
47
49
|
|
48
50
|
output.puts
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: experiment_arguments_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Wróbel
|
@@ -39,7 +39,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
39
39
|
version: '0'
|
40
40
|
requirements: []
|
41
41
|
rubyforge_project:
|
42
|
-
rubygems_version: 2.
|
42
|
+
rubygems_version: 2.2.2
|
43
43
|
signing_key:
|
44
44
|
specification_version: 4
|
45
45
|
summary: Logs experiment execution arguments and output.
|