net-ntp 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/net/ntp/ntp.rb +3 -2
- data/lib/net/ntp/version.rb +1 -1
- metadata +5 -6
data/lib/net/ntp/ntp.rb
CHANGED
@@ -99,8 +99,9 @@ module Net #:nodoc:
|
|
99
99
|
|
100
100
|
class Response
|
101
101
|
def initialize(raw_data)
|
102
|
-
@raw_data
|
103
|
-
@client_time_receive
|
102
|
+
@raw_data = raw_data
|
103
|
+
@client_time_receive = Time.new.to_i
|
104
|
+
@packet_data_by_field = nil
|
104
105
|
end
|
105
106
|
|
106
107
|
def leap_indicator
|
data/lib/net/ntp/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: net-ntp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 1
|
10
|
+
version: 2.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jerome Waibel
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date:
|
20
|
+
date: 2012-04-23 00:00:00 Z
|
21
21
|
dependencies: []
|
22
22
|
|
23
23
|
description: This project was a rubyfied version of perl's Net::NTP module, (C) 2004 by James G. Willmore. It provides a method to query an NTP server as specified in RFC1305 and RFC2030. Updated and re-released in 2010 by Zencoder.
|
@@ -66,10 +66,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements: []
|
67
67
|
|
68
68
|
rubyforge_project:
|
69
|
-
rubygems_version: 1.8.
|
69
|
+
rubygems_version: 1.8.17
|
70
70
|
signing_key:
|
71
71
|
specification_version: 3
|
72
72
|
summary: NTP client for ruby.
|
73
73
|
test_files: []
|
74
74
|
|
75
|
-
has_rdoc:
|