openssl-win-root 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: 28a74ebc86d3f2a2a44eecfb40cca8f0bd7a700d
4
- data.tar.gz: 351937f6cc76fcc20394acee2068065fca4b23e5
3
+ metadata.gz: 557b65800912a919b9cbfc19637f323c25d5a539
4
+ data.tar.gz: 4e8bc80b655cd690858088c35f0e37210356481f
5
5
  SHA512:
6
- metadata.gz: 876fdd2d0b6bc7e8a13221f39c6cde96594d69999192956ee022422df813edf55dbb93f32ce0fb1839779e40c83fd43f2641ff1a938cc31dea34dee1e0fbc12f
7
- data.tar.gz: 169f6af4c3c6eb678d6326d2ba0d8984d5cf3fe5f40d796fec66a06d008b1769f686144ef6134e3bcba81a95e5b1403715dd0ab4b407773530be2d512772039c
6
+ metadata.gz: 9ff739070361f73cf4874dd8363439f3dcaceb8635731c9d5196434b3512574af5577a36fc72c73959cda8b233ca3426e815b793539100fac7511ef56cb84c67
7
+ data.tar.gz: 15cf37c10f34989c82c11a82e533bf077e0dbea1a15032d3b37f6db2eb90bda7966177f0a4e892cd15bdb2eeac22d5c39c9a3ab6efd1967671d15202751ed2a0
@@ -1,7 +1,7 @@
1
1
  module OpenSSL
2
2
  module Win
3
3
  module Root
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openssl-win-root
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
  - Stas Ukolov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-01 00:00:00.000000000 Z
11
+ date: 2016-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -52,6 +52,34 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: appveyor-worker
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
55
83
  description: Fetch Root CA certificates from Windows system store
56
84
  email:
57
85
  - ukoloff@gmail.com
@@ -60,17 +88,11 @@ extensions:
60
88
  - ext/mkrf_conf.rb
61
89
  extra_rdoc_files: []
62
90
  files:
63
- - ".gitignore"
64
- - FarMenu.ini
65
91
  - Gemfile
66
- - LICENSE.txt
67
- - README.md
68
- - Rakefile
69
92
  - ext/Rakefile
70
93
  - ext/mkrf_conf.rb
71
94
  - lib/openssl/win/root.rb
72
95
  - lib/openssl/win/root/version.rb
73
- - openssl-win-root.gemspec
74
96
  homepage: https://github.com/ukoloff/openssl-win-root
75
97
  licenses:
76
98
  - MIT
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- pem
@@ -1,12 +0,0 @@
1
- I: Install dependencies
2
- bundle install
3
- --:
4
- B: Build gem
5
- bundle exec rake build
6
- L: Install gem locally
7
- bundle exec rake install
8
- U: Uninstall gem
9
- gem uninstall -a openssl-win-root
10
- --:
11
- C: Open console
12
- bundle console -new_console:c
@@ -1,22 +0,0 @@
1
- Copyright (c) 2015 Stas Ukolov
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md DELETED
@@ -1,67 +0,0 @@
1
- # OpenSSL::Win::Root
2
-
3
- [![Gem Version](https://badge.fury.io/rb/openssl-win-root.svg)](http://badge.fury.io/rb/openssl-win-root)
4
-
5
- Fetch Root CA certificates from Windows system store.
6
-
7
- ## Abstract
8
-
9
- Default installation of Ruby on Microsoft Windows provides no root certificates at all.
10
- Secure connections are simply impossible.
11
-
12
- Recommended fix is to load http://curl.haxx.se/ca/cacert.pem and set SSL_CERT_FILE environment variable.
13
-
14
- But Windows has its own certificate store. This gem just access it, fetch trusted root certificates
15
- and feed them to Ruby's OpenSSL.
16
-
17
- So, if you installed some certificates or your company certificate is installed by Group Policy,
18
- these certificates will be available to your Ruby program. In addition, no network access is required.
19
-
20
- Under other OSes this gem does nothing.
21
-
22
- ## Installation
23
-
24
- Add this line to your application's Gemfile:
25
-
26
- ```ruby
27
- gem 'openssl-win-root' if Gem.win_platform?
28
- ```
29
-
30
- And then execute:
31
-
32
- ```sh
33
- $ bundle
34
- ```
35
-
36
- Or install it yourself as:
37
-
38
- ```sh
39
- $ gem install openssl-win-root
40
- ```
41
-
42
- ## Usage
43
-
44
- Just `require 'openssl/win/root'`
45
-
46
- If your project uses `Bundler.require` (eg. Ruby on Rails) then just do nothing!
47
-
48
- To test whether SSL works (or not):
49
-
50
- ```ruby
51
- require 'net/http'
52
- Net::HTTP.get(URI 'https://ya.ru').length
53
- ```
54
-
55
- You can use fetched certificates in non-Ruby projects by setting
56
- environment variable `SSL_CERT_DIR` to result of `OpenSSL::Win::Root.path`
57
- or via `-CApath` argument of `openssl` command.
58
-
59
- ## See also
60
-
61
- * [Rufus::Lua::Win](https://github.com/ukoloff/rufus-lua-win)
62
-
63
- ## Credits
64
-
65
- * [Ruby](https://www.ruby-lang.org/)
66
- * [OpenSSL](https://www.openssl.org/)
67
- * [FFI](https://github.com/ffi/ffi)
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,27 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'openssl/win/root/version'
5
-
6
- Gem::Specification.new do |spec|
7
- spec.name = "openssl-win-root"
8
- spec.version = OpenSSL::Win::Root::VERSION
9
- spec.authors = ["Stas Ukolov"]
10
- spec.email = ["ukoloff@gmail.com"]
11
- spec.description = 'Fetch Root CA certificates from Windows system store'
12
- spec.summary = ''
13
- spec.homepage = "https://github.com/ukoloff/openssl-win-root"
14
- spec.license = "MIT"
15
-
16
- spec.files = `git ls-files`.split($/)
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
20
-
21
- spec.extensions = ['ext/mkrf_conf.rb']
22
-
23
- spec.add_dependency "ffi"
24
-
25
- spec.add_development_dependency "bundler", "~> 1.3"
26
- spec.add_development_dependency "rake"
27
- end