sys-uptime 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES CHANGED
@@ -1,4 +1,8 @@
1
- == 0.5.2 - ???
1
+ == 0.5.3 - 7-May-2009
2
+ * Altered the Uptime.seconds implementation on Linux so that it works with
3
+ both Ruby 1.8.x and 1.9.x. Thanks go to Alexey Chebotar for the spot.
4
+
5
+ == 0.5.2 - 13-Dec-2008
2
6
  * Fixed a date/time issue in the Windows version caused by Ruby itself.
3
7
  * Fixed the Uptime.seconds, Uptime.minutes and Uptime.hours methods on MS
4
8
  Windows.
data/doc/uptime.txt CHANGED
@@ -75,7 +75,7 @@ Uptime::Error
75
75
  Ruby's
76
76
 
77
77
  == Copyright
78
- Copyright 2002-2008, Daniel J. Berger
78
+ Copyright 2002-2009, Daniel J. Berger
79
79
 
80
80
  All Rights Reserved. This module is free software. It may be used,
81
81
  redistributed and/or modified under the same terms as Ruby itself.
data/ext/sys/uptime.c CHANGED
@@ -51,7 +51,7 @@
51
51
 
52
52
  #define MAXSTRINGSIZE 32 /* reasonable limit */
53
53
 
54
- #define SYS_UPTIME_VERSION "0.5.2"
54
+ #define SYS_UPTIME_VERSION "0.5.3"
55
55
 
56
56
  VALUE cUptimeError;
57
57
 
@@ -235,7 +235,7 @@ void Init_uptime()
235
235
  /* The Uptime::Error class is raised if any of the Uptime methods fail */
236
236
  cUptimeError = rb_define_class_under(cUptime, "Error", rb_eStandardError);
237
237
 
238
- /* 0.5.2: The version of this library */
238
+ /* 0.5.3: The version of this library */
239
239
  rb_define_const(cUptime, "VERSION", rb_str_new2(SYS_UPTIME_VERSION));
240
240
 
241
241
  /* Singleton Methods */
@@ -10,7 +10,7 @@ include Sys
10
10
 
11
11
  class TC_Uptime < Test::Unit::TestCase
12
12
  def test_version
13
- assert_equal('0.5.2', Uptime::VERSION)
13
+ assert_equal('0.5.3', Uptime::VERSION)
14
14
  end
15
15
 
16
16
  def test_seconds
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-uptime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-12-13 00:00:00 -07:00
12
+ date: 2009-05-07 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: A Ruby interface for getting system uptime information.
16
+ description: " The sys-uptime library is a simple interface for gathering uptime\n information. You can retrieve data in seconds, minutes, days, hours,\n or all of the above.\n"
17
17
  email: djberg96@gmail.com
18
18
  executables: []
19
19
 
@@ -32,10 +32,11 @@ files:
32
32
  - README
33
33
  - MANIFEST
34
34
  - ext/extconf.rb
35
- - ext/sys
36
35
  - ext/sys/uptime.c
37
36
  has_rdoc: true
38
37
  homepage: http://www.rubyforge.org/projects/sysutils
38
+ licenses: []
39
+
39
40
  post_install_message:
40
41
  rdoc_options: []
41
42
 
@@ -56,9 +57,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
57
  requirements: []
57
58
 
58
59
  rubyforge_project: sysutils
59
- rubygems_version: 1.2.0
60
+ rubygems_version: 1.3.2
60
61
  signing_key:
61
- specification_version: 2
62
+ specification_version: 3
62
63
  summary: A Ruby interface for getting system uptime information.
63
64
  test_files:
64
65
  - test/test_sys_uptime.rb