tomo 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/tomo/plugin/git.rb +2 -2
- data/lib/tomo/plugin/puma.rb +3 -2
- data/lib/tomo/plugin/puma/systemd/service.erb +1 -1
- data/lib/tomo/plugin/puma/systemd/socket.erb +1 -1
- data/lib/tomo/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af13c147cb9a33a4a35847911d99d23ba2f0d094834fbc8f547ad7a670e7ed31
|
4
|
+
data.tar.gz: e9901154cb62048c531eae549680dbdb001a8019d68d7e32bfc800d18b18f936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1dbb5d34e21b4861b2cd1e0d8b7cf281def92212beef59489e193547192dac8c42e815da4032a9d0af5fa3aec1be8488a0d02a161a26c95d2e6937bd52ad479d
|
7
|
+
data.tar.gz: c8bbc999a60e7d99ed86dbfe309c90eaed8bdb0518a2d20ecb7439a251876fdd530994dbee0eae7eb29692ed3bfa0275ca2a38605d7400e197a76d1d07e5a5b9
|
data/LICENSE.txt
CHANGED
data/lib/tomo/plugin/git.rb
CHANGED
@@ -8,13 +8,13 @@ module Tomo::Plugin
|
|
8
8
|
helpers Tomo::Plugin::Git::Helpers
|
9
9
|
tasks Tomo::Plugin::Git::Tasks
|
10
10
|
|
11
|
-
# rubocop:disable
|
11
|
+
# rubocop:disable Layout/LineLength
|
12
12
|
defaults git_branch: "master",
|
13
13
|
git_repo_path: "%{deploy_to}/git_repo",
|
14
14
|
git_exclusions: [],
|
15
15
|
git_env: { GIT_SSH_COMMAND: "ssh -o PasswordAuthentication=no -o StrictHostKeyChecking=no" },
|
16
16
|
git_ref: nil,
|
17
17
|
git_url: nil
|
18
|
-
# rubocop:enable
|
18
|
+
# rubocop:enable Layout/LineLength
|
19
19
|
end
|
20
20
|
end
|
data/lib/tomo/plugin/puma.rb
CHANGED
@@ -6,8 +6,9 @@ module Tomo::Plugin
|
|
6
6
|
|
7
7
|
tasks Tomo::Plugin::Puma::Tasks
|
8
8
|
|
9
|
-
# rubocop:disable
|
9
|
+
# rubocop:disable Layout/LineLength
|
10
10
|
defaults puma_check_timeout: 15,
|
11
|
+
puma_host: "0.0.0.0",
|
11
12
|
puma_port: "3000",
|
12
13
|
puma_systemd_service: "puma_%{application}.service",
|
13
14
|
puma_systemd_socket: "puma_%{application}.socket",
|
@@ -15,6 +16,6 @@ module Tomo::Plugin
|
|
15
16
|
puma_systemd_socket_path: ".config/systemd/user/%{puma_systemd_socket}",
|
16
17
|
puma_systemd_service_template_path: File.expand_path("puma/systemd/service.erb", __dir__),
|
17
18
|
puma_systemd_socket_template_path: File.expand_path("puma/systemd/socket.erb", __dir__)
|
18
|
-
# rubocop:enable
|
19
|
+
# rubocop:enable Layout/LineLength
|
19
20
|
end
|
20
21
|
end
|
@@ -5,7 +5,7 @@ Requires=<%= settings[:puma_systemd_socket] %>
|
|
5
5
|
ConditionPathExists=<%= paths.current %>
|
6
6
|
|
7
7
|
[Service]
|
8
|
-
ExecStart=/bin/bash -lc 'exec bundle exec --keep-file-descriptors puma -C config/puma.rb -b tcp
|
8
|
+
ExecStart=/bin/bash -lc 'exec bundle exec --keep-file-descriptors puma -C config/puma.rb -b tcp://<%= settings[:puma_host] %>:<%= settings[:puma_port] %>'
|
9
9
|
KillMode=mixed
|
10
10
|
Restart=always
|
11
11
|
StandardError=syslog
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Description=Puma HTTP Server Accept Sockets for <%= settings[:application] %>
|
3
3
|
|
4
4
|
[Socket]
|
5
|
-
ListenStream
|
5
|
+
ListenStream=<%= settings[:puma_host] %>:<%= settings[:puma_port] %>
|
6
6
|
|
7
7
|
# Socket options matching Puma defaults
|
8
8
|
NoDelay=true
|
data/lib/tomo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tomo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Brictson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -114,42 +114,42 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.78.0
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.78.0
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: rubocop-minitest
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.5.
|
131
|
+
version: 0.5.1
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.5.
|
138
|
+
version: 0.5.1
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: rubocop-performance
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.5.
|
145
|
+
version: 1.5.2
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.5.
|
152
|
+
version: 1.5.2
|
153
153
|
description: Tomo is a feature-rich deployment tool that contains everything you need
|
154
154
|
to deploy a basic Rails app out of the box. It has an opinionated, production-tested
|
155
155
|
set of defaults, but is easily extensible via a well-documented plugin system. Unlike
|