ascii_binder 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/asciibinder +1 -1
- data/features/support/env.rb +3 -3
- data/lib/ascii_binder/engine.rb +1 -1
- data/lib/ascii_binder/site_info.rb +1 -1
- data/lib/ascii_binder/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea737534633232eae04d4210d6898488aa16833da1b6e0300ee7bd5a343bcdad
|
4
|
+
data.tar.gz: 6b14f4acc528b4bfb7d3170c0b80831ffb8475f7c8a7f5f41f9fb0aa78ef3ff1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff840bec755cf9124dfc6c16845b92ac2af3cb3bebd6fe812adae4b1888b2bb31af577d797f41f326c3511b79dd4f5f1f80e06b133e000167c8b50c137384573
|
7
|
+
data.tar.gz: 74c3b5c8e7c03073473987bba0607974299fd3e243c292e7e6c4371a6c8e0d9c5c71664574ac820c63c51aeb6d9af8f1d95bfa46165cd755606b326542efd4d7
|
data/bin/asciibinder
CHANGED
@@ -300,7 +300,7 @@ if cmd == 'clone'
|
|
300
300
|
Dir.chdir(docs_basedir)
|
301
301
|
puts "Tracking branch setup:"
|
302
302
|
cloned_map.distro_branches.each do |doc_branch|
|
303
|
-
next if doc_branch == '
|
303
|
+
next if doc_branch == 'main'
|
304
304
|
puts "- #{doc_branch}"
|
305
305
|
system("git branch #{doc_branch} origin/#{doc_branch}")
|
306
306
|
end
|
data/features/support/env.rb
CHANGED
@@ -299,9 +299,9 @@ module Helpers
|
|
299
299
|
end
|
300
300
|
system("cd #{working_dir} && git add . > /dev/null && git commit -am 'test commit' > /dev/null")
|
301
301
|
if multiple_distros
|
302
|
-
system("cd #{working_dir} && git checkout -b branch1 > /dev/null 2>&1 && git checkout -b branch2 > /dev/null 2>&1 && git checkout
|
302
|
+
system("cd #{working_dir} && git checkout -b branch1 > /dev/null 2>&1 && git checkout -b branch2 > /dev/null 2>&1 && git checkout main > /dev/null 2>&1")
|
303
303
|
end
|
304
|
-
set_initial_working_branch('
|
304
|
+
set_initial_working_branch('main')
|
305
305
|
end
|
306
306
|
working_dir
|
307
307
|
end
|
@@ -325,7 +325,7 @@ module Helpers
|
|
325
325
|
if run_command('create',[],remote_dir)[:status].exitstatus == 0
|
326
326
|
clone_map = File.join(gem_root,'features','support','_clone_distro_map.yml')
|
327
327
|
FileUtils.cp(clone_map,File.join(remote_dir,'_distro_map.yml'))
|
328
|
-
system("cd #{remote_dir} && git add . > /dev/null && git commit -am 'remote commit' > /dev/null && git checkout -b branch1 > /dev/null 2>&1 && git checkout
|
328
|
+
system("cd #{remote_dir} && git add . > /dev/null && git commit -am 'remote commit' > /dev/null && git checkout -b branch1 > /dev/null 2>&1 && git checkout main > /dev/null 2>&1")
|
329
329
|
else
|
330
330
|
puts "ERROR: Could not initialize remote repo"
|
331
331
|
exit 1
|
data/lib/ascii_binder/engine.rb
CHANGED
@@ -467,7 +467,7 @@ module AsciiBinder
|
|
467
467
|
|
468
468
|
doc = without_warnings { Asciidoctor.load topic_file, :header_footer => false, :safe => :unsafe, :attributes => page_attrs, :base_dir => "." }
|
469
469
|
article_title = doc.doctitle || topic.name
|
470
|
-
|
470
|
+
|
471
471
|
topic_html = doc.render
|
472
472
|
|
473
473
|
# This is logic bridges newer arbitrary-depth-tolerant code to
|
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.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- N. Harrison Ripps
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2021-
|
15
|
+
date: 2021-07-27 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: bundler
|