shards 1.0.7 → 1.0.8
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/Gemfile.lock +1 -1
- data/lib/shards/version.rb +1 -1
- data/lib/shards/workflow/base.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 50aead251a293111345135338260e89d3386b966
|
|
4
|
+
data.tar.gz: 0af0f4e5c964e02329c05900c2b16699b1991c80
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6916d9e9ba9d900b65ee7c1ceccc45ce838e8c8c6b18e450da3f44c0a408bbfe96cbdd14179648b4f8e9918216f4b2241182b3a5a997cd812ef71c7b77dd092a
|
|
7
|
+
data.tar.gz: 241fa42e623bb4d7e6bff26c59fcd8e917475e35bcd0643216fcb87840e37a38141e7e23d3a2c14bb79a983bea57250c5e68c0bb2b59e8298bef63a5dce82cb5
|
data/Gemfile.lock
CHANGED
data/lib/shards/version.rb
CHANGED
data/lib/shards/workflow/base.rb
CHANGED
|
@@ -146,7 +146,7 @@ module Shards
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
def create_database
|
|
149
|
-
stage.shard.db.create
|
|
149
|
+
stage.shard.db.create dryrun: false
|
|
150
150
|
message_params= [stage.shard.db.name, stage.shard.db.server]
|
|
151
151
|
raise_wrong_text message_params unless stage.shard.db.exist?
|
|
152
152
|
puts step['message'] % message_params
|
|
@@ -157,7 +157,7 @@ module Shards
|
|
|
157
157
|
end
|
|
158
158
|
|
|
159
159
|
def dns_upsert
|
|
160
|
-
stage.shard.dns.
|
|
160
|
+
stage.shard.dns.set dryrun: false
|
|
161
161
|
raise_wrong_text host unless stage.shard.dns.exist?
|
|
162
162
|
puts step['message'] % host
|
|
163
163
|
end
|