firespring_dev_commands 2.3.3 → 2.3.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30e5c6b5f996a227c09f1bf79417670ca750162e71f339f3aecdf1f49aba9922
|
4
|
+
data.tar.gz: 2ea3cc153231779b0f8317b112a14c073e2531405ed3e3af119973730384b03f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5709dd1e71680f1d6c69e3c740cbf0dc85bbc6b3baebebc9d36bda43357d0af2a671cab2c2cca59d45add6a7c389c9d2d7f256265d45ae156f7fe12d07f6718
|
7
|
+
data.tar.gz: 8f69d8670bd00edec90d2ddc03b717312ca82e35642634f7a4a7a205f9ae91fdcaa0414697e83bcdb0d6370632bad9113efa6aed5cea7a7182c7fa12c28e7958
|
@@ -41,7 +41,7 @@ module Dev
|
|
41
41
|
end
|
42
42
|
end
|
43
43
|
|
44
|
-
attr_accessor :capture, :compose_files, :environment, :options, :project_dir, :project_name, :services, :user, :volumes
|
44
|
+
attr_accessor :capture, :compose_files, :environment, :options, :project_dir, :project_name, :services, :user, :volumes, :running_silent
|
45
45
|
|
46
46
|
def initialize(
|
47
47
|
compose_files: self.class.config.compose_files,
|
@@ -52,7 +52,8 @@ module Dev
|
|
52
52
|
services: [],
|
53
53
|
user: nil,
|
54
54
|
volumes: [],
|
55
|
-
capture: false
|
55
|
+
capture: false,
|
56
|
+
running_silent: false
|
56
57
|
)
|
57
58
|
@compose_files = Array(compose_files)
|
58
59
|
@environment = environment
|
@@ -63,6 +64,7 @@ module Dev
|
|
63
64
|
@user = user
|
64
65
|
@volumes = Array(volumes)
|
65
66
|
@capture = capture
|
67
|
+
@running_silent = running_silent
|
66
68
|
check_version
|
67
69
|
end
|
68
70
|
|
@@ -233,7 +235,8 @@ module Dev
|
|
233
235
|
|
234
236
|
# Merges two arrays removing nested structure and duplicate keys
|
235
237
|
private def merge_options(*opts)
|
236
|
-
|
238
|
+
puts 'WARNING: merging options disabled' if @options.any? { |it| it.include?('--build-arg') }
|
239
|
+
@options = (@options + Array(opts)).flatten.uniq unless @options.any? { |it| it.include?('--build-arg') }
|
237
240
|
end
|
238
241
|
|
239
242
|
# Build the compose command with the given inputs
|
@@ -241,6 +244,7 @@ module Dev
|
|
241
244
|
command = EXECUTABLE_NAME.dup
|
242
245
|
command << '--project-directory' << project_dir
|
243
246
|
command << '-p' << project_name if project_name
|
247
|
+
command << '--progress=quiet' if running_silent
|
244
248
|
Array(compose_files).compact.each { |file| command << '-f' << file }
|
245
249
|
command << action
|
246
250
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: firespring_dev_commands
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Firespring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|