syspy 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/tds_packages/tds_params.rb +3 -3
- metadata +5 -5
@@ -53,7 +53,7 @@ module Syspy
|
|
53
53
|
len = 8;
|
54
54
|
end
|
55
55
|
|
56
|
-
gmt_offset = Time.new().gmt_offset
|
56
|
+
#gmt_offset = Time.new().gmt_offset
|
57
57
|
|
58
58
|
case len
|
59
59
|
when 0
|
@@ -61,11 +61,11 @@ module Syspy
|
|
61
61
|
when 8
|
62
62
|
days = read_int32(io)
|
63
63
|
time = read_int32(io)
|
64
|
-
return Time.at(days * 24 * 3600 - TIME_DIFF + time / 300
|
64
|
+
return Time.at(days * 24 * 3600 - TIME_DIFF + time / 300)
|
65
65
|
when 4
|
66
66
|
days = read_int16le(io)
|
67
67
|
time = read_int16le(io)
|
68
|
-
return Time.at(days * 24 * 3600 + time * 60
|
68
|
+
return Time.at(days * 24 * 3600 + time * 60)
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: syspy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 10
|
10
|
+
version: 0.0.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matthias Balmer
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-12-06 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bindata
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
requirements: []
|
82
82
|
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 1.8.
|
84
|
+
rubygems_version: 1.8.15
|
85
85
|
signing_key:
|
86
86
|
specification_version: 3
|
87
87
|
summary: Observe TDS packages directly from a network interface
|