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 +15 -0
- data/CHANGES +3 -0
- data/README +1 -1
- data/Rakefile +7 -2
- data/lib/unix/sys/uptime.rb +1 -1
- data/lib/windows/sys/uptime.rb +1 -1
- data/sys-uptime.gemspec +1 -2
- data/test/test_sys_uptime.rb +1 -1
- metadata +9 -11
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
data/README
CHANGED
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::
|
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
|
|
data/lib/unix/sys/uptime.rb
CHANGED
data/lib/windows/sys/uptime.rb
CHANGED
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.
|
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
|
data/test/test_sys_uptime.rb
CHANGED
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.
|
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:
|
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:
|
56
|
-
rubygems_version:
|
53
|
+
rubyforge_project:
|
54
|
+
rubygems_version: 2.4.2
|
57
55
|
signing_key:
|
58
|
-
specification_version:
|
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
|