capistrano-systemd-ng 0.1.3 → 0.1.4

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: a50ddb67a418be03b5d2920ae7f6ae33de0599517ad6d7120ddcd4918a4a325b
4
- data.tar.gz: a8974fa62acd4a059346cc4a7ecea4eeddae91e5b753504b05ed6500a6fd067c
3
+ metadata.gz: bb84da1ac6f33cc067142d9dd9348c7815583319ca23e64c2e90f1c30799810f
4
+ data.tar.gz: 293ed348d3871183e49ae5ce4ab4c7bed5ba31c7734306c4f50b3c8aff7fd61e
5
5
  SHA512:
6
- metadata.gz: 9002a9eeebb5ffa552d66f3339ca2121ab825455545bdf861bf9653d0d8691f0243ded4c8273f06c893d4d06068bc21b1ba80930ee8042a8f179e06d79398318
7
- data.tar.gz: 561b0469b18e7b0d5d2578827ae746ac41298464381889a84e70edd7ca7a128cdc6cc5031fd7cb59e8b375ba7cb106c2d3f681d23014fec62543b086bdb6d4a6
6
+ metadata.gz: 0c742af5b9d483b4a8ae1e439bce8bf59cc6236e8a8a98de56e9d7f4935966006aa2a9599ef9edd4fb66d3acac4b5eff590fd98256a13314801b80fd5a493edc
7
+ data.tar.gz: 8b7a28307b5bbe1edf285cb7838e961dd76c9c3ead8981c9d29c53751475dc918ac1d92d9eeaed92cf980751793fd0976b59fa3acbeb31e5f5fdebc52e552f92
@@ -15,7 +15,7 @@ jobs:
15
15
  runs-on: ubuntu-latest
16
16
  strategy:
17
17
  matrix:
18
- ruby-version: [2.7, '3.0', 3.1]
18
+ ruby-version: [2.7, 3.0, 3.1, 3.2.2]
19
19
  fail-fast: false
20
20
  if: "!contains(github.event.head_commit.message, '[ci skip]')"
21
21
  steps:
data/README.md CHANGED
@@ -23,7 +23,13 @@ Or install it yourself as:
23
23
 
24
24
  ## Usage
25
25
 
26
- Add these lines to your Capfile:
26
+ Please activate the Capistrano `app`role in `config/deploy/staging.rb`and/or `config/deploy/production.rb`:
27
+ ```
28
+ role :app, %w{deploy@example.com}
29
+ ```
30
+ Replace `example.com` by the domain name used by your server.
31
+
32
+ And add these lines to your Capfile:
27
33
 
28
34
  ```ruby
29
35
  require "capistrano/systemd/multiservice"
@@ -77,7 +77,7 @@ module Capistrano
77
77
 
78
78
  def setup
79
79
  fetch(:"#{prefix}_units_src").zip(fetch(:"#{prefix}_units_dest")).each do |src, dest|
80
- buf = StringIO.new(ERB.new(File.read(src), nil, 2).result(binding))
80
+ buf = StringIO.new(ERB.new(File.read(src), trim_mode: '-', eoutvar: '@output_buffer').result(binding))
81
81
  setup_service buf, src, dest
82
82
  end
83
83
  end
@@ -1,7 +1,7 @@
1
1
  module Capistrano
2
2
  module Systemd
3
3
  module MultiService
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-systemd-ng
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaspard d'Hautefeuille