shared-infrastructure 2.1.1 → 2.1.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: 396af2f037bb1e6c535c61ce6ed31b885194ab3b
4
- data.tar.gz: c6faa7f3546b7112e613ac5dffa850b286e442d1
3
+ metadata.gz: 8fdb173061a61d20c306a9f619e3852e631e3055
4
+ data.tar.gz: e5d655391f2c7ae07b3e9bcb9a2aef86322e7572
5
5
  SHA512:
6
- metadata.gz: 673d27807dfad60aabdb58fd28a64905add3456dbe798d07c746cb6e12ba341ae0ff0d7f500c16b2e2fdda5833ad6cd6c4b154f1f7efc6b0bbd9e6d5946ab849
7
- data.tar.gz: 009c3e92586f88b1302124d691a70564e4fb34a2d1c90294743918a96b70db5aae00b0c6dffd31b2c063d0691589d228a032b932a602a62067bc5141d485aaae
6
+ metadata.gz: ca2273b74fbf62b0e60238b81bea8d30c18c160c67caa8852c4ab8d8df6d044cd492a745b591ca51534c8b7010020835db507fe3c36f31145e8048bd43f239ef
7
+ data.tar.gz: 4e33c111e18955dae7ac44ce520dea881cc5fd4429eaf7025126a05a1627b55bf9302343681137d0ec4a2bc028eaff0b3f87cee11e99ecc6c37272713d502176
@@ -9,7 +9,8 @@ module Nginx
9
9
  def save
10
10
  pem_file = "#{Nginx.certificate_directory(certificate_domain)}/dhparam.pem"
11
11
  FileUtils.mkdir_p File.dirname(pem_file)
12
- `openssl dhparam #{Nginx.dhparam} -out #{pem_file}`
12
+ puts "openssl dhparam -out #{pem_file} #{Nginx.dhparam}" if Runner.debug
13
+ `openssl dhparam -out #{pem_file} #{Nginx.dhparam}`
13
14
  super
14
15
  end
15
16
  end
@@ -207,6 +208,12 @@ Finally, re-run this script to configure nginx for TLS.
207
208
  rails_env: rails_env
208
209
  )
209
210
  end
211
+
212
+ def save
213
+ result = super
214
+ https_reminder_message
215
+ result
216
+ end
210
217
  end
211
218
 
212
219
  class RailsHttps < Rails
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SharedInfrastructure
4
- VERSION = "2.1.1"
4
+ VERSION = "2.1.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shared-infrastructure
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Larry Reid
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-11 00:00:00.000000000 Z
11
+ date: 2019-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chandler