capistrano-twingly 4.1.0 → 4.2.0

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
  SHA256:
3
- metadata.gz: afd47e4da563c1ea3af2ba4cedfe12d6a00a3b41f97c86f677b39c8e74f73e32
4
- data.tar.gz: 59b39f7f78d66d8ff2fdd97bc9c45558c0be8c2f15828d919d69ff105d33ed77
3
+ metadata.gz: 6e9fcc36ffdef58414469cc49e1cfc11f645c8dd92f0abe2599e7cd61d508e40
4
+ data.tar.gz: eda3cd5412c4c2ba5af7100fad39a47009a0944e40ca9cf8dd393627c5e730b1
5
5
  SHA512:
6
- metadata.gz: 0b73b92f74a51106df9d265027585c633ea577b85eac876f2465f9f20fd3de2d9084f634b1ff902207b7f6b68d807e57a02e3d91b59f996e3d969e621e990c4b
7
- data.tar.gz: c5fa361fb1b561791060a843055005e8cd26afd85836a6ec9738167d11801223296152cd53115f8bce6c1b39af9f496f9936c24244b5e9cdf4637fdc51dc23fa
6
+ metadata.gz: b8f9e0d29574b26cbe6b746e4d107cdfe1498182b20a06016a587a9a16eb6d61dcfc33b8579d073e454ff6b29211e2f0de5707988c815877f0add58df98c1c4f
7
+ data.tar.gz: bd6bbc8590824d69b1510049c479424acff5731a0bce73f30c4c91e56d076c5b81c00aaad0e3bf6219b70780a40a2251c075b20a730fbc381c79b40fb10b62cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## [v4.1.0](https://github.com/twingly/capistrano-twingly/tree/v4.1.0) (2023-01-10)
4
+
5
+ [Full Changelog](https://github.com/twingly/capistrano-twingly/compare/v4.0.4...v4.1.0)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - Deploy broken in macOS 13 because of DNS issues [\#68](https://github.com/twingly/capistrano-twingly/issues/68)
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Use datacenter gateway as fallback DNS server [\#69](https://github.com/twingly/capistrano-twingly/pull/69) ([roback](https://github.com/roback))
14
+ - Keep GitHub Actions file up-to-date [\#67](https://github.com/twingly/capistrano-twingly/pull/67) ([roback](https://github.com/roback))
15
+
3
16
  ## [v4.0.4](https://github.com/twingly/capistrano-twingly/tree/v4.0.4) (2022-06-28)
4
17
 
5
18
  [Full Changelog](https://github.com/twingly/capistrano-twingly/compare/v4.0.3...v4.0.4)
data/README.md CHANGED
@@ -47,6 +47,7 @@ require 'capistrano/twingly/nginx'
47
47
  set :app_name, 'contest-bamba'
48
48
  set :server_names, %w(bamba.bloggportalen.se)
49
49
  set :use_https, true # Optional
50
+ set :forwarded_protocol_is_https, true # Optional
50
51
 
51
52
  namespace :deploy do
52
53
  after :finishing, 'deploy:nginx:generate_config'
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "capistrano-twingly"
7
- spec.version = '4.1.0'
7
+ spec.version = '4.2.0'
8
8
  spec.authors = ["Twingly AB"]
9
9
  spec.email = ["support@twingly.com"]
10
10
  spec.summary = %q{Capistrano 3 tasks used for Twingly's Ruby deployment}
@@ -9,6 +9,7 @@ namespace :deploy do
9
9
  server_names = fetch(:server_names)
10
10
 
11
11
  https_port = ":443" if fetch(:use_https)
12
+ forwarded_protocol_is_https = fetch(:forwarded_protocol_is_https)
12
13
 
13
14
  conf = File.open('tmp/site.conf', 'w')
14
15
  conf << %Q{
@@ -42,6 +43,7 @@ namespace :deploy do
42
43
  proxy_set_header Host $host#{https_port};
43
44
  proxy_set_header X-Real-IP $remote_addr;
44
45
  proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
46
+ #{forwarded_protocol_is_https ? "proxy_set_header X-Forwarded-Proto https;" : ""}
45
47
  }
46
48
  }\n}
47
49
  conf.close
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-twingly
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Twingly AB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2023-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  - !ruby/object:Gem::Version
196
196
  version: '0'
197
197
  requirements: []
198
- rubygems_version: 3.3.7
198
+ rubygems_version: 3.4.4
199
199
  signing_key:
200
200
  specification_version: 4
201
201
  summary: Capistrano 3 tasks used for Twingly's Ruby deployment