capistrano-nginx-unit 0.7.0 → 0.8.0

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: 595ea89b86d43a78faf4be7c213835c16451ce8ca5c031949a12467492188846
4
- data.tar.gz: 792f38f3ecc5516d551122eb8577e3b6a7076749e6f6e89701b6730d04a16a19
3
+ metadata.gz: dfbf4cd4d51bb5c132d0ff26b209f675e6b02fcf32497036b446f1722b1187d0
4
+ data.tar.gz: 95d3d5c4f3802991cdd5212b1d67959533842388ced9fc283f8177610960ed8f
5
5
  SHA512:
6
- metadata.gz: 99e52a2378d3ddc83f59d54448a75c1b3010f8acf744357e0542ff0e5f38297428c5510fd96270eae9b310475e4b79c84a565c3a313be666891078ebcdb40f12
7
- data.tar.gz: 805909c4063a23011f132c7d62acb125ffaffdb440dce0c8759c7ff938c48e6b65d0f1de3b9d0309cd8cddde102c2ce5a0c6210c3c1a8226225369a828f5146c
6
+ metadata.gz: 8de735ebdbf54bfebe7c825d263e6b092655f7a4ad7846cdec1b5afbf4bd41064cda74c2f0e5956561833b9c7527b2aa426ff47f88bd48045830a9c571d0527b
7
+ data.tar.gz: 741cd3660ef11bef3ae4d9dd1076a0beebfddae9863e0fde356a353c9e78bb98ed3b4e093c2d8468b7ba84d09b5c8eeb1dc6773a6126f1670e58e284a4fb80b7
@@ -1,3 +1,3 @@
1
1
  module Capistrano
2
- NGINX_UNIT_VERSION = "0.7.0"
2
+ NGINX_UNIT_VERSION = "0.8.0"
3
3
  end
@@ -103,7 +103,7 @@ namespace :nginx_unit do
103
103
  "-s",
104
104
  "-X #{method.to_s.upcase}",
105
105
  "--unix-socket #{fetch(:nginx_unit_control_sock)}",
106
- "'http://localhost/#{path}'"
106
+ "'http://localhost/config#{path}'"
107
107
  ]
108
108
 
109
109
  args << "-d '#{json}'" if json
@@ -122,7 +122,7 @@ namespace :nginx_unit do
122
122
  JSON.parse(capture(
123
123
  :sudo, :curl,
124
124
  "--unix-socket #{fetch(:nginx_unit_control_sock)}",
125
- "http://localhost/"
125
+ "http://localhost/config"
126
126
  ))
127
127
  end
128
128
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-nginx-unit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - murakmii
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-15 00:00:00.000000000 Z
11
+ date: 2018-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano