ascii_binder 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/asciibinder +7 -1
- data/lib/ascii_binder/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d071bdab3033acf56883cc5d409694442b8e5bdf39c04653a38b89573b89b6f7
|
4
|
+
data.tar.gz: d183b0ccea38287afd33c2f726c6bb5fa98c6a1c8aa8350e81b181cc6f884f22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea33d627cd2a46d5dbf34f7ba536f2b932cbd2656979604ed46caa87cd0f1bfeb7d536ad789fc011e65e4c8a469270fbac0bcf0af70cb8a535b3534e9e9aff8f
|
7
|
+
data.tar.gz: 649817f08a00ac2ec3c2253d24d8c3096bc111894f73cf43c6caaaf610e2d20cc6adf308a16d1dc6267456243b0a755e198ae1cc4243436826a0bd0d86d7ae7d
|
data/bin/asciibinder
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
+
require 'ascii_binder/distro_map'
|
3
4
|
require 'ascii_binder/engine'
|
4
5
|
require 'ascii_binder/helpers'
|
5
6
|
require 'ascii_binder/version'
|
@@ -284,9 +285,14 @@ if cmd == 'clone'
|
|
284
285
|
repo_check(docs_basedir)
|
285
286
|
|
286
287
|
if cmd_opts[:branches]
|
288
|
+
cloned_map = AsciiBinder::DistroMap.new(File.join(docs_basedir,DISTRO_MAP_FILENAME))
|
289
|
+
unless cloned_map.is_valid?
|
290
|
+
error_info = cloned_map.errors.join("\n")
|
291
|
+
Trollop::die "The distro map in the newly cloned repo is invalid, with the following errors:\n#{error_info}"
|
292
|
+
end
|
287
293
|
Dir.chdir(docs_basedir)
|
288
294
|
puts "Tracking branch setup:"
|
289
|
-
distro_branches.each do |doc_branch|
|
295
|
+
cloned_map.distro_branches.each do |doc_branch|
|
290
296
|
next if doc_branch == 'master'
|
291
297
|
puts "- #{doc_branch}"
|
292
298
|
system("git branch #{doc_branch} origin/#{doc_branch}")
|
data/lib/ascii_binder/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ascii_binder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N. Harrison Ripps
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2018-02-01 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: bundler
|
@@ -349,7 +349,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
349
349
|
version: '0'
|
350
350
|
requirements: []
|
351
351
|
rubyforge_project:
|
352
|
-
rubygems_version: 2.
|
352
|
+
rubygems_version: 2.7.4
|
353
353
|
signing_key:
|
354
354
|
specification_version: 4
|
355
355
|
summary: AsciiBinder is an AsciiDoc-based system for authoring and publishing closely
|