rails_dev_ssl 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +2 -0
- data/lib/rails_dev_ssl.rb +1 -1
- data/lib/rails_dev_ssl/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4353f4cebe027a05e205749a7f4d1032fc7ff5244418e1cdfa9c2335f9996995
|
4
|
+
data.tar.gz: ef9a71fee1a08d81f07d22bdc2a8a9d89dca8cb8c78e85701a49d2c41460afd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1034df07109d4ae9895d50b74c88e77db05bbed9ce636593be6e5cada00e57a3a3418bd73f29997aaa64cb1c096cb72ac9d5464eb95ad6c9c2431a8ef932f360
|
7
|
+
data.tar.gz: c54c1cdb3f2149a1eaccaa7ada5bf369c4e4a23f55f2bd6e2f94e34b07d4557e4b602748bdd2ecffa44040c70df2624540a7768460a98a670a7af357cfea7cae
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -49,6 +49,8 @@ You can change the certificate directory using `setup <directory>`, for example,
|
|
49
49
|
|
50
50
|
You can generate the `server.crt.cnf` file using the `generate_config` command.
|
51
51
|
|
52
|
+
You may want to add this directory to your project's `.gitignore` file.
|
53
|
+
|
52
54
|
#### Browser warnings
|
53
55
|
|
54
56
|
When you use your first self-signed certificate, your browser will warn you about an untrusted certificate authority. You'll need to trust the rootCA you created for your project.
|
data/lib/rails_dev_ssl.rb
CHANGED
@@ -24,7 +24,7 @@ module RailsDevSsl
|
|
24
24
|
def display_certificate
|
25
25
|
raise 'Certificate missing. Have you generated the certificate already?' unless File.exist?(File.join(dir, 'server.crt'))
|
26
26
|
|
27
|
-
`openssl x509 -text -in #{File.join(dir, 'server.crt')} -noout`
|
27
|
+
puts `openssl x509 -text -in #{File.join(dir, 'server.crt')} -noout`
|
28
28
|
end
|
29
29
|
|
30
30
|
desc 'generate_certificates', 'generate SSL certificates'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_dev_ssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bart Agapinan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|