sr-scripts 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/sr-log-monitor +3 -2
- data/lib/sr-scripts/version.rb +1 -1
- metadata +3 -3
data/bin/sr-log-monitor
CHANGED
@@ -17,8 +17,9 @@ files.each do |file|
|
|
17
17
|
if last_position != File.size?(file)
|
18
18
|
f = File.open(file, 'rb')
|
19
19
|
f.seek last_position
|
20
|
-
|
21
|
-
|
20
|
+
puts "#### #{file} #####"
|
21
|
+
puts f.read
|
22
|
+
puts "#### #{file} END ####"
|
22
23
|
file_changes = true
|
23
24
|
end
|
24
25
|
positions[file] = File.size?(file)
|
data/lib/sr-scripts/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sr-scripts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
9
|
+
- 4
|
10
|
+
version: 0.1.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Davy Campano
|