brut 0.21.0 → 0.22.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/brut/cli/apps/deploy/deploy_config.rb +1 -1
- data/lib/brut/cli/apps/deploy.rb +3 -3
- data/lib/brut/version.rb +9 -1
- data/templates/Base/Dockerfile.dx +3 -3
- data/templates/segments/DockerDeploy/deploy/Dockerfile +2 -2
- data/templates/segments/Heroku/deploy/Dockerfile +2 -2
- 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: 8548b62e6477684adf0afc6cdc3691d0fe9af3791e13b00ca8812e4c7ee863a1
|
|
4
|
+
data.tar.gz: 39c48725cb3ec47b49309becc9b0879562a42e51d548be3f3ef27a6f7cbc278b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bda342a3794bd0aa434fc4836126f05d93012fd17b528a65a481f350ef17793aaf85d4a5b3cf8e4949f9a19176214adb1ef00878b65882b5e22581365a08ba5c
|
|
7
|
+
data.tar.gz: 3b2c6cf685c3348300abbe9986a1984931ff123970bae19e9386c148a5f3d7e4eac1480ba7082bf2d62f6d08d821cb3a554e18c3158a6af014e775c900e5c1f2
|
|
@@ -36,7 +36,7 @@ class Brut::CLI::Apps::Deploy::DeployConfig
|
|
|
36
36
|
# Generally, do not override this since it configures your
|
|
37
37
|
# web process. Override {#additional_processes} instead.
|
|
38
38
|
def processes = [
|
|
39
|
-
process_description("web", ["bundle", "exec", "bin/run"])
|
|
39
|
+
process_description("web", ["bundle", "exec", "bin/run"]),
|
|
40
40
|
] + (additional_processes || [])
|
|
41
41
|
|
|
42
42
|
private def process_description(name,cmd)
|
data/lib/brut/cli/apps/deploy.rb
CHANGED
|
@@ -83,7 +83,7 @@ class Brut::CLI::Apps::Deploy < Brut::CLI::Commands::BaseCommand
|
|
|
83
83
|
def registry_hostname = "registry.heroku.com"
|
|
84
84
|
|
|
85
85
|
def processes = super + [
|
|
86
|
-
process_description("release", "bin/release")
|
|
86
|
+
process_description("release", "bin/release"),
|
|
87
87
|
]
|
|
88
88
|
|
|
89
89
|
def each_dockerfile(&block)
|
|
@@ -214,7 +214,7 @@ class Brut::CLI::Apps::Deploy < Brut::CLI::Commands::BaseCommand
|
|
|
214
214
|
wrong[process_description] ||= {}
|
|
215
215
|
wrong[process_description][:image] = {
|
|
216
216
|
expected: expected_image_name,
|
|
217
|
-
actual: image
|
|
217
|
+
actual: image,
|
|
218
218
|
}
|
|
219
219
|
failed = true
|
|
220
220
|
end
|
|
@@ -222,7 +222,7 @@ class Brut::CLI::Apps::Deploy < Brut::CLI::Commands::BaseCommand
|
|
|
222
222
|
wrong[process_description] ||= {}
|
|
223
223
|
wrong[process_description][:command] = {
|
|
224
224
|
expected: process_description.cmd,
|
|
225
|
-
actual: cmd
|
|
225
|
+
actual: cmd,
|
|
226
226
|
}
|
|
227
227
|
failed = true
|
|
228
228
|
end
|
data/lib/brut/version.rb
CHANGED
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
module Brut
|
|
2
2
|
# @!visibility private
|
|
3
|
-
|
|
3
|
+
#
|
|
4
|
+
# Gems:
|
|
5
|
+
# Semantic Versioning MAJOR.MINOR.PATCH
|
|
6
|
+
# Or pre-release X.Y.Z.pre.Q
|
|
7
|
+
#
|
|
8
|
+
# Node Modules:
|
|
9
|
+
# Semantic Versioning MAJOR.MINOR.PATCH
|
|
10
|
+
# Or pre-release X.Y.Z-pre.Q
|
|
11
|
+
VERSION = "0.22.0"
|
|
4
12
|
end
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
# This uses a base image where Ruby is already installed. This saves
|
|
11
11
|
# us from having to install Ruby ourselves. Change this whenever you update
|
|
12
|
-
# Ruby. Note that by convention, "
|
|
13
|
-
# release of Ruby
|
|
12
|
+
# Ruby. Note that by convention, "4.0" will be whatever the latest point
|
|
13
|
+
# release of Ruby 4.0 is. If you don't want that, specify an exact Ruby version here.
|
|
14
14
|
# Note that this value is intended to be in sync with the tag of the image
|
|
15
15
|
# found in dx/docker-compose.env
|
|
16
|
-
FROM ruby:
|
|
16
|
+
FROM ruby:4.0
|
|
17
17
|
|
|
18
18
|
# This attempts to make RUN directives fail when UNIX pipelines are involved
|
|
19
19
|
SHELL [ "/bin/bash", "-o", "pipefail", "-c" ]
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
# and running a container locally. You'll need all infrastructure available
|
|
19
19
|
# but it can be done to test things before you deploy. If you need to.
|
|
20
20
|
|
|
21
|
-
# Use Ruby
|
|
22
|
-
FROM ruby:
|
|
21
|
+
# Use Ruby 4.0 as a base.
|
|
22
|
+
FROM ruby:4.0 AS base
|
|
23
23
|
|
|
24
24
|
# bin/deploy will inject this value so that your app's GIT SHA1
|
|
25
25
|
# is in the environment in production, thus allowing you to be more
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
# and running a container locally. You'll need all infrastructure available
|
|
19
19
|
# but it can be done to test things before you deploy. If you need to.
|
|
20
20
|
|
|
21
|
-
# Use Ruby
|
|
22
|
-
FROM docker.io/library/ruby:
|
|
21
|
+
# Use Ruby 4.0 as a base.
|
|
22
|
+
FROM docker.io/library/ruby:4.0 AS base
|
|
23
23
|
|
|
24
24
|
# bin/deploy will inject this value so that your app's GIT SHA1
|
|
25
25
|
# is in the environment in production, thus allowing you to be more
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: brut
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Bryant Copeland
|
|
@@ -405,16 +405,16 @@ dependencies:
|
|
|
405
405
|
name: rdoc
|
|
406
406
|
requirement: !ruby/object:Gem::Requirement
|
|
407
407
|
requirements:
|
|
408
|
-
- - "
|
|
408
|
+
- - "~>"
|
|
409
409
|
- !ruby/object:Gem::Version
|
|
410
|
-
version:
|
|
410
|
+
version: 7.0.4
|
|
411
411
|
type: :development
|
|
412
412
|
prerelease: false
|
|
413
413
|
version_requirements: !ruby/object:Gem::Requirement
|
|
414
414
|
requirements:
|
|
415
|
-
- - "
|
|
415
|
+
- - "~>"
|
|
416
416
|
- !ruby/object:Gem::Version
|
|
417
|
-
version:
|
|
417
|
+
version: 7.0.4
|
|
418
418
|
- !ruby/object:Gem::Dependency
|
|
419
419
|
name: rubocop
|
|
420
420
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -848,16 +848,16 @@ require_paths:
|
|
|
848
848
|
- lib
|
|
849
849
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
850
850
|
requirements:
|
|
851
|
-
- - "
|
|
851
|
+
- - "~>"
|
|
852
852
|
- !ruby/object:Gem::Version
|
|
853
|
-
version: '0'
|
|
853
|
+
version: '4.0'
|
|
854
854
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
855
855
|
requirements:
|
|
856
856
|
- - ">="
|
|
857
857
|
- !ruby/object:Gem::Version
|
|
858
858
|
version: '0'
|
|
859
859
|
requirements: []
|
|
860
|
-
rubygems_version: 4.0.
|
|
860
|
+
rubygems_version: 4.0.14
|
|
861
861
|
specification_version: 4
|
|
862
862
|
summary: Web Framework Built around Ruby, Web Standards, Simplicity, and Object-Orientation
|
|
863
863
|
test_files: []
|