giblish 0.1.0 → 0.2.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/README.adoc +10 -7
- data/exe/giblish +1 -1
- data/giblish.gemspec +38 -0
- data/lib/giblish/cmdline.rb +1 -1
- data/lib/giblish/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c1d5e8ce27759c92ef00a7bda9c9ae6e3d69483
|
4
|
+
data.tar.gz: 3e9016f5d0aa4b03c0d6e81754aa99c61ff79510
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a1ca8cec27424a8407241b1d17d0858c0df69115e5c7aa07b04fdb9807d0263d97199c686aa89ed046bdedbfe806a9f4966954e2c91f98f4150ae42ba8e434e
|
7
|
+
data.tar.gz: ebf199c07da5b543696f2a10dc61d791ba7c38a1b0182c059a41161c402f823fb1b199edaa892e59b955aed4f88bc5bb690eb238c571b434aa8ffa0f48094c52
|
data/README.adoc
CHANGED
@@ -11,9 +11,9 @@ regexp (see examples below).
|
|
11
11
|
|
12
12
|
== Dependencies and credits
|
13
13
|
|
14
|
-
Giblish is basically a
|
15
|
-
asciidoctor-pdf projects. Thank you @mojavelinux and others for
|
16
|
-
brilliant tools!!
|
14
|
+
Giblish is basically a wrapper (with some extra candy) around the awesome
|
15
|
+
*asciidoctor* and *asciidoctor-pdf* projects. Thank you @mojavelinux and others for
|
16
|
+
making these brilliant tools available!!
|
17
17
|
|
18
18
|
== Installation
|
19
19
|
|
@@ -60,8 +60,11 @@ to this css. Fonts and images used from the css must be found under
|
|
60
60
|
|
61
61
|
The above will check-out all branches matching the regexp "feature" and convert
|
62
62
|
the .adoc or .ADOC files under the dir `my_src_root` to html and place the
|
63
|
-
resulting files under the `my_dst_root/<branch_name>` dir.
|
64
|
-
|
65
|
-
|
66
|
-
|
63
|
+
resulting files under the `my_dst_root/<branch_name>` dir.
|
64
|
+
|
65
|
+
An index page named `index.html` is generated in each `my_dst_root/<branch_name`
|
66
|
+
dir containing links and some info about the converted files.
|
67
|
+
|
68
|
+
A summary page containing links to all branches will be generated directly in
|
69
|
+
the `my_dst_root` dir.
|
67
70
|
====
|
data/exe/giblish
CHANGED
data/giblish.gemspec
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'giblish/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "giblish"
|
8
|
+
spec.version = Giblish::VERSION
|
9
|
+
spec.authors = ["Anders Rillbert"]
|
10
|
+
spec.email = ["anders.rillbert@kutso.se"]
|
11
|
+
|
12
|
+
spec.summary = %q{A tool for publishing asciidoc docs stored in git repos}
|
13
|
+
spec.description = %q{TBD...}
|
14
|
+
spec.homepage = "http://www.example.com"
|
15
|
+
spec.license = "MIT"
|
16
|
+
|
17
|
+
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
18
|
+
# delete this section to allow pushing this gem to any host.
|
19
|
+
# if spec.respond_to?(:metadata)
|
20
|
+
# spec.metadata['allowed_push_host'] = "https://gems.my-company.example"
|
21
|
+
# else
|
22
|
+
# raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
23
|
+
# end
|
24
|
+
|
25
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
spec.bindir = "exe"
|
27
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
|
+
spec.require_paths = ["lib"]
|
29
|
+
|
30
|
+
spec.add_development_dependency "bundler", "~> 1.11"
|
31
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
32
|
+
spec.add_development_dependency "minitest", "~> 5.0"
|
33
|
+
|
34
|
+
# Usage: spec.add_runtime_dependency "[gem name]", [[version]]
|
35
|
+
spec.add_runtime_dependency "git", "~> 1.3"
|
36
|
+
spec.add_runtime_dependency "asciidoctor", "~> 1.5"
|
37
|
+
spec.add_runtime_dependency "asciidoctor-pdf", [">= 1.5.0.alpha.15"]
|
38
|
+
end
|
data/lib/giblish/cmdline.rb
CHANGED
data/lib/giblish/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: giblish
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Anders Rillbert
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- bin/console
|
111
111
|
- bin/setup
|
112
112
|
- exe/giblish
|
113
|
+
- giblish.gemspec
|
113
114
|
- lib/giblish.rb
|
114
115
|
- lib/giblish/application.rb
|
115
116
|
- lib/giblish/buildindex.rb
|