sys-uptime 0.6.1-x86-mingw32 → 0.6.2-x86-mingw32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ YTU1YjMyYWRjMjIwYmI2MjM1ZGY0ZDMwZTliOGNiZGY3ZThmYzBkMQ==
5
+ data.tar.gz: !binary |-
6
+ M2Q2ZWU5MGQ5MmEwODg0MWNiYTJjZDcyYmQxZGRhMmJhMGExOTI2MQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ MzVlZTBjMmJmNjI4MDcwNTA0NWZjZGUxMWIxZDRhZGIxNWNmYzgyODAxNDM2
10
+ ZDEzMDI1NGRjMDU1NmYzZTc2MGIzNTM5Yzg2Yjk2NzI1NWNmNTgxOTQ2NWJk
11
+ OTg1NmUzNDFiOGMzOGRhNDkxOWVlNWE2MGYyNzc5NzM0OTExYjk=
12
+ data.tar.gz: !binary |-
13
+ ZjBhMzMyZGUxN2I4OGZlMWZhNDg1NTMxM2IzMGE2Njk0M2Q3MjY2OGRlMGZi
14
+ Y2MzMGMxMzk4YWM4NWJkNjM0M2JlZjZkOGZmMmFjNGQwNzY4M2M4YWEwZmVm
15
+ Y2ZlZjY5NTE4YTk2ZWFmNzA2ZDhkYThiYTE1NWVmMTQ3ZThhYjE=
data/CHANGES CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.6.2 - 8-Nov-2014
2
+ * Minor updates to gemspec and Rakefile.
3
+
1
4
  == 0.6.1 - 22-Oct-2012
2
5
  * Refactored a private method in the MS Windows source.
3
6
  * Minor fix for one private method test.
data/README CHANGED
@@ -43,7 +43,7 @@
43
43
  Artistic 2.0
44
44
 
45
45
  == Copyright
46
- Copyright 2002-2011, Daniel J. Berger
46
+ Copyright 2002-2014, Daniel J. Berger
47
47
 
48
48
  All Rights Reserved. This module is free software. It may be used,
49
49
  redistributed and/or modified under the same terms as Ruby itself.
data/Rakefile CHANGED
@@ -19,13 +19,18 @@ namespace 'gem' do
19
19
  spec.add_dependency('ffi', '>= 1.0.0')
20
20
  end
21
21
 
22
- Gem::Builder.new(spec).build
22
+ if Gem::VERSION < "2.0"
23
+ Gem::Builder.new(spec).build
24
+ else
25
+ require 'rubygems/package'
26
+ Gem::Package.build(spec)
27
+ end
23
28
  end
24
29
 
25
30
  desc 'Install the sys-uptime gem'
26
31
  task :install => [:create] do
27
32
  file = Dir["*.gem"].first
28
- sh "gem install #{file}"
33
+ sh "gem install -l #{file}"
29
34
  end
30
35
  end
31
36
 
@@ -13,7 +13,7 @@ module Sys
13
13
  class Error < StandardError; end
14
14
 
15
15
  # The version of the sys-uptime library
16
- VERSION = '0.6.1'
16
+ VERSION = '0.6.2'
17
17
 
18
18
  private
19
19
 
@@ -14,7 +14,7 @@ module Sys
14
14
  class Error < StandardError; end
15
15
 
16
16
  # The version of the sys-uptime library.
17
- VERSION = '0.6.1'
17
+ VERSION = '0.6.2'
18
18
 
19
19
  # Returns the boot time as a Time object.
20
20
  #
data/sys-uptime.gemspec CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'sys-uptime'
5
- spec.version = '0.6.1'
5
+ spec.version = '0.6.2'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.license = 'Artistic 2.0'
8
8
  spec.email = 'djberg96@gmail.com'
@@ -12,7 +12,6 @@ Gem::Specification.new do |spec|
12
12
  spec.files = Dir["**/*"].reject{ |f| f.include?('git') }
13
13
 
14
14
  spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
15
- spec.rubyforge_project = 'sysutils'
16
15
 
17
16
  spec.description = <<-EOF
18
17
  The sys-uptime library is a simple interface for gathering uptime
@@ -11,7 +11,7 @@ include Sys
11
11
 
12
12
  class TC_Sys_Uptime < Test::Unit::TestCase
13
13
  test "version is set to expected value" do
14
- assert_equal('0.6.1', Uptime::VERSION)
14
+ assert_equal('0.6.2', Uptime::VERSION)
15
15
  end
16
16
 
17
17
  test "seconds method basic functionality" do
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-uptime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
5
- prerelease:
4
+ version: 0.6.2
6
5
  platform: x86-mingw32
7
6
  authors:
8
7
  - Daniel J. Berger
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-10-22 00:00:00.000000000 Z
11
+ date: 2014-11-09 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: ! " The sys-uptime library is a simple interface for gathering uptime\n
15
14
  \ information. You can retrieve data in seconds, minutes, days, hours,\n or
@@ -23,39 +22,38 @@ extra_rdoc_files:
23
22
  - MANIFEST
24
23
  files:
25
24
  - CHANGES
25
+ - MANIFEST
26
+ - README
27
+ - Rakefile
26
28
  - examples/uptime_test.rb
27
29
  - lib/unix/sys/uptime.rb
28
30
  - lib/windows/sys/uptime.rb
29
- - MANIFEST
30
- - Rakefile
31
- - README
32
31
  - sys-uptime.gemspec
33
32
  - test/test_sys_uptime.rb
34
33
  homepage: https://github.com/djberg96/sys-uptime
35
34
  licenses:
36
35
  - Artistic 2.0
36
+ metadata: {}
37
37
  post_install_message:
38
38
  rdoc_options: []
39
39
  require_paths:
40
40
  - lib
41
41
  - lib/windows
42
42
  required_ruby_version: !ruby/object:Gem::Requirement
43
- none: false
44
43
  requirements:
45
44
  - - ! '>='
46
45
  - !ruby/object:Gem::Version
47
46
  version: '0'
48
47
  required_rubygems_version: !ruby/object:Gem::Requirement
49
- none: false
50
48
  requirements:
51
49
  - - ! '>='
52
50
  - !ruby/object:Gem::Version
53
51
  version: '0'
54
52
  requirements: []
55
- rubyforge_project: sysutils
56
- rubygems_version: 1.8.24
53
+ rubyforge_project:
54
+ rubygems_version: 2.4.2
57
55
  signing_key:
58
- specification_version: 3
56
+ specification_version: 4
59
57
  summary: A Ruby interface for getting system uptime information.
60
58
  test_files:
61
59
  - test/test_sys_uptime.rb