sys-uptime 0.6.2-x86-mingw32 → 0.7.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- YTU1YjMyYWRjMjIwYmI2MjM1ZGY0ZDMwZTliOGNiZGY3ZThmYzBkMQ==
5
- data.tar.gz: !binary |-
6
- M2Q2ZWU5MGQ5MmEwODg0MWNiYTJjZDcyYmQxZGRhMmJhMGExOTI2MQ==
2
+ SHA1:
3
+ metadata.gz: 8bd8db7364c4029f77d5562915b87ea475f85eb5
4
+ data.tar.gz: a3c51004bd919520d6ce05bc0a55f84aee2bc487
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MzVlZTBjMmJmNjI4MDcwNTA0NWZjZGUxMWIxZDRhZGIxNWNmYzgyODAxNDM2
10
- ZDEzMDI1NGRjMDU1NmYzZTc2MGIzNTM5Yzg2Yjk2NzI1NWNmNTgxOTQ2NWJk
11
- OTg1NmUzNDFiOGMzOGRhNDkxOWVlNWE2MGYyNzc5NzM0OTExYjk=
12
- data.tar.gz: !binary |-
13
- ZjBhMzMyZGUxN2I4OGZlMWZhNDg1NTMxM2IzMGE2Njk0M2Q3MjY2OGRlMGZi
14
- Y2MzMGMxMzk4YWM4NWJkNjM0M2JlZjZkOGZmMmFjNGQwNzY4M2M4YWEwZmVm
15
- Y2ZlZjY5NTE4YTk2ZWFmNzA2ZDhkYThiYTE1NWVmMTQ3ZThhYjE=
6
+ metadata.gz: fcfd087ad13db7096956429dcdb1a597375ec5b03ec7c81f8bc64543e3b7546ee78b58043c12bdd0bae6cbfe0aa5f5ec791e335e1fdec6b680348f101c4d071b
7
+ data.tar.gz: 9ab1407ea85abf1ba85aff527324d23d77684fa150c1a436ac42b0050308f3f4721a8652b6479033a351ecc73879f6d5e09b00f1c9fbb1aab808d494892d7921
checksums.yaml.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
- * doc/uptime.txt
6
+ * certs/djberg96_pub.pem
8
7
  * examples/test.rb
9
- * ext/extconf.rb
10
- * ext/sys/uptime.c
11
- * lib/sys/linux.rb
12
- * lib/sys/windows.rb
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
- Artistic 2.0
43
+ Apache 2.0
44
44
 
45
45
  == Copyright
46
- Copyright 2002-2014, Daniel J. Berger
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
- if Gem::VERSION < "2.0"
23
- Gem::Builder.new(spec).build
24
- else
25
- require 'rubygems/package'
26
- Gem::Package.build(spec)
27
- end
24
+ Gem::Package.build(spec)
28
25
  end
29
26
 
30
27
  desc 'Install the sys-uptime gem'
@@ -0,0 +1,21 @@
1
+ -----BEGIN CERTIFICATE-----
2
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
3
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
4
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
5
+ ZXJnOTYxFTATBgoJkiaJk/IsZAEZFgVnbWFpbDETMBEGCgmSJomT8ixkARkWA2Nv
6
+ bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyTkvXqRp6hLs9eoJOS
7
+ Hmi8kRYbq9Vkf15/hMxJpotYMgJVHHWrmDcC5Dye2PbnXjTkKf266Zw0PtT9h+lI
8
+ S3ts9HO+vaCFSMwFFZmnWJSpQ3CNw2RcHxjWkk9yF7imEM8Kz9ojhiDXzBetdV6M
9
+ gr0lV/alUr7TNVBDngbXEfTWscyXh1qd7xZ4EcOdsDktCe5G45N/o3662tPQvJsi
10
+ FOF0CM/KuBsa/HL1/eoEmF4B3EKIRfTHrQ3hu20Kv3RJ88QM4ec2+0dd97uX693O
11
+ zv6981fyEg+aXLkxrkViM/tz2qR2ZE0jPhHTREPYeMEgptRkTmWSKAuLVWrJEfgl
12
+ DtkCAwEAAaN3MHUwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFEwe
13
+ nn6bfJADmuIDiMSOzedOrL+xMB0GA1UdEQQWMBSBEmRqYmVyZzk2QGdtYWlsLmNv
14
+ bTAdBgNVHRIEFjAUgRJkamJlcmc5NkBnbWFpbC5jb20wDQYJKoZIhvcNAQEFBQAD
15
+ ggEBAHmNOCWoDVD75zHFueY0viwGDVP1BNGFC+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
@@ -0,0 +1,5 @@
1
+ if File::ALT_SEPARATOR
2
+ require_relative 'windows/sys/uptime'
3
+ else
4
+ require_relative 'unix/sys/uptime'
5
+ end
@@ -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.2'
16
+ VERSION = '0.7.0'
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.2'
17
+ VERSION = '0.7.0'
18
18
 
19
19
  # Returns the boot time as a Time object.
20
20
  #
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 = 'sys-uptime'
5
- spec.version = '0.6.2'
6
- spec.author = 'Daniel J. Berger'
7
- spec.license = 'Artistic 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') }
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
 
@@ -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.2', Uptime::VERSION)
14
+ assert_equal('0.7.0', Uptime::VERSION)
15
15
  end
16
16
 
17
17
  test "seconds method basic functionality" do
data.tar.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ ~)�(�������'Ƽ
2
+ `A�*�����D�5ᗶ��]�l[��7'��;�S��e�K
3
+ ��W3�JP$.�1&��*�� j���S���CD�.���}���������Q�
metadata CHANGED
@@ -1,18 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-uptime
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.7.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Daniel J. Berger
8
8
  autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2014-11-09 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQDDAhkamJl
14
+ cmc5NjEVMBMGCgmSJomT8ixkARkWBWdtYWlsMRMwEQYKCZImiZPyLGQBGRYDY29t
15
+ MB4XDTE1MDkwMjIwNDkxOFoXDTE2MDkwMTIwNDkxOFowPzERMA8GA1UEAwwIZGpi
16
+ Z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
+ -----END CERTIFICATE-----
33
+ date: 2015-10-03 00:00:00.000000000 Z
12
34
  dependencies: []
13
- description: ! " The sys-uptime library is a simple interface for gathering uptime\n
14
- \ information. You can retrieve data in seconds, minutes, days, hours,\n or
15
- all of the above.\n"
35
+ description: |2
36
+ The sys-uptime library is a simple interface for gathering uptime
37
+ information. You can retrieve data in seconds, minutes, days, hours,
38
+ or all of the above.
16
39
  email: djberg96@gmail.com
17
40
  executables: []
18
41
  extensions: []
@@ -25,14 +48,16 @@ files:
25
48
  - MANIFEST
26
49
  - README
27
50
  - Rakefile
51
+ - certs/djberg96_pub.pem
28
52
  - examples/uptime_test.rb
53
+ - lib/sys-uptime.rb
29
54
  - lib/unix/sys/uptime.rb
30
55
  - lib/windows/sys/uptime.rb
31
56
  - sys-uptime.gemspec
32
57
  - test/test_sys_uptime.rb
33
58
  homepage: https://github.com/djberg96/sys-uptime
34
59
  licenses:
35
- - Artistic 2.0
60
+ - Apache 2.0
36
61
  metadata: {}
37
62
  post_install_message:
38
63
  rdoc_options: []
@@ -41,17 +66,17 @@ require_paths:
41
66
  - lib/windows
42
67
  required_ruby_version: !ruby/object:Gem::Requirement
43
68
  requirements:
44
- - - ! '>='
69
+ - - ">="
45
70
  - !ruby/object:Gem::Version
46
71
  version: '0'
47
72
  required_rubygems_version: !ruby/object:Gem::Requirement
48
73
  requirements:
49
- - - ! '>='
74
+ - - ">="
50
75
  - !ruby/object:Gem::Version
51
76
  version: '0'
52
77
  requirements: []
53
78
  rubyforge_project:
54
- rubygems_version: 2.4.2
79
+ rubygems_version: 2.4.8
55
80
  signing_key:
56
81
  specification_version: 4
57
82
  summary: A Ruby interface for getting system uptime information.
metadata.gz.sig ADDED
Binary file