sys-uname 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6cf58c2b49c3653f0a2908bc9467e367ddf6dc7e
4
- data.tar.gz: 1219f16c56bea85b6a8bf089924d58e241ecf941
3
+ metadata.gz: 13d5ad4ac7bbb7de3d539ef79d0a7239a9b89a50
4
+ data.tar.gz: 9aab6b6cd25088f5dd2da8dad9bef57b61c5a198
5
5
  SHA512:
6
- metadata.gz: adf858a01bc6da65ce82bb826ff491128b783f62966c67c01daf1e9e3229d039704ccc90655f9a004dda86db137c2b402c66d7606ee3d9b63ae44939ddcc9007
7
- data.tar.gz: 94ce64befd69e63857943c17c672e1d36fdb7b38f387066a8f1e1138d1ef45446352a2bfbecc821f583b40073ef64272fdf0923cadc73a8c08b80d572e4f92fb
6
+ metadata.gz: a68baa33cd905fd994208ba9412f6abfa52d8fb6d1f1cbff3e7443e3871487e8fc89b0c1726ffc17465a3eb576a89505858461aeeca6f11b9f778d4782a59d50
7
+ data.tar.gz: ff4258653e851f58b7479b5180041ede87c21f74db0ba9225f7f5ddedafb22f4f2619330ae483b4d6cd73a1b7937b28a2ad9095c8430f1639a173033c27caeff
@@ -0,0 +1 @@
1
+ P&kY����2�����65���DࡸMHڜ�wa�Fǿdõt[㳍� m2s�qem�мTу��fb�����4D��  �x(�=mx .d���OvQԵ�;=�EYqN8��xM0QM��0���r��%�V��Y�[f�E����t�`ѐ�+å,#�E�ˢ��Fb.��7.%����=�3=�>��h�#�5��VX�������W�i�d����ɻ�*da<��q%�w��Ѻ��82�T�Ã��c)
Binary file
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.2 - 3-Sep-2015
2
+ * The gem is now signed.
3
+ * Modified gemspec and Rakefile to support signing.
4
+
1
5
  == 1.0.1 - 19-Aug-2015
2
6
  * Modified Platform::IMPL so that it does not include "32" as part of the
3
7
  symbol name. This isn't useful since it's the same on 32 or 64-bit Windows.
data/MANIFEST CHANGED
@@ -3,6 +3,7 @@
3
3
  * README
4
4
  * Rakefile
5
5
  * sys-uname.gemspec
6
+ * certs/djberg96_pub.pem
6
7
  * doc/uname.txt
7
8
  * examples/uname_test.rb
8
9
  * ext/extconf.rb
data/README CHANGED
@@ -8,9 +8,6 @@
8
8
  = Installation
9
9
  gem install sys-uname
10
10
 
11
- # If that doesn't work and you're on Windows try this:
12
- gem install sys-uname --platform universal-mingw32
13
-
14
11
  = Synopsis
15
12
  require 'sys/uname' # require 'sys-uname' works, too
16
13
 
@@ -21,7 +18,7 @@
21
18
 
22
19
  # Check individual platform details about your system
23
20
  p Sys::Platform.linux? # => true
24
- p Sys::Platform::ARCH # => :x86_46
21
+ p Sys::Platform::ARCH # => :x86_64
25
22
 
26
23
  = Solaris Notes
27
24
  Users on SunOS get several extra methods: architecture, platform,
data/Rakefile CHANGED
@@ -19,6 +19,7 @@ namespace :gem do
19
19
  task :create => [:clean] do
20
20
  require 'rubygems/package'
21
21
  spec = eval(IO.read('sys-uname.gemspec'))
22
+ spec.signing_key = File.join(Dir.home, '.ssh', 'gem-private_key.pem')
22
23
  Gem::Package.build(spec)
23
24
  end
24
25
 
@@ -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-----
@@ -1,7 +1,7 @@
1
1
  module Sys
2
2
  class Uname
3
3
  # The version of the sys-uname gem.
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
 
7
7
  class Platform
@@ -2,14 +2,15 @@ require 'rubygems'
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = 'sys-uname'
5
- spec.version = '1.0.1'
5
+ spec.version = '1.0.2'
6
6
  spec.author = 'Daniel J. Berger'
7
7
  spec.email = 'djberg96@gmail.com'
8
8
  spec.homepage = 'http://github.com/djberg96/sys-uname'
9
9
  spec.summary = 'An interface for returning uname (platform) information'
10
10
  spec.license = 'Artistic 2.0'
11
11
  spec.files = Dir['**/*'].reject{ |f| f.include?('git') }
12
- spec.test_files = FileList['test/test_sys_uname.rb', 'test/test_sys_platform.rb']
12
+ spec.test_files = Dir['test/test*.rb']
13
+ spec.cert_chain = ['certs/djberg96_pub.pem']
13
14
 
14
15
  spec.extra_rdoc_files = ['CHANGES', 'README', 'MANIFEST', 'doc/uname.txt']
15
16
 
@@ -14,7 +14,7 @@ class TC_Sys_Platform < Test::Unit::TestCase
14
14
  end
15
15
 
16
16
  test "the VERSION constant is set to the expected value" do
17
- assert_equal('1.0.1', Sys::Platform::VERSION)
17
+ assert_equal('1.0.2', Sys::Platform::VERSION)
18
18
  end
19
19
 
20
20
  test "the ARCH constant is defined" do
@@ -14,7 +14,7 @@ class TC_Sys_Uname < Test::Unit::TestCase
14
14
  end
15
15
 
16
16
  test "version constant is set to expected value" do
17
- assert_equal('1.0.1', Uname::VERSION)
17
+ assert_equal('1.0.2', Uname::VERSION)
18
18
  end
19
19
 
20
20
  test "machine singleton method works as expected" do
metadata CHANGED
@@ -1,24 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sys-uname
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
- cert_chain: []
11
- date: 2015-08-19 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDcDCCAligAwIBAgIBATANBgkqhkiG9w0BAQUFADA/MREwDwYDVQQD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v0M9LPWflzfwoZ/SpnmhagP+g05p8bRNKjZSA2iImM/GyYZ
30
+ EJYzxdPOrx2n6NYR3Hk+vHP0U7UBSveI6+qx+ndQYaeyCn+GRX2PKS9h66YF/Q1V
31
+ tGSHgAmcLlkdGgan182qsE/4kKM=
32
+ -----END CERTIFICATE-----
33
+ date: 2015-09-03 00:00:00.000000000 Z
12
34
  dependencies:
13
35
  - !ruby/object:Gem::Dependency
36
+ name: ffi
14
37
  requirement: !ruby/object:Gem::Requirement
15
38
  requirements:
16
39
  - - ">="
17
40
  - !ruby/object:Gem::Version
18
41
  version: 1.0.0
19
- name: ffi
20
- prerelease: false
21
42
  type: :runtime
43
+ prerelease: false
22
44
  version_requirements: !ruby/object:Gem::Requirement
23
45
  requirements:
24
46
  - - ">="
@@ -43,6 +65,7 @@ files:
43
65
  - MANIFEST
44
66
  - README
45
67
  - Rakefile
68
+ - certs/djberg96_pub.pem
46
69
  - doc/uname.txt
47
70
  - examples/uname_test.rb
48
71
  - lib/sys-uname.rb
@@ -57,7 +80,7 @@ homepage: http://github.com/djberg96/sys-uname
57
80
  licenses:
58
81
  - Artistic 2.0
59
82
  metadata: {}
60
- post_install_message:
83
+ post_install_message:
61
84
  rdoc_options: []
62
85
  require_paths:
63
86
  - lib
@@ -72,11 +95,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
72
95
  - !ruby/object:Gem::Version
73
96
  version: '0'
74
97
  requirements: []
75
- rubyforge_project:
76
- rubygems_version: 2.4.8
77
- signing_key:
98
+ rubyforge_project:
99
+ rubygems_version: 2.4.5
100
+ signing_key:
78
101
  specification_version: 4
79
102
  summary: An interface for returning uname (platform) information
80
103
  test_files:
81
- - test/test_sys_uname.rb
82
104
  - test/test_sys_platform.rb
105
+ - test/test_sys_uname.rb
Binary file