sys-uptime 0.6.1 → 0.6.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 402ba267eb34c60b8745561aaf1f3d9c98a287c2
4
+ data.tar.gz: 7a07fa972b3a900fc89d226c64c85e03b67c7eeb
5
+ SHA512:
6
+ metadata.gz: b1b9dab33ef4b67ee99115eb999239d28cad573bb5a84898307b1f2ff0a0d100c37e35d6ff7a4cd76386d5e89ba72fb1918a688de37a6633774d5d68584ff1a3
7
+ data.tar.gz: 070734e09612a40f18a317a71978c03831f612b6e393ccb2706d831bd8dada52dc763d0f5d9b05f3088152c8d950352f3e57e575ee6e3f2d687d95bb4daff895
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
  #
@@ -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,35 +1,33 @@
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: ruby
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
  - !ruby/object:Gem::Dependency
15
14
  name: ffi
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: 1.0.0
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: 1.0.0
30
- description: ! " The sys-uptime library is a simple interface for gathering uptime\n
31
- \ information. You can retrieve data in seconds, minutes, days, hours,\n or
32
- all of the above.\n"
27
+ description: |2
28
+ The sys-uptime library is a simple interface for gathering uptime
29
+ information. You can retrieve data in seconds, minutes, days, hours,
30
+ or all of the above.
33
31
  email: djberg96@gmail.com
34
32
  executables: []
35
33
  extensions: []
@@ -39,39 +37,38 @@ extra_rdoc_files:
39
37
  - MANIFEST
40
38
  files:
41
39
  - CHANGES
40
+ - MANIFEST
41
+ - README
42
+ - Rakefile
42
43
  - examples/uptime_test.rb
43
44
  - lib/unix/sys/uptime.rb
44
45
  - lib/windows/sys/uptime.rb
45
- - MANIFEST
46
- - Rakefile
47
- - README
48
46
  - sys-uptime.gemspec
49
47
  - test/test_sys_uptime.rb
50
48
  homepage: https://github.com/djberg96/sys-uptime
51
49
  licenses:
52
50
  - Artistic 2.0
51
+ metadata: {}
53
52
  post_install_message:
54
53
  rdoc_options: []
55
54
  require_paths:
56
55
  - lib
57
56
  - lib/unix
58
57
  required_ruby_version: !ruby/object:Gem::Requirement
59
- none: false
60
58
  requirements:
61
- - - ! '>='
59
+ - - ">="
62
60
  - !ruby/object:Gem::Version
63
61
  version: '0'
64
62
  required_rubygems_version: !ruby/object:Gem::Requirement
65
- none: false
66
63
  requirements:
67
- - - ! '>='
64
+ - - ">="
68
65
  - !ruby/object:Gem::Version
69
66
  version: '0'
70
67
  requirements: []
71
- rubyforge_project: sysutils
72
- rubygems_version: 1.8.24
68
+ rubyforge_project:
69
+ rubygems_version: 2.2.2
73
70
  signing_key:
74
- specification_version: 3
71
+ specification_version: 4
75
72
  summary: A Ruby interface for getting system uptime information.
76
73
  test_files:
77
74
  - test/test_sys_uptime.rb