sys-uptime 0.6.2 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +2 -0
- data.tar.gz.sig +0 -0
- data/CHANGES +6 -0
- data/MANIFEST +5 -7
- data/README +2 -2
- data/Rakefile +3 -6
- data/certs/djberg96_pub.pem +21 -0
- data/lib/sys-uptime.rb +5 -0
- data/lib/unix/sys/uptime.rb +1 -1
- data/lib/windows/sys/uptime.rb +1 -1
- data/sys-uptime.gemspec +10 -9
- data/test/test_sys_uptime.rb +1 -1
- metadata +29 -5
- metadata.gz.sig +2 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb2b350ac33649154689cab59e6a6be3990bb88
|
4
|
+
data.tar.gz: d0b9d228376f30f6cf204f52f9af9902374cb018
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab51211b12dd86d2a3ed46e4885279685154af70a89ee16824a05aee644053c27f6e1062a43df177c0fa71c4bc21f6877add34e42000b4e77518fa9570b05ff3
|
7
|
+
data.tar.gz: 77bcdef1132f60190e5f0eb6a64a0ea3b8c3cd48c35f488afd989bbcb02f4be60d9b797e0c8cf77c04a0adf6ba4d3419b2652c15acfd369fb111daac05f1675f
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/CHANGES
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== 0.7.0 - 3-Oct-2015
|
2
|
+
* Changed license to Apache 2.0.
|
3
|
+
* Added a cert. This gem is now signed.
|
4
|
+
* Added a sys-uptime.rb file for convenience.
|
5
|
+
* Gem related tasks in the Rakefile now assume Rubygems 2.x.
|
6
|
+
|
1
7
|
== 0.6.2 - 8-Nov-2014
|
2
8
|
* Minor updates to gemspec and Rakefile.
|
3
9
|
|
data/MANIFEST
CHANGED
@@ -2,12 +2,10 @@
|
|
2
2
|
* MANIFEST
|
3
3
|
* Rakefile
|
4
4
|
* README
|
5
|
-
* install.rb
|
6
5
|
* sys-uptime.gemspec
|
7
|
-
*
|
6
|
+
* certs/djberg96_pub.pem
|
8
7
|
* examples/test.rb
|
9
|
-
*
|
10
|
-
*
|
11
|
-
* lib/sys/
|
12
|
-
*
|
13
|
-
* test/test_sys_uptime.rb
|
8
|
+
* lib/sys-uptime.rb
|
9
|
+
* lib/unix/sys/uptime.rb
|
10
|
+
* lib/windows/sys/uptime.rb
|
11
|
+
* test/test_sys_uptime.rb
|
data/README
CHANGED
@@ -40,10 +40,10 @@
|
|
40
40
|
"Doesn't Struct::Tms do this?" - No.
|
41
41
|
|
42
42
|
== License
|
43
|
-
|
43
|
+
Apache 2.0
|
44
44
|
|
45
45
|
== Copyright
|
46
|
-
Copyright 2002-
|
46
|
+
Copyright 2002-2015, 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
@@ -7,7 +7,9 @@ CLEAN.include("**/*.gem", "**/*.rbx", "**/*.rbc")
|
|
7
7
|
namespace 'gem' do
|
8
8
|
desc 'Build the sys-uptime gem'
|
9
9
|
task :create => [:clean] do
|
10
|
+
require 'rubygems/package'
|
10
11
|
spec = eval(IO.read('sys-uptime.gemspec'))
|
12
|
+
spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
|
11
13
|
|
12
14
|
if File::ALT_SEPARATOR
|
13
15
|
spec.require_paths = ['lib', 'lib/windows']
|
@@ -19,12 +21,7 @@ namespace 'gem' do
|
|
19
21
|
spec.add_dependency('ffi', '>= 1.0.0')
|
20
22
|
end
|
21
23
|
|
22
|
-
|
23
|
-
Gem::Builder.new(spec).build
|
24
|
-
else
|
25
|
-
require 'rubygems/package'
|
26
|
-
Gem::Package.build(spec)
|
27
|
-
end
|
24
|
+
G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HmNOCWoDVD75zHFueY0viwGDVP1BNGFC+yXcb7u2GlK+nEMCORqzURbYPf7
|
16
|
+
tL+/hzmePIRz7i30UM//64GI1NLv9jl7nIwjhPpXpf7/lu2I9hOTsvwSumb5UiKC
|
17
|
+
/sqBxI3sfj9pr79Wpv4MuikX1XPik7Ncb7NPsJPw06Lvyc3Hkg5X2XpPtLtS+Gr2
|
18
|
+
wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
|
19
|
+
EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
|
20
|
+
tGSHgAmcLlkdGgan182qsE/4kKM=
|
21
|
+
-----END CERTIFICATE-----
|
data/lib/sys-uptime.rb
ADDED
data/lib/unix/sys/uptime.rb
CHANGED
data/lib/windows/sys/uptime.rb
CHANGED
data/sys-uptime.gemspec
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
|
-
spec.name
|
5
|
-
spec.version
|
6
|
-
spec.author
|
7
|
-
spec.license
|
8
|
-
spec.email
|
9
|
-
spec.homepage
|
10
|
-
spec.summary
|
11
|
-
spec.test_file
|
12
|
-
spec.files
|
4
|
+
spec.name = 'sys-uptime'
|
5
|
+
spec.version = '0.7.0'
|
6
|
+
spec.author = 'Daniel J. Berger'
|
7
|
+
spec.license = 'Apache 2.0'
|
8
|
+
spec.email = 'djberg96@gmail.com'
|
9
|
+
spec.homepage = 'https://github.com/djberg96/sys-uptime'
|
10
|
+
spec.summary = 'A Ruby interface for getting system uptime information.'
|
11
|
+
spec.test_file = 'test/test_sys_uptime.rb'
|
12
|
+
spec.files = Dir["**/*"].reject{ |f| f.include?('git') }
|
13
|
+
spec.cert_chain = ['certs/djberg96_pub.pem']
|
13
14
|
|
14
15
|
spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST']
|
15
16
|
|
data/test/test_sys_uptime.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sys-uptime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel J. Berger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
|
10
|
+
cert_chain:
|
11
|
+
- |
|
12
|
+
-----BEGIN CERTIFICATE-----
|
13
|
+
MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
|
14
|
+
cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
|
15
|
+
MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
|
16
|
+
ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
|
17
|
+
bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
|
18
|
+
Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
|
19
|
+
S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
|
20
|
+
gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
|
21
|
+
FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
|
22
|
+
zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl
|
23
|
+
DtkCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEwe
|
24
|
+
nn6bfJADmuIDiMSOzedOrL+xMB0GA1UdEQQWMBSBEmRqYmVyZzk2QGdtYWlsLmNv
|
25
|
+
bTAdBgNVHRIEFjAUgRJkamJlcmc5NkBnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
|
26
|
+
ggEBAHmNOCWoDVD75zHFueY0viwGDVP1BNGFC+yXcb7u2GlK+nEMCORqzURbYPf7
|
27
|
+
tL+/hzmePIRz7i30UM//64GI1NLv9jl7nIwjhPpXpf7/lu2I9hOTsvwSumb5UiKC
|
28
|
+
/sqBxI3sfj9pr79Wpv4MuikX1XPik7Ncb7NPsJPw06Lvyc3Hkg5X2XpPtLtS+Gr2
|
29
|
+
wKJnmzb5rIPS1cmsqv0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
|
30
|
+
EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
|
31
|
+
tGSHgAmcLlkdGgan182qsE/4kKM=
|
32
|
+
-----END CERTIFICATE-----
|
33
|
+
date: 2015-10-03 00:00:00.000000000 Z
|
12
34
|
dependencies:
|
13
35
|
- !ruby/object:Gem::Dependency
|
14
36
|
name: ffi
|
@@ -40,14 +62,16 @@ files:
|
|
40
62
|
- MANIFEST
|
41
63
|
- README
|
42
64
|
- Rakefile
|
65
|
+
- certs/djberg96_pub.pem
|
43
66
|
- examples/uptime_test.rb
|
67
|
+
- lib/sys-uptime.rb
|
44
68
|
- lib/unix/sys/uptime.rb
|
45
69
|
- lib/windows/sys/uptime.rb
|
46
70
|
- sys-uptime.gemspec
|
47
71
|
- test/test_sys_uptime.rb
|
48
72
|
homepage: https://github.com/djberg96/sys-uptime
|
49
73
|
licenses:
|
50
|
-
-
|
74
|
+
- Apache 2.0
|
51
75
|
metadata: {}
|
52
76
|
post_install_message:
|
53
77
|
rdoc_options: []
|
@@ -66,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
90
|
version: '0'
|
67
91
|
requirements: []
|
68
92
|
rubyforge_project:
|
69
|
-
rubygems_version: 2.
|
93
|
+
rubygems_version: 2.4.5
|
70
94
|
signing_key:
|
71
95
|
specification_version: 4
|
72
96
|
summary: A Ruby interface for getting system uptime information.
|
metadata.gz.sig
ADDED