tomo 0.15.0 → 0.16.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: b7b120a33166b8068d8bc8bd1cd1feaf236890f0f0944b6b1856883804492824
4
- data.tar.gz: 22a8010f402d68cad83b35f3852cf9ca7a2cf661664963d58a782ca11d79b201
3
+ metadata.gz: af13c147cb9a33a4a35847911d99d23ba2f0d094834fbc8f547ad7a670e7ed31
4
+ data.tar.gz: e9901154cb62048c531eae549680dbdb001a8019d68d7e32bfc800d18b18f936
5
5
  SHA512:
6
- metadata.gz: 40308784a50665ae75710d3e57ceee35405884191714a6908a7fe24e35042fcccb48aa9644b3d19cd41c7058e2eb15cc34b95667132ea97ca5273ed71a85eaca
7
- data.tar.gz: 33243e5c5c676fcee357b5dea79d68ddad832ae5b3403ea250bc864ee80fc89632e24537cc44334412ed3042ca055e85b999dc0d8e0ed5c01642115e706ba691
6
+ metadata.gz: 1dbb5d34e21b4861b2cd1e0d8b7cf281def92212beef59489e193547192dac8c42e815da4032a9d0af5fa3aec1be8488a0d02a161a26c95d2e6937bd52ad479d
7
+ data.tar.gz: c8bbc999a60e7d99ed86dbfe309c90eaed8bdb0518a2d20ecb7439a251876fdd530994dbee0eae7eb29692ed3bfa0275ca2a38605d7400e197a76d1d07e5a5b9
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 Matt Brictson
3
+ Copyright (c) 2020 Matt Brictson
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -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 Metrics/LineLength
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 Metrics/LineLength
18
+ # rubocop:enable Layout/LineLength
19
19
  end
20
20
  end
@@ -6,8 +6,9 @@ module Tomo::Plugin
6
6
 
7
7
  tasks Tomo::Plugin::Puma::Tasks
8
8
 
9
- # rubocop:disable Metrics/LineLength
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 Metrics/LineLength
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://0.0.0.0:<%= settings[:puma_port] %>'
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=0.0.0.0:<%= settings[:puma_port] %>
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
@@ -1,3 +1,3 @@
1
1
  module Tomo
2
- VERSION = "0.15.0".freeze
2
+ VERSION = "0.16.0".freeze
3
3
  end
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.15.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: 2019-12-24 00:00:00.000000000 Z
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.77.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.77.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.0
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.0
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.1
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.1
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