capistrano-data_plane_api 0.5.0 → 0.7.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/.ruby-version +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +2 -1
- data/README.md +1 -1
- data/lib/capistrano/data_plane_api/deploy/args.rb +1 -2
- data/lib/capistrano/data_plane_api/deploy/deployment_stats.rb +6 -2
- data/lib/capistrano/data_plane_api/deploy/group.rb +1 -1
- data/lib/capistrano/data_plane_api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 21b876ac29f257ee2651701818239f008d53b936fc162469dfd03f23ffb33115
|
|
4
|
+
data.tar.gz: f7d45bbccb444871e64631864b32809b4a7cb9a9276ec34043305d7d2466fe83
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d07404156ca19ea82b105c86c00046671ad7ba75d8706fab62a180da22df75277101e328c72903c42d8c670e650906d2e7a0efe4e2b444f6ec1b2dcc20c81e7
|
|
7
|
+
data.tar.gz: e6b08af6b0ba4b8502d0ebd5a692bd1bafe5e763561b24ce149033295163c54c32ca2947ca8fcc3496ef13bc45e8e50f37e759c846483ff4488762a5f5d1c00a
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.4.
|
|
1
|
+
3.4.10
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
capistrano-data_plane_api (0.
|
|
4
|
+
capistrano-data_plane_api (0.7.0)
|
|
5
5
|
booleans (~> 0.1)
|
|
6
6
|
data_plane_api (>= 0.2)
|
|
7
7
|
pastel (< 1)
|
|
@@ -152,6 +152,7 @@ PLATFORMS
|
|
|
152
152
|
arm64-darwin-20
|
|
153
153
|
arm64-darwin-23
|
|
154
154
|
arm64-darwin-24
|
|
155
|
+
arm64-darwin-25
|
|
155
156
|
x86_64-linux
|
|
156
157
|
|
|
157
158
|
DEPENDENCIES
|
data/README.md
CHANGED
|
@@ -85,7 +85,7 @@ This script can be used to deploy this app to remote servers.
|
|
|
85
85
|
-h, --help Prints this help
|
|
86
86
|
-b, --branch=BRANCH Deploy the code from the passed Git branch
|
|
87
87
|
--no-migrations Do not carry out migrations
|
|
88
|
-
|
|
88
|
+
-A --no-asset-precompilation Skip asset precompilation during deployment
|
|
89
89
|
```
|
|
90
90
|
|
|
91
91
|
### Example of commands
|
|
@@ -158,6 +158,7 @@ module Capistrano
|
|
|
158
158
|
end
|
|
159
159
|
|
|
160
160
|
parser.on(
|
|
161
|
+
'-A',
|
|
161
162
|
'--no-asset-precompilation',
|
|
162
163
|
'Skip asset precompilation during deployment',
|
|
163
164
|
) do
|
|
@@ -266,8 +267,6 @@ module Capistrano
|
|
|
266
267
|
public_send("#{key}=", val)
|
|
267
268
|
end
|
|
268
269
|
|
|
269
|
-
private
|
|
270
|
-
|
|
271
270
|
#: -> bool
|
|
272
271
|
def one_server?
|
|
273
272
|
Boolean(@stage && @group.nil?)
|
|
@@ -13,6 +13,9 @@ module Capistrano
|
|
|
13
13
|
#: Capistrano::DataPlaneApi::Configuration::Backend?
|
|
14
14
|
attr_accessor :backend
|
|
15
15
|
|
|
16
|
+
#: Args
|
|
17
|
+
attr_accessor :args
|
|
18
|
+
|
|
16
19
|
#: Time?
|
|
17
20
|
attr_accessor :start_time
|
|
18
21
|
|
|
@@ -25,8 +28,9 @@ module Capistrano
|
|
|
25
28
|
#: Symbol
|
|
26
29
|
attr_accessor :state
|
|
27
30
|
|
|
28
|
-
#: -> void
|
|
29
|
-
def initialize
|
|
31
|
+
#: (Args) -> void
|
|
32
|
+
def initialize(args)
|
|
33
|
+
@args = args
|
|
30
34
|
@backend = nil
|
|
31
35
|
@start_time = nil
|
|
32
36
|
@end_time = nil
|
|
@@ -29,7 +29,7 @@ module Capistrano
|
|
|
29
29
|
#: (Args) -> void
|
|
30
30
|
def initialize(args)
|
|
31
31
|
@args = args
|
|
32
|
-
@deployment_stats = DeploymentStats.new #: DeploymentStats
|
|
32
|
+
@deployment_stats = DeploymentStats.new(args) #: DeploymentStats
|
|
33
33
|
@backend = nil #: Configuration::Backend?
|
|
34
34
|
@servers = nil #: Array[Configuration::Server]?
|
|
35
35
|
@state = :pending #: Symbol
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-data_plane_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mateusz Drewniak
|
|
@@ -274,7 +274,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
274
274
|
- !ruby/object:Gem::Version
|
|
275
275
|
version: '0'
|
|
276
276
|
requirements: []
|
|
277
|
-
rubygems_version: 3.
|
|
277
|
+
rubygems_version: 3.6.9
|
|
278
278
|
specification_version: 4
|
|
279
279
|
summary: Capistrano plugin which helps you automatically change the admin state of
|
|
280
280
|
your HAProxy servers
|