record_store 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/record_store/cli.rb +15 -2
- data/lib/record_store/version.rb +1 -1
- 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: d2211def6ef9324417dc03e12112531d3db725fb
|
4
|
+
data.tar.gz: e82ffe91b6c00a806fc83fefe78e70a4abb670c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f3e722058b4b71cf95f18946653a12148f267bd1757a2db7abe7ad370a36fef040cf3867cc608f42a6626afe1e6a0c9ffc68bad1c543bb652e5f4df57d3fae1
|
7
|
+
data.tar.gz: e7867a56a4e0a957302bc27d6bf21b8574ee8a58b919426c439e3bb4e072636dbb203097a7d315655fbce14617ef6fe43272e0b9703174b29ec5012bca4a28b0
|
data/lib/record_store/cli.rb
CHANGED
@@ -44,8 +44,13 @@ module RecordStore
|
|
44
44
|
Zone.each do |name, zone|
|
45
45
|
changesets = zone.build_changesets
|
46
46
|
|
47
|
-
|
48
|
-
|
47
|
+
if !options.fetch('verbose') && changesets.all?(&:empty?)
|
48
|
+
print_and_flush('.')
|
49
|
+
next
|
50
|
+
else
|
51
|
+
puts "\n"
|
52
|
+
puts "Zone: #{name}"
|
53
|
+
end
|
49
54
|
|
50
55
|
changesets.each do |changeset|
|
51
56
|
next if !options.fetch('verbose') && changeset.changes.empty?
|
@@ -83,6 +88,7 @@ module RecordStore
|
|
83
88
|
end
|
84
89
|
puts '=' * 20
|
85
90
|
end
|
91
|
+
puts "\n"
|
86
92
|
end
|
87
93
|
|
88
94
|
desc 'apply', 'Applies the DNS changes'
|
@@ -262,5 +268,12 @@ module RecordStore
|
|
262
268
|
end
|
263
269
|
end
|
264
270
|
end
|
271
|
+
|
272
|
+
private
|
273
|
+
|
274
|
+
def print_and_flush(str)
|
275
|
+
print(str)
|
276
|
+
$stdout.flush
|
277
|
+
end
|
265
278
|
end
|
266
279
|
end
|
data/lib/record_store/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: record_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-10-
|
12
|
+
date: 2016-10-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|