my-ruby-deployer 1.3.4 → 1.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/my-ruby-deployer.rb +7 -7
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 98b5f159192c642fe85d639ef70c80a3323636da913125bb57e6921aa545067d
|
4
|
+
data.tar.gz: 17a63fa4113657a6d8d7011d50b447e1e1893dda61968d15181fdc2335509c4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9b168de84fefb75aeae4c419ab516a618d0adc8777d7deb35e805c2b41161501fb9defa2161de1e7ceffc00d4ad3cbbaddf62b2d2190900c6cd13a41cb2cf81
|
7
|
+
data.tar.gz: a078cf9d9c55a687f980f82e6dc351805e26d326fbbc91248565b2cccaeec529792029194cd911bd72f632b04b4f83b5630109d6d2e2e473e1d3652e7423b4db
|
data/lib/my-ruby-deployer.rb
CHANGED
@@ -24,7 +24,7 @@ module BlackStack
|
|
24
24
|
module NodeModule
|
25
25
|
attr_accessor :deployment_routine, :parameters
|
26
26
|
|
27
|
-
include
|
27
|
+
include Infrastructure::NodeModule
|
28
28
|
|
29
29
|
def self.eth0_ip(insterface)
|
30
30
|
ret = nil
|
@@ -188,7 +188,7 @@ module BlackStack
|
|
188
188
|
self.name = h[:name]
|
189
189
|
self.commands = []
|
190
190
|
h[:commands].each do |c|
|
191
|
-
self.commands <<
|
191
|
+
self.commands << Deployer::Command.new(c)
|
192
192
|
end
|
193
193
|
end
|
194
194
|
|
@@ -323,22 +323,22 @@ module BlackStack
|
|
323
323
|
# These classes represents a node, without using connection to the database.
|
324
324
|
# Use this class at the client side.
|
325
325
|
class Node
|
326
|
-
include
|
326
|
+
include Deployer::NodeModule
|
327
327
|
end # class Node
|
328
328
|
|
329
329
|
class Command
|
330
|
-
include
|
330
|
+
include Deployer::CommandModule
|
331
331
|
end # class Command
|
332
332
|
|
333
333
|
class Routine
|
334
|
-
include
|
334
|
+
include Deployer::RoutineModule
|
335
335
|
end # class Routine
|
336
336
|
|
337
337
|
# add a node to the list of nodes.
|
338
338
|
def self.add_node(h)
|
339
339
|
errors = BlackStack::Deployer::NodeModule.descriptor_errors(h)
|
340
340
|
raise errors.join(".\n") unless errors.empty?
|
341
|
-
@@nodes <<
|
341
|
+
@@nodes << Deployer::Node.new(h)
|
342
342
|
end # def
|
343
343
|
|
344
344
|
# add an array of nodes to the list of nodes.
|
@@ -359,7 +359,7 @@ module BlackStack
|
|
359
359
|
def self.add_routine(h)
|
360
360
|
errors = BlackStack::Deployer::RoutineModule.descriptor_errors(h)
|
361
361
|
raise errors.join(".\n") unless errors.empty?
|
362
|
-
@@routines <<
|
362
|
+
@@routines << Deployer::Routine.new(h)
|
363
363
|
end # def
|
364
364
|
|
365
365
|
# add an array of routines to the list of routines.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: my-ruby-deployer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leandro Daniel Sardi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: blackstack-nodes
|
@@ -96,20 +96,20 @@ dependencies:
|
|
96
96
|
requirements:
|
97
97
|
- - "~>"
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: 1.2.
|
99
|
+
version: 1.2.4
|
100
100
|
- - ">="
|
101
101
|
- !ruby/object:Gem::Version
|
102
|
-
version: 1.2.
|
102
|
+
version: 1.2.4
|
103
103
|
type: :runtime
|
104
104
|
prerelease: false
|
105
105
|
version_requirements: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
107
|
- - "~>"
|
108
108
|
- !ruby/object:Gem::Version
|
109
|
-
version: 1.2.
|
109
|
+
version: 1.2.4
|
110
110
|
- - ">="
|
111
111
|
- !ruby/object:Gem::Version
|
112
|
-
version: 1.2.
|
112
|
+
version: 1.2.4
|
113
113
|
description: "Deployer automates what you already know how to do manually, but in
|
114
114
|
a repeatable, scalable fashion. There is no magic here!\nDeployer dutifully connects
|
115
115
|
to your server(s) via SSH and executes the steps necessary to deploy your project.
|