shards 2.2.5 → 2.3.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/Gemfile.lock +1 -1
- data/lib/shards/client.rb +2 -9
- data/lib/shards/version.rb +1 -1
- data/lib/shards/workflow/fingerprints_terminal.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: df299697ef4c6e8ee71fa900b41f506a7020805a
|
|
4
|
+
data.tar.gz: 54a3dba8bd382c838728e311dbfa1d2db35fad23
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3a7abf67de2873c97eee6220365322baac87e140e5e655508a74221f5e187404e1c7c20d6a73498a2bc1645a22b5bf8be8e51667f3f3ec1485a6af56d82219d6
|
|
7
|
+
data.tar.gz: 4a0b06e9a3bdee52917b3a870df164c76c99c2eebbef6c4e4f6de87c721bb52a8198df8d3628c26a9f65ff0d73380e7e099c93bf80aa2f901dbe1f8180719ca3
|
data/Gemfile.lock
CHANGED
data/lib/shards/client.rb
CHANGED
|
@@ -47,13 +47,6 @@ module Shards
|
|
|
47
47
|
|
|
48
48
|
end
|
|
49
49
|
|
|
50
|
-
desc 'terminal', 'Run interactive shards creation tool in the terminal'
|
|
51
|
-
|
|
52
|
-
def terminal
|
|
53
|
-
t=Shards::Workflow::Terminal.new config
|
|
54
|
-
t.start
|
|
55
|
-
end
|
|
56
|
-
|
|
57
50
|
desc 'locations', 'Locations list'
|
|
58
51
|
|
|
59
52
|
def locations
|
|
@@ -113,7 +106,7 @@ module Shards
|
|
|
113
106
|
end
|
|
114
107
|
|
|
115
108
|
|
|
116
|
-
desc "dns LOCATION STAGE DOMAIN", "Check if dns record is available for a domain"
|
|
109
|
+
desc "dns LOCATION STAGE DOMAIN", "Check if dns record is available for a domain (set domain without suffix and prefix)"
|
|
117
110
|
|
|
118
111
|
def dns(location, stage, domain)
|
|
119
112
|
|
|
@@ -123,7 +116,7 @@ module Shards
|
|
|
123
116
|
|
|
124
117
|
end
|
|
125
118
|
|
|
126
|
-
desc "subdomain_dns LOCATION STAGE SUBDOMAIN", "Check if dns record is available for a subdomain"
|
|
119
|
+
desc "subdomain_dns LOCATION STAGE SUBDOMAIN", "Check if dns record is available for a subdomain final name, with prefix and suffix"
|
|
127
120
|
|
|
128
121
|
def subdomain_dns(location, stage, subdomain)
|
|
129
122
|
|
data/lib/shards/version.rb
CHANGED
|
@@ -28,10 +28,10 @@ module Shards
|
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def dns_upsert
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
raise_wrong_text host unless
|
|
34
|
-
puts step['message'] % host
|
|
31
|
+
dns=Shards::Dns.new stage: stage, domain: domain
|
|
32
|
+
dns.set dryrun: false
|
|
33
|
+
raise_wrong_text dns.host unless dns.exist?
|
|
34
|
+
puts step['message'] % dns.host
|
|
35
35
|
end
|
|
36
36
|
|
|
37
37
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shards
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Diego PL
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-10-
|
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|