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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bc735c28bfecdce1a8ea7cdcce8314b07922dcbbbf5b0c90b2f41c945c431f1
4
- data.tar.gz: 937580f861e8fa88d4e2a2c45b64ba513a505ea3d3965f07eea51fc333994033
3
+ metadata.gz: 21b876ac29f257ee2651701818239f008d53b936fc162469dfd03f23ffb33115
4
+ data.tar.gz: f7d45bbccb444871e64631864b32809b4a7cb9a9276ec34043305d7d2466fe83
5
5
  SHA512:
6
- metadata.gz: f0c93543ba192c7151bac44e18815a6dd58df491efad495b806c07714a7084906bede1d8de19cb92b1a8fac1b9c119db36651e4d2c0e3e439da905af2ccf733f
7
- data.tar.gz: 157385fcd9704c946ba5e537b62877f88687527f81a497f588827f5feb7fa9522bbb9e6e92b5b081e138a8ad9e50708029b0c523fd43378bb3658378f7dc7c1d
6
+ metadata.gz: 9d07404156ca19ea82b105c86c00046671ad7ba75d8706fab62a180da22df75277101e328c72903c42d8c670e650906d2e7a0efe4e2b444f6ec1b2dcc20c81e7
7
+ data.tar.gz: e6b08af6b0ba4b8502d0ebd5a692bd1bafe5e763561b24ce149033295163c54c32ca2947ca8fcc3496ef13bc45e8e50f37e759c846483ff4488762a5f5d1c00a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.4.5
1
+ 3.4.10
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.7.0] - 12.08.2026
4
+
5
+ - Add `-A` alias to `--no-asset-precompilation` CLI flag
6
+
7
+ ## [0.6.0] - 11.05.2026
8
+
9
+ - Expose CLI arguments through `DeploymentStats#args`
10
+
3
11
  ## [0.5.0] - 24.04.2026
4
12
 
5
13
  - Update `shale-builder`
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-data_plane_api (0.5.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
- --no-asset-precompilation Skip asset precompilation during deployment
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
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Capistrano
5
5
  module DataPlaneApi
6
- VERSION = '0.5.0'
6
+ VERSION = '0.7.0'
7
7
  end
8
8
  end
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.5.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.7.2
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