foreman 0.89.1 → 0.90.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 +4 -4
- data/lib/foreman/export/base.rb +0 -36
- data/lib/foreman/version.rb +1 -1
- data/man/foreman.1 +1 -1
- data/spec/foreman/process_spec.rb +0 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5361d21cc82555a253f0ddeb76d8ddc3a3c099fcbb3bc217491fdd5bc1cc3d5
|
4
|
+
data.tar.gz: a9eeb94380ccbf6b021bcd8be79e7a827f44767f8f563b5e00c2d429050cbeb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 72f23c7afd63aa9bf625cfca6892e7bbed7792edb246a263fae16d4b3d574e527ed52ba0a356091c00ecc9252c1b553f88dbc7c788354f565890e3e2304c6687
|
7
|
+
data.tar.gz: 488872c4619b43bd911dd328462a204d1b431f246745d8d2c1539d441bd245e5228ca6a311597bd7c28865d6dc289c68c35f94f0dae34dc1d5d6e8888ef39e26
|
data/lib/foreman/export/base.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require "foreman/export"
|
2
|
-
require "ostruct"
|
3
2
|
require "pathname"
|
4
3
|
require "shellwords"
|
5
4
|
|
@@ -18,29 +17,6 @@ class Foreman::Export::Base
|
|
18
17
|
@engine = engine
|
19
18
|
@options = options.dup
|
20
19
|
@formation = engine.formation
|
21
|
-
|
22
|
-
# deprecated
|
23
|
-
def port
|
24
|
-
Foreman::Export::Base.warn_deprecation!
|
25
|
-
engine.base_port
|
26
|
-
end
|
27
|
-
|
28
|
-
# deprecated
|
29
|
-
def template
|
30
|
-
Foreman::Export::Base.warn_deprecation!
|
31
|
-
options[:template]
|
32
|
-
end
|
33
|
-
|
34
|
-
# deprecated
|
35
|
-
def @engine.procfile
|
36
|
-
Foreman::Export::Base.warn_deprecation!
|
37
|
-
@processes.map do |process|
|
38
|
-
OpenStruct.new(
|
39
|
-
:name => @names[process],
|
40
|
-
:process => process
|
41
|
-
)
|
42
|
-
end
|
43
|
-
end
|
44
20
|
end
|
45
21
|
|
46
22
|
def export
|
@@ -68,18 +44,6 @@ class Foreman::Export::Base
|
|
68
44
|
|
69
45
|
private ######################################################################
|
70
46
|
|
71
|
-
def self.warn_deprecation!
|
72
|
-
@@deprecation_warned ||= false
|
73
|
-
return if @@deprecation_warned
|
74
|
-
puts "WARNING: Using deprecated exporter interface. Please update your exporter"
|
75
|
-
puts "the interface shown in the upstart exporter:"
|
76
|
-
puts
|
77
|
-
puts "https://github.com/ddollar/foreman/blob/main/lib/foreman/export/upstart.rb"
|
78
|
-
puts "https://github.com/ddollar/foreman/blob/main/data/export/upstart/process.conf.erb"
|
79
|
-
puts
|
80
|
-
@@deprecation_warned = true
|
81
|
-
end
|
82
|
-
|
83
47
|
def chown user, dir
|
84
48
|
FileUtils.chown user, nil, dir
|
85
49
|
rescue
|
data/lib/foreman/version.rb
CHANGED
data/man/foreman.1
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
3
|
-
.TH "FOREMAN" "1" "
|
3
|
+
.TH "FOREMAN" "1" "July 2025" "Foreman 0.90.0" "Foreman Manual"
|
4
4
|
.SH "NAME"
|
5
5
|
\fBforeman\fR \- manage Procfile\-based applications
|
6
6
|
.SH "SYNOPSIS"
|
metadata
CHANGED
@@ -1,14 +1,28 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.90.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Dollar
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
-
dependencies:
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: thor
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.4'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '1.4'
|
12
26
|
description: Process manager for applications with multiple components
|
13
27
|
email: ddollar@gmail.com
|
14
28
|
executables:
|