thin 1.7.1 → 1.7.2

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
  SHA1:
3
- metadata.gz: 31c955b827052e1932230bf04e3818d77ea20a06
4
- data.tar.gz: 4f21bb96c7a098ea400d5d788b900912e78e2231
3
+ metadata.gz: 0fa3bb6c0e72bd556f753f98c9062141af5545d1
4
+ data.tar.gz: df537840830957ae49f4d593edd758f7b20d9345
5
5
  SHA512:
6
- metadata.gz: 4eb0b26d8523233a49ae1f68c63f765173f8f96d73066a53574aab352e1ccc9b89e4949399fd3e45bab13de08587232c05f7e91565b7ab9ac8fa4ca9f43d98fd
7
- data.tar.gz: cd0fe1693ed40ec399ca882ca33fecf7c7c14b4925ad462be7df16db89db380f03657e2dec026b0fd2bd0f9eaea8e7e4c7fc1e3484249ff1f43ca28100936030
6
+ metadata.gz: 71ddfce0db498c3280178154922e3d48f1ff111f3071a6ca35735e7b4bfda942f39d704143af71705ee503be9c15e8d73261b18e6df3a2f84e9f489e03839a63
7
+ data.tar.gz: 48461edf719c6ab27347fac85c7f65cf8dd49da2ae9c10993872b92b57140a2fb48b5dafafa5280114ee90699e3928247d70a9ad08e4b56b0e5f065920b077f4
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ == 1.7.2 Bachmanity
2
+ * Add config support for ssl_version and ssl_cipher_list [frameworked]
3
+
1
4
  == 1.7.1 Muffin Mode
2
5
  * Ruby 2.4 support (Fixnum deprecation) [nimish-mehta]
3
6
  * Allow ERB templates in config files [markets]
@@ -55,7 +55,7 @@ module Thin
55
55
  # ssl support
56
56
  if @options[:ssl]
57
57
  server.ssl = true
58
- server.ssl_options = { :private_key_file => @options[:ssl_key_file], :cert_chain_file => @options[:ssl_cert_file], :verify_peer => !@options[:ssl_disable_verify] }
58
+ server.ssl_options = { :private_key_file => @options[:ssl_key_file], :cert_chain_file => @options[:ssl_cert_file], :verify_peer => !@options[:ssl_disable_verify], :ssl_version => @options[:ssl_version], :cipher_list => @options[:ssl_cipher_list]}
59
59
  end
60
60
 
61
61
  # Detach the process, after this line the current process returns
@@ -81,6 +81,8 @@ module Thin
81
81
  opts.on( "--ssl-key-file PATH", "Path to private key") { |path| @options[:ssl_key_file] = path }
82
82
  opts.on( "--ssl-cert-file PATH", "Path to certificate") { |path| @options[:ssl_cert_file] = path }
83
83
  opts.on( "--ssl-disable-verify", "Disables (optional) client cert requests") { @options[:ssl_disable_verify] = true }
84
+ opts.on( "--ssl-version VERSION", "TLSv1, TLSv1_1, TLSv1_2") { |version| @options[:ssl_version] = version }
85
+ opts.on( "--ssl-cipher-list STRING", "Example: HIGH:!ADH:!RC4:-MEDIUM:-LOW:-EXP:-CAMELLIA") { |cipher| @options[:ssl_cipher_list] = cipher }
84
86
 
85
87
  opts.separator ""
86
88
  opts.separator "Adapter options:"
@@ -6,11 +6,11 @@ module Thin
6
6
  module VERSION #:nodoc:
7
7
  MAJOR = 1
8
8
  MINOR = 7
9
- TINY = 1
9
+ TINY = 2
10
10
 
11
11
  STRING = [MAJOR, MINOR, TINY].join('.')
12
12
 
13
- CODENAME = "Muffin Mode".freeze
13
+ CODENAME = "Bachmanity".freeze
14
14
 
15
15
  RACK = [1, 0].freeze # Rack protocol version
16
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.1
4
+ version: 1.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc-Andre Cournoyer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-13 00:00:00.000000000 Z
11
+ date: 2017-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -130,7 +130,9 @@ homepage: http://code.macournoyer.com/thin/
130
130
  licenses:
131
131
  - GPLv2+
132
132
  - Ruby 1.8
133
- metadata: {}
133
+ metadata:
134
+ source_code_uri: https://github.com/macournoyer/thin
135
+ changelog_uri: https://github.com/macournoyer/thin/blob/master/CHANGELOG
134
136
  post_install_message:
135
137
  rdoc_options: []
136
138
  require_paths: