am 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/am/version.rb +1 -1
- data/lib/tail.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723bbc87212ffce2be4477ad66898027961be8ce
|
4
|
+
data.tar.gz: 5183ecd4569cbc3341da6235dcaeeefd8c044308
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e0b0383852903626c45183e1fcbe36365aed67d626d48f4a4b9f0a2976bc1f34672aa3f5b153141ba0b065fe26f67bdb24a8b5b59d01b0ffe6f56b9d751aec
|
7
|
+
data.tar.gz: 500a820faaf14e74861efef25981200358dfb64ef2d520e55c2ed6bc684f564137f3aabedf47750067b0fe802d49e4775d4818f8d866575fe9e02f9462356ba9
|
data/lib/am/version.rb
CHANGED
data/lib/tail.rb
CHANGED
@@ -28,7 +28,7 @@ module AM
|
|
28
28
|
last_commands = `tail -6 #{@sh_history_file} | head -5`.split("\n")
|
29
29
|
last_commands.each_with_index do |c,i|
|
30
30
|
record = c.split(/#{@history_pattern}/)[@command_col].strip
|
31
|
-
puts (i+1).to_s
|
31
|
+
puts " #{(i+1).to_s} : #{record.to_s}"
|
32
32
|
commands << record
|
33
33
|
end
|
34
34
|
commands
|