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.
@@ -1,13 +1,22 @@
1
- # PublicanCreatorsGet
2
- # @author Sascha Manns
3
- # @abstract Class for gathering information from config file and user input
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
4
2
  #
5
- # Copyright (C) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
6
- # License: MIT
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
7
15
 
8
16
  # Dependencies
9
17
 
10
18
  require 'parseconfig'
19
+ require 'xdg'
11
20
 
12
21
  # This method provides methods for user inputs
13
22
  module PublicanCreatorsGet
@@ -21,14 +30,14 @@ module PublicanCreatorsGet
21
30
  --field="Type:CBE" --field="Optional:CBE" --field="Enter a title name \
22
31
  (with underscores instead of blanks and without umlauts):TEXT" \
23
32
  --field="Please file bugs or feature requests \
24
- on http://saigkill-bugs.myjetbrains.com/youtrack/:LBL" --button="Go!" "Work,Private" \
33
+ on https://bugs.launchpad.net/publicancreators:LBL" --button="Go!" "Work,Private" \
25
34
  "Article,Book" "Normal,Report,Homework"`
26
35
  # @note Format: Work/Private Article/Book title!Normal Report Homework
27
36
  # @note Cleanup the array
28
37
  environment, type, opt, titlefix = titlein.chomp.split('|')
29
38
 
30
39
  # @note replace blanks with underscores
31
- title = titlefix.gsub(/ /, '_')
40
+ title = titlefix.tr(' ', '_')
32
41
 
33
42
  [environment, type, opt, title]
34
43
  end
@@ -58,8 +67,9 @@ entering Revision textes with blanks.:LBL" --button="Go!"`
58
67
  # @return [String] language
59
68
  def self.config_revision
60
69
  include ParseConfig
61
- home = Dir.home
62
- config = ParseConfig.new("#{home}/.publican_creators/publicancreators.cfg")
70
+ xdg = XDG::Environment.new
71
+ sys_xdg = xdg.config_home
72
+ config = ParseConfig.new("#{sys_xdg}/publican_creators/publicancreators.cfg")
63
73
  language = config['language']
64
74
  puts language
65
75
  end
@@ -1,26 +1,33 @@
1
- #!/usr/bin/env ruby
2
- # encoding: utf-8
3
- # @author Sascha Manns
4
- # @abstract Notifier Module for latex_curriculum_vitae
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
5
2
  #
6
- # Copyright (C) 2015-2016 Sascha Manns <Sascha.Manns@mailbox.org>
7
- # License: MIT
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
8
15
 
9
16
  # Dependencies
10
-
11
- # Module for notify the user
12
17
  require 'notifier'
18
+ require 'xdg'
13
19
 
20
+ # Module for notify the user
14
21
  module Notifier
15
22
  def self.run
16
- home = Dir.home
17
- prefix = "#{home}/.rvm/rubies/default"
18
- datadir = "#{prefix}/share"
19
- img = "#{datadir}/.publican_creators/publican.png"
23
+ xdg = XDG::Environment.new
24
+ data_xdg = xdg.data_home
25
+ install_path = "#{data_xdg}/icons/"
26
+ img = "#{install_path}/publican.png"
20
27
  Notifier.notify(
21
- :image => "#{img}",
22
- :title => "Your Documentation",
23
- :message => "The preparation of your Documentation is finished."
28
+ image: img.to_s,
29
+ title: 'Your Documentation',
30
+ message: 'The preparation of your Documentation is finished.'
24
31
  )
25
32
  end
26
- end
33
+ end
@@ -1,9 +1,17 @@
1
- # PublicanCreatorsPrepare
2
- # @author Sascha Manns
3
- # @abstract Class for preparing the configuration
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
4
2
  #
5
- # Copyright (C) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
6
- # License: MIT
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
7
15
 
8
16
  # Dependencies
9
17
 
@@ -11,6 +19,7 @@
11
19
  # will be used in the make directory function
12
20
  module PublicanCreatorsPrepare
13
21
  # This method sets the needed targetdir depending on the environment
22
+ # @param [String] environment Work or Private
14
23
  # @param [String] type represents the Document-Type like Article or Book.
15
24
  # @param [String] reports_dir_business contains the directory to your reports
16
25
  # @param [String] articles_dir_bus represents the directory for your articles
@@ -27,9 +36,11 @@ module PublicanCreatorsPrepare
27
36
  # books_dir
28
37
  # @return [String] targetdir
29
38
  def self.targetdir(environment, type, report, reports_dir_business,
30
- articles_dir_bus, books_dir_business, homework,
31
- articles_dir_private, homework_dir_private, books_dir_private)
39
+ articles_dir_bus, books_dir_business, homework,
40
+ articles_dir_private, homework_dir_private, books_dir_private)
32
41
  home = Dir.home
42
+ # TODO: Try to fix this in future
43
+ # rubocop:disable Style/IfInsideElse
33
44
  if environment == 'Work'
34
45
  if type == 'Article'
35
46
  targetdir_work(report, reports_dir_business, articles_dir_bus)
@@ -39,8 +50,7 @@ module PublicanCreatorsPrepare
39
50
  end
40
51
  else
41
52
  if type == 'Article'
42
- targetdir_private(homework, articles_dir_private,
43
- homework_dir_private)
53
+ targetdir_private(homework, articles_dir_private, homework_dir_private)
44
54
  else
45
55
  books_dir = "#{home}/#{books_dir_private}"
46
56
  return books_dir
@@ -49,17 +59,17 @@ module PublicanCreatorsPrepare
49
59
  end
50
60
 
51
61
  # Prepares the articles_dir for work environment
52
- # @param [String] reports_dir_business contains the directory to your reports
53
- # @param [String] articles_dir_bus represents the directory for your articles
54
62
  # @param [String] report contains a true or false. There you can set if the
55
63
  # new Publication is a Report or not.
64
+ # @param [String] reports_dir_business contains the directory to your reports
65
+ # @param [String] articles_dir_bus represents the directory for your articles
56
66
  def self.targetdir_work(report, reports_dir_business, articles_dir_bus)
57
67
  home = Dir.home
58
- if report == 'TRUE'
59
- articles_dir = "#{home}/#{reports_dir_business}"
60
- else
61
- articles_dir = "#{home}/#{articles_dir_bus}"
62
- end
68
+ articles_dir = if report == 'TRUE'
69
+ "#{home}/#{reports_dir_business}"
70
+ else
71
+ "#{home}/#{articles_dir_bus}"
72
+ end
63
73
  return articles_dir
64
74
  end
65
75
 
@@ -69,14 +79,13 @@ module PublicanCreatorsPrepare
69
79
  # @param [String] articles_dir_private contains the path to your private
70
80
  # articles_dir
71
81
  # @param [String] homework_dir_private contains the path to your homework dir.
72
- def self.targetdir_private(homework, articles_dir_private,
73
- homework_dir_private)
82
+ def self.targetdir_private(homework, articles_dir_private, homework_dir_private)
74
83
  home = Dir.home
75
- if homework == 'FALSE'
76
- articles_dir = "#{home}/#{articles_dir_private}"
77
- else
78
- articles_dir = "#{home}/#{homework_dir_private}"
79
- end
84
+ articles_dir = if homework == 'FALSE'
85
+ "#{home}/#{articles_dir_private}"
86
+ else
87
+ "#{home}/#{homework_dir_private}"
88
+ end
80
89
  return articles_dir
81
90
  end
82
91
  end
@@ -1,36 +1,33 @@
1
- # @author Sascha Manns
2
- # @abstract Class RevisionCreator for PublicanCreator
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
3
2
  #
4
- # Copyright (C) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
5
- # License: MIT
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
6
7
  #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
7
16
  # Dependencies
8
17
  require 'fileutils'
9
18
  require 'rainbow/ext/string'
10
- require File.expand_path(File.join(File.dirname(__FILE__), 'change.rb'))
11
- require File.expand_path(File.join(File.dirname(__FILE__), 'get.rb'))
19
+ require_relative 'change'
20
+ require_relative 'get'
12
21
 
13
22
  # A class for creating a revison to a publican project
14
23
  class RevisionCreator
15
24
  # @note Ask for the revision information
16
- null, directory, member1, member2, member3, member4, member5,
17
- revnumber = PublicanCreatorsGet.revision
25
+ # rubocop:disable Layout/UselessAssignment
26
+ null, directory, member1, member2, member3, member4, member5, revnumber = PublicanCreatorsGet.revision
18
27
  language = PublicanCreatorsGet.config_revision
19
28
 
20
29
  revision, edition = revnumber.split('-')
21
30
 
22
- puts "Directory: #{directory}"
23
- puts "Member1: #{member1}"
24
- puts "Member2: #{member2}"
25
- puts "Member3: #{member3}"
26
- puts "Member4: #{member4}"
27
- puts "Member5: #{member5}"
28
- puts "Language: #{language}"
29
- puts "Revnumber: #{revnumber}"
30
- puts "Revision: #{revision}"
31
- puts "Edition: #{edition}"
32
- puts null
33
-
34
31
  # This method prepares the string for adding a new revision
35
32
  # @param [String] member1 is the first string into revdescription
36
33
  # @param [String] member2 is the second string into revdescription
@@ -40,8 +37,7 @@ class RevisionCreator
40
37
  # @param [String] revnumber is the revision number
41
38
  # @param [String] language is the language. Comes from config file.
42
39
  # @return [String] string is that string for creating the commit
43
- def self.prepare_revision(member1, member2, member3, member4, member5,
44
- revnumber, language)
40
+ def self.prepare_revision(member1, member2, member3, member4, member5, revnumber, language)
45
41
  string = "--member \"#{member1}\""
46
42
  string << " --member \"#{member2}\"" if member2 != ''
47
43
  string << " --member \"#{member3}\"" if member3 != ''
@@ -53,8 +49,7 @@ class RevisionCreator
53
49
 
54
50
  # This method changes to the target directory
55
51
  FileUtils.cd(directory) do
56
- string = prepare_revision(member1, member2, member3, member4, member5,
57
- revnumber, language)
52
+ string = prepare_revision(member1, member2, member3, member4, member5, revnumber, language)
58
53
  PublicanCreatorsChange.replace_productnumber(revision, edition, language)
59
54
  system("publican add_revision #{string}")
60
55
  end
@@ -1,10 +1,17 @@
1
- # Testing Module for PublicanCreators
2
- # PublicanCreatorsChange
3
- # @author Sascha Manns
4
- # @abstract Class for all file changes
1
+ # Copyright (C) 2013-2020 Sascha Manns <Sascha.Manns@outlook.de>
5
2
  #
6
- # Copyright (C) 2015-2017 Sascha Manns <Sascha.Manns@mailbox.org>
7
- # License: MIT
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
8
15
 
9
16
  # Dependencies
10
17
  require 'fileutils'
@@ -0,0 +1,35 @@
1
+ # Copyright (C) 2015-2019 Sascha Manns <Sascha.Manns@outlook.de>
2
+ #
3
+ # This program is free software: you can redistribute it and/or modify
4
+ # it under the terms of the GNU General Public License as published by
5
+ # the Free Software Foundation, either version 3 of the License, or
6
+ # (at your option) any later version.
7
+ #
8
+ # This program is distributed in the hope that it will be useful,
9
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
10
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
+ # GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License
14
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
15
+
16
+ # main module
17
+ module PublicanCreators
18
+ # This module holds the latex_curriculum_vitae version information.
19
+
20
+ module Version
21
+ STRING = '1.2.5'.freeze
22
+ MSG = '%<version>s (using Parser %<parser_version>s, running on ' \
23
+ '%<ruby_engine>s %<ruby_version>s %<ruby_platform>s)'.freeze
24
+
25
+ def self.version(debug = false)
26
+ if debug
27
+ format(MSG, version: STRING, parser_version: Parser::VERSION,
28
+ ruby_engine: RUBY_ENGINE, ruby_version: RUBY_VERSION,
29
+ ruby_platform: RUBY_PLATFORM)
30
+ else
31
+ STRING
32
+ end
33
+ end
34
+ end
35
+ end
metadata CHANGED
@@ -1,59 +1,59 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publican_creators
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sascha Manns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-23 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: setup
14
+ name: rdoc
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '5.2'
19
+ version: '6.2'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '5.2'
26
+ version: '6.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: nokogiri
28
+ name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.6'
33
+ version: '13.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.6'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
- name: parseconfig
42
+ name: rainbow
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '1.0'
47
+ version: '3.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '1.0'
54
+ version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: rainbow
56
+ name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
@@ -67,125 +67,13 @@ dependencies:
67
67
  - !ruby/object:Gem::Version
68
68
  version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
- name: notifier
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: '0.5'
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: '0.5'
83
- - !ruby/object:Gem::Dependency
84
- name: hoe-highline
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: '0.2'
90
- type: :development
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: '0.2'
97
- - !ruby/object:Gem::Dependency
98
- name: coveralls
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: '0.8'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: '0.8'
111
- - !ruby/object:Gem::Dependency
112
- name: hoe-bundler
113
- requirement: !ruby/object:Gem::Requirement
114
- requirements:
115
- - - "~>"
116
- - !ruby/object:Gem::Version
117
- version: '1.3'
118
- type: :development
119
- prerelease: false
120
- version_requirements: !ruby/object:Gem::Requirement
121
- requirements:
122
- - - "~>"
123
- - !ruby/object:Gem::Version
124
- version: '1.3'
125
- - !ruby/object:Gem::Dependency
126
- name: hoe-git
127
- requirement: !ruby/object:Gem::Requirement
128
- requirements:
129
- - - "~>"
130
- - !ruby/object:Gem::Version
131
- version: '1.6'
132
- type: :development
133
- prerelease: false
134
- version_requirements: !ruby/object:Gem::Requirement
135
- requirements:
136
- - - "~>"
137
- - !ruby/object:Gem::Version
138
- version: '1.6'
139
- - !ruby/object:Gem::Dependency
140
- name: hoe-rubygems
141
- requirement: !ruby/object:Gem::Requirement
142
- requirements:
143
- - - "~>"
144
- - !ruby/object:Gem::Version
145
- version: '1.0'
146
- type: :development
147
- prerelease: false
148
- version_requirements: !ruby/object:Gem::Requirement
149
- requirements:
150
- - - "~>"
151
- - !ruby/object:Gem::Version
152
- version: '1.0'
153
- - !ruby/object:Gem::Dependency
154
- name: hoe-manns
155
- requirement: !ruby/object:Gem::Requirement
156
- requirements:
157
- - - "~>"
158
- - !ruby/object:Gem::Version
159
- version: '1.5'
160
- type: :development
161
- prerelease: false
162
- version_requirements: !ruby/object:Gem::Requirement
163
- requirements:
164
- - - "~>"
165
- - !ruby/object:Gem::Version
166
- version: '1.5'
167
- - !ruby/object:Gem::Dependency
168
- name: hoe-reek
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: '1.1'
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: '1.1'
181
- - !ruby/object:Gem::Dependency
182
- name: hoe-rubocop
70
+ name: parseconfig
183
71
  requirement: !ruby/object:Gem::Requirement
184
72
  requirements:
185
73
  - - "~>"
186
74
  - !ruby/object:Gem::Version
187
75
  version: '1.0'
188
- type: :development
76
+ type: :runtime
189
77
  prerelease: false
190
78
  version_requirements: !ruby/object:Gem::Requirement
191
79
  requirements:
@@ -193,69 +81,55 @@ dependencies:
193
81
  - !ruby/object:Gem::Version
194
82
  version: '1.0'
195
83
  - !ruby/object:Gem::Dependency
196
- name: hoe-version
197
- requirement: !ruby/object:Gem::Requirement
198
- requirements:
199
- - - "~>"
200
- - !ruby/object:Gem::Version
201
- version: '1.2'
202
- type: :development
203
- prerelease: false
204
- version_requirements: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - "~>"
207
- - !ruby/object:Gem::Version
208
- version: '1.2'
209
- - !ruby/object:Gem::Dependency
210
- name: hoe-seattlerb
84
+ name: rspec
211
85
  requirement: !ruby/object:Gem::Requirement
212
86
  requirements:
213
87
  - - "~>"
214
88
  - !ruby/object:Gem::Version
215
- version: '1.3'
216
- type: :development
89
+ version: '3.9'
90
+ type: :runtime
217
91
  prerelease: false
218
92
  version_requirements: !ruby/object:Gem::Requirement
219
93
  requirements:
220
94
  - - "~>"
221
95
  - !ruby/object:Gem::Version
222
- version: '1.3'
96
+ version: '3.9'
223
97
  - !ruby/object:Gem::Dependency
224
- name: hoe
98
+ name: xdg
225
99
  requirement: !ruby/object:Gem::Requirement
226
100
  requirements:
227
101
  - - "~>"
228
102
  - !ruby/object:Gem::Version
229
- version: '3.15'
230
- type: :development
103
+ version: '4.1'
104
+ type: :runtime
231
105
  prerelease: false
232
106
  version_requirements: !ruby/object:Gem::Requirement
233
107
  requirements:
234
108
  - - "~>"
235
109
  - !ruby/object:Gem::Version
236
- version: '3.15'
110
+ version: '4.1'
237
111
  - !ruby/object:Gem::Dependency
238
- name: rake
112
+ name: nokogiri
239
113
  requirement: !ruby/object:Gem::Requirement
240
114
  requirements:
241
115
  - - "~>"
242
116
  - !ruby/object:Gem::Version
243
- version: '11.2'
244
- type: :development
117
+ version: '1.10'
118
+ type: :runtime
245
119
  prerelease: false
246
120
  version_requirements: !ruby/object:Gem::Requirement
247
121
  requirements:
248
122
  - - "~>"
249
123
  - !ruby/object:Gem::Version
250
- version: '11.2'
124
+ version: '1.10'
251
125
  - !ruby/object:Gem::Dependency
252
- name: manns_shared
126
+ name: combine_pdf
253
127
  requirement: !ruby/object:Gem::Requirement
254
128
  requirements:
255
129
  - - "~>"
256
130
  - !ruby/object:Gem::Version
257
131
  version: '1.0'
258
- type: :development
132
+ type: :runtime
259
133
  prerelease: false
260
134
  version_requirements: !ruby/object:Gem::Requirement
261
135
  requirements:
@@ -263,119 +137,82 @@ dependencies:
263
137
  - !ruby/object:Gem::Version
264
138
  version: '1.0'
265
139
  - !ruby/object:Gem::Dependency
266
- name: bundler
140
+ name: pony
267
141
  requirement: !ruby/object:Gem::Requirement
268
142
  requirements:
269
143
  - - "~>"
270
144
  - !ruby/object:Gem::Version
271
- version: '1.11'
272
- type: :development
273
- prerelease: false
274
- version_requirements: !ruby/object:Gem::Requirement
275
- requirements:
276
- - - "~>"
277
- - !ruby/object:Gem::Version
278
- version: '1.11'
279
- - !ruby/object:Gem::Dependency
280
- name: rspec
281
- requirement: !ruby/object:Gem::Requirement
282
- requirements:
283
- - - "~>"
284
- - !ruby/object:Gem::Version
285
- version: '3.5'
286
- type: :development
145
+ version: '1.13'
146
+ type: :runtime
287
147
  prerelease: false
288
148
  version_requirements: !ruby/object:Gem::Requirement
289
149
  requirements:
290
150
  - - "~>"
291
151
  - !ruby/object:Gem::Version
292
- version: '3.5'
152
+ version: '1.13'
293
153
  - !ruby/object:Gem::Dependency
294
- name: rubocop
154
+ name: notifier
295
155
  requirement: !ruby/object:Gem::Requirement
296
156
  requirements:
297
157
  - - "~>"
298
158
  - !ruby/object:Gem::Version
299
- version: '0.42'
300
- type: :development
159
+ version: '0.5'
160
+ type: :runtime
301
161
  prerelease: false
302
162
  version_requirements: !ruby/object:Gem::Requirement
303
163
  requirements:
304
164
  - - "~>"
305
165
  - !ruby/object:Gem::Version
306
- version: '0.42'
166
+ version: '0.5'
307
167
  - !ruby/object:Gem::Dependency
308
- name: simplecov
168
+ name: coveralls
309
169
  requirement: !ruby/object:Gem::Requirement
310
170
  requirements:
311
171
  - - "~>"
312
172
  - !ruby/object:Gem::Version
313
- version: '0.12'
314
- type: :development
173
+ version: '0.8'
174
+ type: :runtime
315
175
  prerelease: false
316
176
  version_requirements: !ruby/object:Gem::Requirement
317
177
  requirements:
318
178
  - - "~>"
319
179
  - !ruby/object:Gem::Version
320
- version: '0.12'
180
+ version: '0.8'
321
181
  - !ruby/object:Gem::Dependency
322
- name: rdoc
182
+ name: rubocop
323
183
  requirement: !ruby/object:Gem::Requirement
324
184
  requirements:
325
185
  - - "~>"
326
186
  - !ruby/object:Gem::Version
327
- version: '4.0'
187
+ version: '0.68'
328
188
  type: :development
329
189
  prerelease: false
330
190
  version_requirements: !ruby/object:Gem::Requirement
331
191
  requirements:
332
192
  - - "~>"
333
193
  - !ruby/object:Gem::Version
334
- version: '4.0'
335
- description: |-
336
- PublicanCreators are a small tool for daily DocBook writers who are using the Redhat publican tool https://fedorahosted.org/publican/. PublicanCreators asks after
337
- launching which title, type and environment should be used. Then it starts publican with that settings and works then with the produced files.
338
- It will work inside the Article_Info.xml, Book_Info.xml, TITLE.ent, Author_Group.xml and Revision_History.xml and
339
- will replace the default values with your name, your company, your company_divison and your private or your business
340
- email address, depending on your chosen environment. Also you can set inside your config file that you want to remove
341
- the Title Logo or the Legal Notice. As a feature it ships a build script for each project.
342
- email:
343
- - Sascha.Manns@mailbox.org
194
+ version: '0.68'
195
+ description: |2
196
+ publican_creators are a small tool for daily DocBook writers who are using the Redhat publican tool
197
+ https://fedorahosted.org/publican/.
198
+ email: Sascha.Manns@outlook.de
344
199
  executables:
345
200
  - publican_creators.rb
346
201
  - revision_creator.rb
347
202
  extensions: []
348
203
  extra_rdoc_files:
349
- - CODE_OF_CONDUCT.md
350
- - CONTRIBUTING.md
351
- - History.rdoc
352
- - LICENSE.rdoc
353
- - Manifest.txt
354
- - README.rdoc
204
+ - CHANGELOG.md
205
+ - LICENSE.md
206
+ - MAINTENANCE.md
207
+ - README.md
355
208
  files:
356
- - ".autotest"
357
- - ".codeclimate.yml"
358
- - ".coveralls.yml"
359
- - ".gemnasium.yml"
360
- - ".rspec"
361
- - ".rubocop.yml"
362
- - ".scrutinizer.yml"
363
- - ".travis.yml"
364
- - ".yardopts"
365
- - CODE_OF_CONDUCT.md
209
+ - CHANGELOG.md
366
210
  - CONTRIBUTING.md
367
- - Gemfile
368
- - Gemfile.lock
369
- - History.rdoc
370
- - LICENSE.rdoc
371
- - Manifest.txt
372
- - README.rdoc
373
- - Rakefile
211
+ - LICENSE.md
212
+ - MAINTENANCE.md
213
+ - README.md
374
214
  - bin/publican_creators.rb
375
215
  - bin/revision_creator.rb
376
- - config.reek
377
- - data/publican_creators/publican-revision.png
378
- - data/publican_creators/publican.png
379
216
  - etc/publicancreators.cfg
380
217
  - lib/publican_creators.rb
381
218
  - lib/publican_creators/change.rb
@@ -387,34 +224,33 @@ files:
387
224
  - lib/publican_creators/prepare.rb
388
225
  - lib/publican_creators/revision.rb
389
226
  - lib/publican_creators/testlib.rb
390
- - spec/lib_spec.rb
391
- - spec/spec_helper.rb
392
- homepage: http://saigkill.tuxfamily.org
227
+ - lib/publican_creators/version.rb
228
+ homepage: https://github.com/saigkill/publican_creators
393
229
  licenses:
394
- - MIT
395
- metadata: {}
396
- post_install_message: "*** Run rake setup to finish the installation *** Please file
397
- bugreports and feature requests on: https://github.com/saigkill/latex_curriculum_vitae/issues"
398
- rdoc_options:
399
- - "--main"
400
- - README.rdoc
230
+ - GPL-3.0
231
+ metadata:
232
+ homepage_uri: https://github.com/saigkill/publican_creators
233
+ changelog_uri: https://github.com/saigkill/publican_creators/blob/master/CHANGELOG.md
234
+ source_code_uri: https://github.com/saigkill/publican_creators
235
+ documentation_uri: https://saigkill.github.io/publican_creators/
236
+ bug_tracker_uri: https://github.com/saigkill/publican_creators/issues
237
+ post_install_message:
238
+ rdoc_options: []
401
239
  require_paths:
402
240
  - lib
403
241
  required_ruby_version: !ruby/object:Gem::Requirement
404
242
  requirements:
405
243
  - - ">="
406
244
  - !ruby/object:Gem::Version
407
- version: 2.2.0
245
+ version: 2.3.0
408
246
  required_rubygems_version: !ruby/object:Gem::Requirement
409
247
  requirements:
410
248
  - - ">="
411
249
  - !ruby/object:Gem::Version
412
250
  version: '0'
413
251
  requirements: []
414
- rubyforge_project:
415
- rubygems_version: 2.6.6
252
+ rubygems_version: 3.1.2
416
253
  signing_key:
417
254
  specification_version: 4
418
- summary: PublicanCreators are a small tool for daily DocBook writers who are using
419
- the Redhat publican tool https://fedorahosted.org/publican/
255
+ summary: Small tool for daily DocBook writers
420
256
  test_files: []