capistrano-twingly 4.0.0 → 4.0.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 +4 -4
- data/CHANGELOG.md +11 -0
- data/capistrano-twingly.gemspec +1 -1
- data/lib/capistrano/twingly/tasks/service.rake +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4af628ef8ffde933c91bfe2f48b7bb162fef6d5966148c92f661ad1f517716a0
|
|
4
|
+
data.tar.gz: 5d8c45ad7038484f557eb9d5dd324b709e1152489cc33b9fadb3f32f2e4eeca9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f4275f7182ff4c3cf902eb4c4d829c1e4601f68294cea692bac60310e8c1b867016374152402e83675a60400984deb74b98b9a17669cd3e49fe3126f711f9b3
|
|
7
|
+
data.tar.gz: da6a66d6e1217224a15dcbbe5de12e57830f0612d7c8992cfa71d25707bcd002e29ed93448a8103858ffee03d436a2295ba04c4dd8dad09b25907ae44739a979
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v4.0.0](https://github.com/twingly/capistrano-twingly/tree/v4.0.0) (2019-04-29)
|
|
4
|
+
[Full Changelog](https://github.com/twingly/capistrano-twingly/compare/v3.0.0...v4.0.0)
|
|
5
|
+
|
|
6
|
+
**Closed issues:**
|
|
7
|
+
|
|
8
|
+
- Add systemd support [\#45](https://github.com/twingly/capistrano-twingly/issues/45)
|
|
9
|
+
|
|
10
|
+
**Merged pull requests:**
|
|
11
|
+
|
|
12
|
+
- Generate systemd config in addition to upstart [\#47](https://github.com/twingly/capistrano-twingly/pull/47) ([roback](https://github.com/roback))
|
|
13
|
+
|
|
3
14
|
## [v3.0.0](https://github.com/twingly/capistrano-twingly/tree/v3.0.0) (2018-11-08)
|
|
4
15
|
[Full Changelog](https://github.com/twingly/capistrano-twingly/compare/v2.4.1...v3.0.0)
|
|
5
16
|
|
data/capistrano-twingly.gemspec
CHANGED
|
@@ -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.0.
|
|
7
|
+
spec.version = '4.0.1'
|
|
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}
|
|
@@ -22,7 +22,12 @@ namespace :deploy do
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
on roles(:systemd) do
|
|
25
|
-
|
|
25
|
+
load_state =
|
|
26
|
+
capture "systemctl show #{fetch(:application)}.target -p LoadState --value"
|
|
27
|
+
|
|
28
|
+
if load_state == "loaded"
|
|
29
|
+
sudo :systemctl, "stop #{fetch(:application)}.target"
|
|
30
|
+
end
|
|
26
31
|
|
|
27
32
|
within current_path do
|
|
28
33
|
sudo fetch(:chruby_exec), "#{fetch(:chruby_ruby)} -- #{fetch(:bundle_binstubs)}/foreman export systemd /etc/systemd/system -a #{fetch(:application)} -u \`whoami\` -l #{shared_path}/log"
|
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.0.
|
|
4
|
+
version: 4.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Twingly AB
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-05-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|
|
@@ -209,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
209
|
- !ruby/object:Gem::Version
|
|
210
210
|
version: '0'
|
|
211
211
|
requirements: []
|
|
212
|
-
rubygems_version: 3.0.
|
|
212
|
+
rubygems_version: 3.0.2
|
|
213
213
|
signing_key:
|
|
214
214
|
specification_version: 4
|
|
215
215
|
summary: Capistrano 3 tasks used for Twingly's Ruby deployment
|