rails_dev_ssl 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5eb40c157ca04088a45415622603010c48f8b41f0b2a4d9211f1b70c43b4a466
4
- data.tar.gz: 4551e5a7ebe4f1fe7131d66ef45eacb7cb8a0c85f352ceaf0b3e5d3555d1b748
3
+ metadata.gz: e8f23c5e87f505feda5fa5e62489dd2ee4d71e9d982f6275300a35fc89cc9a29
4
+ data.tar.gz: 995aaec226c2946a944e29a34005b113cde65a55efb2b08bfc227692a6e896be
5
5
  SHA512:
6
- metadata.gz: 061e7139a0fd905fbbc2b99ab65960daec2f7878cc42ae39e128ef205eae1ad80b25c9ff3059ca0d868196dc7bee3c9376804d3f5f729854df56832d67cc381a
7
- data.tar.gz: 14228965a9b498f884816934dab64bc53c2e6a4b78c0c864b7b76499dd9f6ebddb26f1e3546425c10d264d6f529a115dacac6adacb3e50664d49928ec7ba2ed3
6
+ metadata.gz: cc2c6173abb68d5f36e36690ef9dae27304d772b5717db9d84248c0c714f3e5293a366b47e0760589faa8d3b244c4a01b2aa7c952d53cc7786ba974f0864ace0
7
+ data.tar.gz: 29e612c9ff62fd23e353d86c38fdce3dd51e22eca0e47a603edcddd9b28170520cfdef07ca1cf2b72bcd33456372ac8111b8f1a7cb6d68e8e3a1c2e1681aaf3d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_dev_ssl (0.1.0)
4
+ rails_dev_ssl (0.1.1)
5
5
  thor (~> 0.20.3)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RailsDevSsl
2
2
 
3
- `rails-dev-ssl` is a command line utility that takes some of the work out of generating the SSL certificates for local development.
3
+ `rails_dev_ssl` is a command line utility that takes some of the work out of generating the SSL certificates for local development.
4
4
 
5
5
  This utility will help you set up your development machine to serve your Rails API over HTTPS.
6
6
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsDevSsl
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
data/lib/rails_dev_ssl.rb CHANGED
@@ -32,6 +32,7 @@ module RailsDevSsl
32
32
  def generate_certificates
33
33
  raise "Directory (#{dir}) doesn't exist" unless Dir.exist?(dir)
34
34
 
35
+ generate_config unless File.exist?(File.join(dir, 'server.csr.cnf'))
35
36
  begin
36
37
  temp_file = password_file
37
38
  safe_path = Shellwords.escape(temp_file.path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_dev_ssl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan