publican_creators 1.1.1 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/.autotest DELETED
@@ -1,25 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- require "autotest/restart"
4
-
5
- # Autotest.add_hook :initialize do |at|
6
- # at.testlib = "minitest/unit"
7
- #
8
- # at.extra_files << "../some/external/dependency.rb"
9
- #
10
- # at.libs << ":../some/external"
11
- #
12
- # at.add_exception "vendor"
13
- #
14
- # at.add_mapping(/dependency.rb/) do |f, _|
15
- # at.files_matching(/test_.*rb$/)
16
- # end
17
- #
18
- # %w(TestA TestB).each do |klass|
19
- # at.extra_class_map[klass] = "test/test_misc.rb"
20
- # end
21
- # end
22
-
23
- # Autotest.add_hook :run_command do |at|
24
- # system "rake build"
25
- # end
@@ -1,8 +0,0 @@
1
- #Save as .codeclimate.yml (note leading .) in project root directory
2
- languages:
3
- Ruby: true
4
- #avaScript: true
5
- #HP: true
6
- #ython: true
7
- # exclude_paths:
8
- # - "foo/bar.rb"
@@ -1,2 +0,0 @@
1
- service_name: travis-ci
2
- repo_token: 9CMCCcz9vDkockhQPsGJOhVGeBQjla6CQ
@@ -1,5 +0,0 @@
1
- # api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
2
- api_key: c916184c3e0892558476535b216f7442 # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
3
- project_name: publican_creators # A name to remember your project.
4
- project_slug: saigkill/publican_creators # Unique slug for this project. Get it on the "project settings" page.
5
- project_branch: master # /!\ If you don't use git, remove this line
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --format progress
@@ -1,40 +0,0 @@
1
- AllCops:
2
-
3
- Include:
4
- - 'lib/**/*.rb'
5
- - 'spec/**/*.rb'
6
-
7
- Exclude:
8
- - 'Rakefile'
9
- - 'spec/The_holy_Bible/*'
10
-
11
- DisplayCopNames: true
12
-
13
- Metrics/LineLength:
14
- Enabled: true
15
- Max: 80
16
-
17
- Metrics/CyclomaticComplexity:
18
- Severity: warning
19
-
20
- Style/PerlBackrefs:
21
- AutoCorrect: true
22
-
23
- Metrics/ParameterLists:
24
- Max: 10
25
- CountKeywordArgs: true
26
-
27
- Metrics/ClassLength:
28
- CountComments: false # count full line comments?
29
- Max: 150
30
-
31
- Metrics/ModuleLength:
32
- CountComments: false # count full line comments?
33
- Max: 190
34
-
35
- Metrics/MethodLength:
36
- CountComments: false # count full line comments?
37
- Max: 20
38
-
39
- Style/RedundantReturn:
40
- Enabled: false
@@ -1,21 +0,0 @@
1
- build:
2
- environment:
3
- ruby: '2.2.3'
4
-
5
- checks:
6
- ruby:
7
- code_rating: true
8
- duplicate_code: true
9
- style_while_until_do: true
10
- style_signal_exception:
11
- enforced_style: semantic
12
- style_redundant_exception: true
13
- style_raise_args:
14
- enforced_style: exploded
15
- style_predicate_name: true
16
- style_comment_annotation: true
17
- rails_output: true
18
-
19
- filter:
20
- excluded_paths:
21
- - 'spec/*'
@@ -1,37 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2.0
4
- - 2.2.1
5
- - 2.2.2
6
- - 2.2.3
7
-
8
- dist: trusty
9
- sudo: required
10
-
11
- os:
12
- - linux
13
-
14
- env:
15
- global:
16
- - JRUBY_OPTS=-Xcext.enabled=true
17
- - CI=true
18
- - TRAVIS=true
19
- - LANG=en_US.UTF-8
20
- - LC_ALL=en_US.UTF-8
21
-
22
- before_install:
23
- - gem install bundler
24
- - sudo apt-get update
25
- - sudo apt-get install software-properties-common -y
26
- - sudo apt-get install publican -y
27
- - sudo add-apt-repository ppa:sascha-manns-h/publican -y
28
- - sudo apt-get update
29
- - sudo apt-get install --only-upgrade publican -y
30
- - sudo apt-get install publican-xcom-dummy publican-manns publican-ils -y
31
-
32
- after_success:
33
- - CI=true TRAVIS=true coveralls --verbose
34
-
35
- notifications:
36
- email:
37
- - samannsml@directbox.com
data/.yardopts DELETED
@@ -1,9 +0,0 @@
1
- bin/PublicanCreators.rb
2
- bin/RevisionCreator.rb
3
- bin/setup.sh
4
- lib/**/*.rb
5
- -
6
- CHANGELOG.md
7
- CODE_OF_CONDUCT.md
8
- LICENSE.md
9
- README.rdoc
@@ -1,17 +0,0 @@
1
- # @markup markdown
2
- # @title Code of Conduct
3
- # @author Sascha Manns
4
-
5
- # Contributor Code of Conduct
6
-
7
- As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
8
-
9
- We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, age, or religion.
10
-
11
- Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
12
-
13
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
14
-
15
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
16
-
17
- This Code of Conduct is adapted from the [Contributor Covenant](http:contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
data/Gemfile DELETED
@@ -1,32 +0,0 @@
1
- # -*- ruby -*-
2
-
3
- # DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
4
-
5
- source "https://rubygems.org/"
6
-
7
- gem "setup", "~>5.2"
8
- gem "nokogiri", "~>1.6"
9
- gem "parseconfig", "~>1.0"
10
- gem "rainbow", "~>2.1"
11
- gem "notifier", "~>0.5"
12
-
13
- gem "hoe-highline", "~>0.2", :group => [:development, :test]
14
- gem "rdoc", "~>4.0", :group => [:development, :test]
15
- gem "coveralls", "~>0.8", :group => [:development, :test]
16
- gem "hoe-bundler", "~>1.3", :group => [:development, :test]
17
- gem "hoe-git", "~>1.6", :group => [:development, :test]
18
- gem "hoe-rubygems", "~>1.0", :group => [:development, :test]
19
- gem "hoe-manns", "~>1.5", :group => [:development, :test]
20
- gem "hoe-reek", "~>1.1", :group => [:development, :test]
21
- gem "hoe-rubocop", "~>1.0", :group => [:development, :test]
22
- gem "hoe-version", "~>1.2", :group => [:development, :test]
23
- gem "hoe-seattlerb", "~>1.3", :group => [:development, :test]
24
- gem "hoe", "~>3.15", :group => [:development, :test]
25
- gem "rake", "~>11.2", :group => [:development, :test]
26
- gem "manns_shared", "~>1.0", :group => [:development, :test]
27
- gem "bundler", "~>1.11", :group => [:development, :test]
28
- gem "rspec", "~>3.5", :group => [:development, :test]
29
- gem "rubocop", "~>0.42", :group => [:development, :test]
30
- gem "simplecov", "~>0.12", :group => [:development, :test]
31
-
32
- # vim: syntax=ruby
@@ -1,136 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- ast (2.3.0)
5
- axiom-types (0.1.1)
6
- descendants_tracker (~> 0.0.4)
7
- ice_nine (~> 0.11.0)
8
- thread_safe (~> 0.3, >= 0.3.1)
9
- bundler-audit (0.5.0)
10
- bundler (~> 1.2)
11
- thor (~> 0.18)
12
- codeclimate-engine-rb (0.4.0)
13
- virtus (~> 1.0)
14
- coercible (1.0.0)
15
- descendants_tracker (~> 0.0.1)
16
- coveralls (0.8.19)
17
- json (>= 1.8, < 3)
18
- simplecov (~> 0.12.0)
19
- term-ansicolor (~> 1.3)
20
- thor (~> 0.19.1)
21
- tins (~> 1.6)
22
- descendants_tracker (0.0.4)
23
- thread_safe (~> 0.3, >= 0.3.1)
24
- diff-lcs (1.3)
25
- docile (1.1.5)
26
- equalizer (0.0.11)
27
- highline (1.7.8)
28
- hoe (3.16.0)
29
- rake (>= 0.8, < 13.0)
30
- hoe-bundler (1.3.0)
31
- hoe (>= 2.2.0)
32
- hoe-git (1.6.0)
33
- hoe-highline (0.2.1)
34
- highline (~> 1.6)
35
- hoe (~> 3.11)
36
- hoe-manns (1.6.1)
37
- bundler-audit (~> 0.5)
38
- parseconfig (~> 1.0)
39
- rainbow (~> 2.1)
40
- hoe-reek (1.1.7)
41
- bundler (~> 1.11)
42
- reek (~> 4.4)
43
- hoe-rubocop (1.0.7)
44
- bundler (~> 1.11)
45
- rubocop (~> 0.42)
46
- hoe-rubygems (1.0.0)
47
- hoe-seattlerb (1.3.5)
48
- hoe-version (1.2.0)
49
- ice_nine (0.11.2)
50
- json (2.0.3)
51
- manns_shared (1.0.7)
52
- nokogiri (~> 1.6)
53
- setup (~> 5.2)
54
- mini_portile2 (2.1.0)
55
- nokogiri (1.7.0.1)
56
- mini_portile2 (~> 2.1.0)
57
- notifier (0.5.2)
58
- parseconfig (1.0.8)
59
- parser (2.4.0.0)
60
- ast (~> 2.2)
61
- powerpack (0.1.1)
62
- rainbow (2.2.1)
63
- rake (11.3.0)
64
- rdoc (4.3.0)
65
- reek (4.5.6)
66
- codeclimate-engine-rb (~> 0.4.0)
67
- parser (>= 2.3.1.2, < 2.5)
68
- rainbow (~> 2.0)
69
- rspec (3.5.0)
70
- rspec-core (~> 3.5.0)
71
- rspec-expectations (~> 3.5.0)
72
- rspec-mocks (~> 3.5.0)
73
- rspec-core (3.5.4)
74
- rspec-support (~> 3.5.0)
75
- rspec-expectations (3.5.0)
76
- diff-lcs (>= 1.2.0, < 2.0)
77
- rspec-support (~> 3.5.0)
78
- rspec-mocks (3.5.0)
79
- diff-lcs (>= 1.2.0, < 2.0)
80
- rspec-support (~> 3.5.0)
81
- rspec-support (3.5.0)
82
- rubocop (0.47.1)
83
- parser (>= 2.3.3.1, < 3.0)
84
- powerpack (~> 0.1)
85
- rainbow (>= 1.99.1, < 3.0)
86
- ruby-progressbar (~> 1.7)
87
- unicode-display_width (~> 1.0, >= 1.0.1)
88
- ruby-progressbar (1.8.1)
89
- setup (5.2.0)
90
- simplecov (0.12.0)
91
- docile (~> 1.1.0)
92
- json (>= 1.8, < 3)
93
- simplecov-html (~> 0.10.0)
94
- simplecov-html (0.10.0)
95
- term-ansicolor (1.4.0)
96
- tins (~> 1.0)
97
- thor (0.19.4)
98
- thread_safe (0.3.6)
99
- tins (1.13.2)
100
- unicode-display_width (1.1.3)
101
- virtus (1.0.5)
102
- axiom-types (~> 0.1)
103
- coercible (~> 1.0)
104
- descendants_tracker (~> 0.0, >= 0.0.3)
105
- equalizer (~> 0.0, >= 0.0.9)
106
-
107
- PLATFORMS
108
- ruby
109
-
110
- DEPENDENCIES
111
- bundler (~> 1.11)
112
- coveralls (~> 0.8)
113
- hoe (~> 3.15)
114
- hoe-bundler (~> 1.3)
115
- hoe-git (~> 1.6)
116
- hoe-highline (~> 0.2)
117
- hoe-manns (~> 1.5)
118
- hoe-reek (~> 1.1)
119
- hoe-rubocop (~> 1.0)
120
- hoe-rubygems (~> 1.0)
121
- hoe-seattlerb (~> 1.3)
122
- hoe-version (~> 1.2)
123
- manns_shared (~> 1.0)
124
- nokogiri (~> 1.6)
125
- notifier (~> 0.5)
126
- parseconfig (~> 1.0)
127
- rainbow (~> 2.1)
128
- rake (~> 11.2)
129
- rdoc (~> 4.0)
130
- rspec (~> 3.5)
131
- rubocop (~> 0.42)
132
- setup (~> 5.2)
133
- simplecov (~> 0.12)
134
-
135
- BUNDLED WITH
136
- 1.13.6
@@ -1,24 +0,0 @@
1
- = LICENSE:
2
-
3
- (The MIT License)
4
-
5
- Copyright (c) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
6
-
7
- Permission is hereby granted, free of charge, to any person obtaining
8
- a copy of this software and associated documentation files (the
9
- 'Software'), to deal in the Software without restriction, including
10
- without limitation the rights to use, copy, modify, merge, publish,
11
- distribute, sublicense, and/or sell copies of the Software, and to
12
- permit persons to whom the Software is furnished to do so, subject to
13
- the following conditions:
14
-
15
- The above copyright notice and this permission notice shall be
16
- included in all copies or substantial portions of the Software.
17
-
18
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
19
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
21
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
22
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
23
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
24
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,36 +0,0 @@
1
- .autotest
2
- .codeclimate.yml
3
- .coveralls.yml
4
- .gemnasium.yml
5
- .rspec
6
- .rubocop.yml
7
- .scrutinizer.yml
8
- .travis.yml
9
- .yardopts
10
- CODE_OF_CONDUCT.md
11
- CONTRIBUTING.md
12
- Gemfile
13
- Gemfile.lock
14
- History.rdoc
15
- LICENSE.rdoc
16
- Manifest.txt
17
- README.rdoc
18
- Rakefile
19
- bin/publican_creators.rb
20
- bin/revision_creator.rb
21
- config.reek
22
- data/publican_creators/publican-revision.png
23
- data/publican_creators/publican.png
24
- etc/publicancreators.cfg
25
- lib/publican_creators.rb
26
- lib/publican_creators/change.rb
27
- lib/publican_creators/checker.rb
28
- lib/publican_creators/create.rb
29
- lib/publican_creators/export.rb
30
- lib/publican_creators/get.rb
31
- lib/publican_creators/notifier.rb
32
- lib/publican_creators/prepare.rb
33
- lib/publican_creators/revision.rb
34
- lib/publican_creators/testlib.rb
35
- spec/lib_spec.rb
36
- spec/spec_helper.rb
@@ -1,99 +0,0 @@
1
- = publican_creators
2
-
3
- home :: http://saigkill.tuxfamily.org
4
- code :: https://github.com/saigkill/publican_creators
5
- openhub statistics :: https://www.openhub.net/p/publican_creators
6
- min. rubyver :: 2.2.0
7
- license :: {<img src="http://img.shields.io/:license-mit-blue.svg" />}[https://gitlab.com/saigkill/publican_creators/blob/master/LICENSE.rdoc]
8
- last public version :: {<img src="https://badge.fury.io/rb/publican_creators.png" alt="Build Status" />}[http://rubygems.org/gems/publican_creators]
9
- downloads latest :: {<img src="https://img.shields.io/gem/dtv/publican_creators.svg" alt="Build Status" />}[http://rubygems.org/gems/publican_creators]
10
- downloads all :: {<img src="https://img.shields.io/gem/dt/publican_creators.svg" alt="Build Status" />}[http://rubygems.org/gems/publican_creators]
11
- continuous integration :: {<img src="https://secure.travis-ci.org/saigkill/publican_creators.png?branch=master" alt="Build Status" />}[https://secure.travis-ci.org/saigkill/publican_creators]
12
- continuous integration :: {<img src="https://scrutinizer-ci.com/g/saigkill/publican_creators/badges/build.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/publican_creators/]
13
- code quality :: {<img src="https://scrutinizer-ci.com/g/saigkill/publican_creators/badges/quality-score.png?b=master" />}[https://scrutinizer-ci.com/g/saigkill/publican_creators/]
14
- code quality :: {<img src="https://codeclimate.com/github/saigkill/PublicanCreators/badges/gpa.svg" alt="Code Quality" />}[https://codeclimate.com/github/saigkill/PublicanCreators]
15
- security :: {<img src="https://hakiri.io/github/saigkill/publican_creators/master.svg" alt="security" />}[https://hakiri.io/github/saigkill/publican_creators/master]
16
- test coverage :: {<img src="https://coveralls.io/repos/saigkill/PublicanCreators/badge.svg?branch=master&service=github" alt="Test Coverage" />}[https://coveralls.io/github/saigkill/PublicanCreators]
17
- dependency check :: {<img src="https://gemnasium.com/saigkill/publican_creators.svg" alt="Dependency Status" />}[https://gemnasium.com/saigkill/publican_creators]
18
- documentation quality :: {<img src="http://inch-ci.org/github/saigkill/PublicanCreators.svg?branch=master" alt="Documentation Quality" />}[http://inch-ci.org/github/saigkill/PublicanCreators]
19
- donations :: {<img src="https://pledgie.com/campaigns/29306.png?skin_name=chrome" alt="Build Status" />}[https://pledgie.com/campaigns/29306]
20
- donations :: {<img src="https://saigkill.tuxfamily.org/dotclear/public/Amazon.png" alt="Build Status" />}[http://www.amazon.de/registry/wishlist/D75HOEQ00BDD]
21
-
22
- == DESCRIPTION:
23
-
24
- PublicanCreators are a small tool for daily DocBook writers who are using the Redhat publican tool https://fedorahosted.org/publican/. PublicanCreators asks after
25
- launching which title, type and environment should be used. Then it starts publican with that settings and works then with the produced files.
26
- It will work inside the Article_Info.xml, Book_Info.xml, TITLE.ent, Author_Group.xml and Revision_History.xml and
27
- will replace the default values with your name, your company, your company_divison and your private or your business
28
- email address, depending on your chosen environment. Also you can set inside your config file that you want to remove
29
- the Title Logo or the Legal Notice. As a feature it ships a build script for each project.
30
-
31
- == INFORMATION:
32
-
33
- publican_creators (in this case a Rubygem) don't would be updated anymore. The project itself continues with the new
34
- C#-GNOME-App "PublicanCreators" at https://github.com/saigkill/PublicanCreators.
35
-
36
- == FEATURES/PROBLEMS:
37
-
38
- * GUI to control publican
39
-
40
- == SYNOPSIS:
41
-
42
- publican_creators.rb (Main program)
43
- revision_creator.rb (The revision updater)
44
-
45
- Or just use the Launcher.
46
-
47
- == REQUIREMENTS:
48
-
49
- * nokogiri
50
- * parseconfig
51
- * rainbow
52
- * manns_shared
53
- * setup
54
- * notifier
55
-
56
- == REQUIREMENTS (hard)
57
-
58
- * yad
59
- * publican (a 4.x version is needed). If you use Ubuntu you can use the ppa ppa:sascha-manns-h/publican.
60
-
61
- == INSTALL:
62
-
63
- The installation is very easy.
64
-
65
- gem install publican_creators
66
- cd /path/to/gem (In case of using RVM ~/.rvm/gems/ruby-2.2.1/gems/publican_creators)
67
- rake
68
-
69
- Read the documentation at: https://saigkill.github.io/docs/publicancreators/en-US/html/
70
-
71
- You have to run the setup after each gem update.
72
-
73
- If you like this gem, don't forget to give the GitLab repo a start :-)
74
-
75
-
76
- == LICENSE:
77
-
78
- (The MIT License)
79
-
80
- Copyright (c) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
81
-
82
- Permission is hereby granted, free of charge, to any person obtaining
83
- a copy of this software and associated documentation files (the
84
- 'Software'), to deal in the Software without restriction, including
85
- without limitation the rights to use, copy, modify, merge, publish,
86
- distribute, sublicense, and/or sell copies of the Software, and to
87
- permit persons to whom the Software is furnished to do so, subject to
88
- the following conditions:
89
-
90
- The above copyright notice and this permission notice shall be
91
- included in all copies or substantial portions of the Software.
92
-
93
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
94
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
95
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
96
- IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
97
- CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
98
- TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
99
- SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.