publican_creators 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ # Testing Module for PublicanCreators
2
+ # PublicanCreatorsChange
3
+ # @author Sascha Manns
4
+ # @abstract Class for all file changes
5
+ #
6
+ # Copyright (C) 2015 Sascha Manns <samannsml@directbox.com>
7
+ # License: MIT
8
+
9
+ # Dependencies
10
+ require 'fileutils'
11
+
12
+ # Class for methods in testing environment
13
+ class PublicanCreatorsTest
14
+ # Method for checking file content
15
+ # @param [String] file can be any file
16
+ # @param [String] pattern is the searchpattern
17
+ # @return [String] result
18
+ def self.check_content(file, pattern)
19
+ f = File.new(file)
20
+ text = f.read
21
+ result = 'false' # Default false
22
+ result = 'true' if text =~ /"#{pattern}"/ # if found true
23
+ return result
24
+ end
25
+
26
+ # Method for cleanup the test results
27
+ def self.cleanup
28
+ system('rm -rf The_holy_Bible*')
29
+ end
30
+ end
data/spec/lib_spec.rb ADDED
@@ -0,0 +1,401 @@
1
+ require 'rspec'
2
+ require 'publican_creators/checker'
3
+ require 'publican_creators/get'
4
+ require 'publican_creators/change'
5
+ require 'publican_creators/export'
6
+ require 'publican_creators/create'
7
+ require 'publican_creators/testlib'
8
+ require 'fileutils'
9
+ require 'tempfile'
10
+ require 'nokogiri'
11
+ require 'bundler/setup'
12
+ require 'rainbow/ext/string'
13
+ require File.dirname(__FILE__) + '/spec_helper'
14
+
15
+ describe 'PublicanCreatorsCreate' do
16
+ describe '.init_docu_work' do
17
+ context 'Work (Article)' do
18
+ title = 'The_holy_Bible-WorkArt'
19
+ type = 'Article'
20
+ language = 'de-DE'
21
+ brand = 'XCOM'
22
+ db5 = 'true'
23
+ it 'creates a new set of documentation for Work/Article' do
24
+ PublicanCreatorsCreate.init_docu_work(title, type, language, brand, db5)
25
+ expect(Dir.exist?(title)).equal? 'true'
26
+ end
27
+ end
28
+
29
+ context 'Work (Book)' do
30
+ title = 'The_holy_Bible-WorkBook'
31
+ type = 'Book'
32
+ language = 'de-DE'
33
+ brand = 'XCOM'
34
+ db5 = 'true'
35
+ it 'creates a new set of documentation for Work/Book' do
36
+ PublicanCreatorsCreate.init_docu_work(title, type, language, brand, db5)
37
+ expect(Dir.exist?(title)).equal? 'true'
38
+ end
39
+ end
40
+ end
41
+
42
+ describe '.init_docu_private' do
43
+ context 'Private (Article)' do
44
+ title = 'The_holy_Bible-PrivArt'
45
+ type = 'Article'
46
+ language = 'de-DE'
47
+ brand_private = 'manns'
48
+ brand_homework = 'ils'
49
+ homework = 'FALSE'
50
+ db5 = 'true'
51
+ it 'creates a new set of documentation for Private/Article' do
52
+ PublicanCreatorsCreate.init_docu_private(title, type, homework,
53
+ language, brand_homework,
54
+ brand_private, db5)
55
+ expect(Dir.exist?(title)).equal? 'true'
56
+ end
57
+ end
58
+
59
+ context 'Private (Article/Homework)' do
60
+ title = 'The_holy_Bible-PrivArtHome'
61
+ type = 'Article'
62
+ language = 'de-DE'
63
+ brand_private = 'manns'
64
+ brand_homework = 'ils'
65
+ homework = 'TRUE'
66
+ db5 = 'true'
67
+ it 'creates a new set of documentation for Private/Article/Homework' do
68
+ PublicanCreatorsCreate.init_docu_private(title, type, homework,
69
+ language, brand_homework,
70
+ brand_private, db5)
71
+ expect(Dir.exist?(title)).equal? 'true'
72
+ end
73
+ end
74
+
75
+ context 'Private (Book)' do
76
+ title = 'The_holy_Bible-PrivBook'
77
+ type = 'Book'
78
+ language = 'de-DE'
79
+ brand_private = 'manns'
80
+ brand_homework = 'ils'
81
+ homework = 'TRUE'
82
+ db5 = 'true'
83
+ it 'creates a new set of documentation for Private/Book' do
84
+ PublicanCreatorsCreate.init_docu_private(title, type, homework,
85
+ language, brand_homework,
86
+ brand_private, db5)
87
+ expect(Dir.exist?(title)).equal? 'true'
88
+ end
89
+ end
90
+ end
91
+ end
92
+
93
+ describe 'PublicanCreatorsChange' do
94
+ describe '.add_entity' do
95
+ context 'Work Environment (Article) with global_entities variable' do
96
+ environment = 'Work'
97
+ title = 'The_holy_Bible-WorkArt'
98
+ brand_dir = '/usr/share/publican/Common_Content/XCOM'
99
+ global_entities = "#{brand_dir}/de-DE/entitiesxcom.ent"
100
+ ent = "#{title}/de-DE/#{title}.ent"
101
+ pattern = 'COMMON ENTITIES'
102
+ it 'Adds the Entities from the global ent file' do
103
+ PublicanCreatorsChange.add_entity(environment, global_entities, ent)
104
+ result = PublicanCreatorsTest.check_content(ent, pattern)
105
+ expect(result).equal? 'true'
106
+ end
107
+ end
108
+
109
+ context 'Work Environment (Book) with global_entities variable' do
110
+ environment = 'Work'
111
+ title = 'The_holy_Bible-WorkBook'
112
+ brand_dir = '/usr/share/publican/Common_Content/XCOM'
113
+ global_entities = "#{brand_dir}/de-DE/entitiesxcom.ent"
114
+ ent = "#{title}/de-DE/#{title}.ent"
115
+ pattern = 'COMMON ENTITIES'
116
+ it 'Adds the Entities from the global ent file' do
117
+ PublicanCreatorsChange.add_entity(environment, global_entities, ent)
118
+ result = PublicanCreatorsTest.check_content(ent, pattern)
119
+ expect(result).equal? 'true'
120
+ end
121
+ end
122
+
123
+ context 'Private Environment (Article) without global_entities variable' do
124
+ environment = 'Private'
125
+ global_entities = ''
126
+ title = 'The_holy_Bible-PrivArt'
127
+ ent = "#{title}/de-DE/#{title}.ent"
128
+ pattern = 'COMMON ENTITIES'
129
+ it 'Leaves the local Entityfile blank' do
130
+ PublicanCreatorsChange.add_entity(environment, global_entities, ent)
131
+ result = PublicanCreatorsTest.check_content(ent, pattern)
132
+ expect(result).equal? 'false'
133
+ end
134
+ end
135
+
136
+ context 'Private Environment (Book) without global_entities variable' do
137
+ environment = 'Private'
138
+ global_entities = ''
139
+ title = 'The_holy_Bible-PrivBook'
140
+ ent = "#{title}/de-DE/#{title}.ent"
141
+ pattern = 'COMMON ENTITIES'
142
+ it 'Leaves the local Entityfile blank' do
143
+ PublicanCreatorsChange.add_entity(environment, global_entities, ent)
144
+ result = PublicanCreatorsTest.check_content(ent, pattern)
145
+ expect(result).equal? 'false'
146
+ end
147
+ end
148
+ end
149
+ end
150
+
151
+ describe 'PublicanCreatorsChange' do
152
+ describe '.remove_orgname' do
153
+ context 'Work Environment (Article) Without Publicans Title Logo' do
154
+ title = 'The_holy_Bible-WorkArt'
155
+ artinfo = "#{title}/de-DE/Article_Info.xml"
156
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
157
+ title_logo = 'false'
158
+ type = 'Article'
159
+ pattern = 'orgname'
160
+ it 'Removes the title logo' do
161
+ PublicanCreatorsChange.remove_orgname_prepare(bookinfo, artinfo,
162
+ title_logo, type)
163
+ result = PublicanCreatorsTest.check_content(artinfo, pattern)
164
+ expect(result).equal? 'false'
165
+ end
166
+ end
167
+
168
+ context 'Work Environment (Book) Without Publicans Title Logo' do
169
+ title = 'The_holy_Bible-WorkBook'
170
+ artinfo = "#{title}/de-DE/Article_Info.xml"
171
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
172
+ title_logo = 'false'
173
+ type = 'Book'
174
+ pattern = 'orgname'
175
+ it 'Removes the title logo' do
176
+ PublicanCreatorsChange.remove_orgname_prepare(bookinfo, artinfo,
177
+ title_logo, type)
178
+ result = PublicanCreatorsTest.check_content(bookinfo, pattern)
179
+ expect(result).equal? 'false'
180
+ end
181
+ end
182
+
183
+ context 'With Publicans Title Logo' do
184
+ title = 'The_holy_Bible-PrivArt'
185
+ artinfo = "#{title}/de-DE/Article_Info.xml"
186
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
187
+ title_logo = 'true'
188
+ type = 'Article'
189
+ pattern = 'orgname'
190
+ it 'Removes not the title logo' do
191
+ PublicanCreatorsChange.remove_orgname_prepare(bookinfo, artinfo,
192
+ title_logo, type)
193
+ result = PublicanCreatorsTest.check_content(artinfo, pattern)
194
+ expect(result).equal? 'true'
195
+ end
196
+ end
197
+
198
+ context 'With Publicans Title Logo' do
199
+ title = 'The_holy_Bible-PrivBook'
200
+ artinfo = "#{title}/de-DE/Article_Info.xml"
201
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
202
+ title_logo = 'true'
203
+ type = 'Book'
204
+ pattern = 'orgname'
205
+ it 'Removes not the title logo' do
206
+ PublicanCreatorsChange.remove_orgname_prepare(bookinfo, artinfo,
207
+ title_logo, type)
208
+ result = PublicanCreatorsTest.check_content(bookinfo, pattern)
209
+ expect(result).equal? 'true'
210
+ end
211
+ end
212
+ end
213
+ end
214
+
215
+ describe 'PublicanCreatorsChange' do
216
+ describe '.remove_legal' do
217
+ context 'Work (Article) Without Legalnotice' do
218
+ type = 'Article'
219
+ legal = 'true'
220
+ environment = 'Work'
221
+ title = 'The_holy_Bible-WorkArt'
222
+ artinfo = "#{title}/de-DE/Article_Info.xml"
223
+ pattern = '<xi:include href="Common_Content/
224
+ Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />'
225
+ it 'removes the Legalnotice from the XML file' do
226
+ PublicanCreatorsChange.remove_legal(environment, type, legal, artinfo)
227
+ result = PublicanCreatorsTest.check_content(artinfo, pattern)
228
+ expect(result).equal? 'false'
229
+ end
230
+ end
231
+
232
+ context 'Work (Book) Without Legalnotice' do
233
+ type = 'Book'
234
+ legal = 'true'
235
+ environment = 'Work'
236
+ title = 'The_holy_Bible-WorkBook'
237
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
238
+ pattern = '<xi:include href="Common_Content/
239
+ Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />'
240
+ it 'removes the Legalnotice from the XML file' do
241
+ PublicanCreatorsChange.remove_legal(environment, type, legal, bookinfo)
242
+ result = PublicanCreatorsTest.check_content(bookinfo, pattern)
243
+ expect(result).equal? 'true'
244
+ end
245
+ end
246
+
247
+ context 'With Legalnotice inside the XML file' do
248
+ type = 'Article'
249
+ legal = 'false'
250
+ environment = 'Private'
251
+ title = 'The_holy_Bible-PrivArt'
252
+ artinfo = "#{title}/de-DE/Article_Info.xml"
253
+ pattern = '<xi:include href="Common_Content/
254
+ Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />'
255
+ it 'removes the Legalnotice from the XML file' do
256
+ PublicanCreatorsChange.remove_legal(environment, type, legal, artinfo)
257
+ result = PublicanCreatorsTest.check_content(artinfo, pattern)
258
+ expect(result).equal? 'true'
259
+ end
260
+ end
261
+
262
+ context 'With Legalnotice inside the XML file' do
263
+ type = 'Book'
264
+ legal = 'false'
265
+ environment = 'Private'
266
+ title = 'The_holy_Bible-PrivBook'
267
+ bookinfo = "#{title}/de-DE/Book_Info.xml"
268
+ pattern = '<xi:include href="Common_Content/
269
+ Legal_Notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />'
270
+ it 'removes the Legalnotice from the XML file' do
271
+ PublicanCreatorsChange.remove_legal(environment, type, legal, bookinfo)
272
+ result = PublicanCreatorsTest.check_content(bookinfo, pattern)
273
+ expect(result).equal? 'true'
274
+ end
275
+ end
276
+ end
277
+ end
278
+
279
+ describe 'PublicanCreatorsChange' do
280
+ describe '.fix_revhist' do
281
+ context 'Work Environment' do
282
+ environment = 'Work'
283
+ name = 'Sascha Manns'
284
+ firstname = 'Sascha'
285
+ surname = 'Manns'
286
+ email = 'samannsml@directbox.com'
287
+ email_business = 'Sascha.Manns@xcom.de'
288
+ title = 'The_holy_Bible-WorkArt'
289
+ revhist = "#{title}/de-DE/Revision_History.xml"
290
+ it 'Updates the revision history in Work context' do
291
+ PublicanCreatorsChange.fix_revhist(environment, name, email_business,
292
+ email, revhist)
293
+ [firstname, surname, email_business].each do |pattern|
294
+ result = PublicanCreatorsTest.check_content(revhist, pattern)
295
+ expect(result).equal? 'true'
296
+ end
297
+ end
298
+ end
299
+
300
+ context 'Private Environment' do
301
+ environment = 'Private'
302
+ name = 'Sascha Manns'
303
+ firstname = 'Sascha'
304
+ surname = 'Manns'
305
+ email = 'samannsml@directbox.com'
306
+ email_business = 'Sascha.Manns@xcom.de'
307
+ title = 'The_holy_Bible-PrivArt'
308
+ revhist = "#{title}/de-DE/Revision_History.xml"
309
+ it 'updates the revision history to Private context' do
310
+ PublicanCreatorsChange.fix_revhist(environment, name, email_business,
311
+ email, revhist)
312
+ [firstname, surname, email_business].each do |pattern|
313
+ result = PublicanCreatorsTest.check_content(revhist, pattern)
314
+ expect(result).equal? 'true'
315
+ end
316
+ end
317
+ end
318
+ end
319
+ end
320
+
321
+ describe 'PublicanCreatorsChange' do
322
+ describe '.fix_authorgroup' do
323
+ context 'Work' do
324
+ email_business = 'Sascha.Manns@xcom.de'
325
+ name = 'Sascha Manns'
326
+ firstname = 'Sascha'
327
+ surname = 'Manns'
328
+ company_name = 'XCOM AG'
329
+ company_division = 'SWE7'
330
+ email = 'Sascha.Manns@xcom.de'
331
+ environment = 'Work'
332
+ title = 'The_holy_Bible-WorkArt'
333
+ agroup = "#{title}/de-DE/Author_Group.xml"
334
+ it 'Updates Authorgroup in Work context' do
335
+ PublicanCreatorsChange.fix_authorgroup(name, email_business,
336
+ company_name, company_division,
337
+ email, environment, agroup)
338
+ [firstname, surname, email_business, company_name,
339
+ company_division].each do |pattern|
340
+ result = PublicanCreatorsTest.check_content(agroup, pattern)
341
+ expect(result).equal? 'true'
342
+ end
343
+ end
344
+ end
345
+
346
+ context 'Private' do
347
+ email_business = 'Sascha.Manns@xcom.de'
348
+ name = 'Sascha Manns'
349
+ firstname = 'Sascha'
350
+ surname = 'Manns'
351
+ company_name = 'XCOM AG'
352
+ company_division = 'SWE7'
353
+ email = 'samannsml@directbox.com'
354
+ environment = 'Private'
355
+ title = 'The_holy_Bible-PrivArt'
356
+ agroup = "#{title}/de-DE/Author_Group.xml"
357
+ it 'Updates Authorgroup in Work context' do
358
+ PublicanCreatorsChange.fix_authorgroup(name, email_business,
359
+ company_name, company_division,
360
+ email, environment, agroup)
361
+ [firstname, surname, email].each do |pattern|
362
+ result = PublicanCreatorsTest.check_content(agroup, pattern)
363
+ expect(result).equal? 'true'
364
+ end
365
+ end
366
+ end
367
+ end
368
+ end
369
+
370
+ describe 'PublicanCreatorsExport' do
371
+ describe '.export_buildscript' do
372
+ context 'Default'
373
+ title = 'The_holy_Bible-WorkArt'
374
+ builds = "#{title}/de-DE/Rakefile"
375
+ language = 'de-DE'
376
+ xfc_brand_dir = '/opt/XMLmind/xfc-xcom-stylesheet/xsl/fo/docbook.xsl'
377
+ pdfview = '/opt/cxoffice/bin/wine --bottle "PDF-XChange Viewer 2.x" --cx-app
378
+ PDFXCview.exe'
379
+ it 'exports a shellscript with resolved title entity' do
380
+ PublicanCreatorsExport.export_buildscript(title, builds, language,
381
+ xfc_brand_dir, pdfview)
382
+ File.exist?(builds)
383
+ PublicanCreatorsTest.check_content(builds, xfc_brand_dir)
384
+ :expect == true
385
+ end
386
+ end
387
+ end
388
+
389
+ describe 'PublicanCreatorsTest' do
390
+ describe '.cleanup' do
391
+ it 'cleans up the test directory' do
392
+ PublicanCreatorsTest.cleanup
393
+ File.exist?('The_holy_Bible-PrivArt')
394
+ File.exist?('The_holy_Bible-PrivArtHome')
395
+ File.exist?('The_holy_Bible-PrivArtBook')
396
+ File.exist?('The_holy_Bible-WorkArt')
397
+ File.exist?('The_holy_Bible-WorkBook')
398
+ :expect == 'false'
399
+ end
400
+ end
401
+ end
@@ -0,0 +1,16 @@
1
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'test'))
2
+ require 'coveralls'
3
+ require 'simplecov'
4
+ require 'fileutils'
5
+ Coveralls.wear!
6
+
7
+ SimpleCov.formatter = Coveralls::SimpleCov::Formatter
8
+ SimpleCov.start do
9
+ add_filter '.yardoc'
10
+ add_filter 'config'
11
+ add_filter 'doc'
12
+ add_filter 'pkg'
13
+ add_filter 'vendor'
14
+ end
15
+
16
+ require 'lib_spec'
metadata ADDED
@@ -0,0 +1,489 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: publican_creators
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Sascha Manns
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDhTCCAm2gAwIBAgIBATANBgkqhkiG9w0BAQUFADBEMRIwEAYDVQQDDAlzYW1h
14
+ bm5zbWwxGTAXBgoJkiaJk/IsZAEZFglkaXJlY3Rib3gxEzARBgoJkiaJk/IsZAEZ
15
+ FgNjb20wHhcNMTUwOTE1MTAwOTQwWhcNMTYwOTE0MTAwOTQwWjBEMRIwEAYDVQQD
16
+ DAlzYW1hbm5zbWwxGTAXBgoJkiaJk/IsZAEZFglkaXJlY3Rib3gxEzARBgoJkiaJ
17
+ k/IsZAEZFgNjb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQChvBUV
18
+ qkj1as15E6mSt42Vf+bwwn6y5IINU8WyMByK85WPENyWpOTOsrwTSpai3b/fO6JE
19
+ RzGyC/IDQXy5IcnWAXIRG/lRy4MOHeReShVH0TWP9e63jhsjffb3oiE9WyVMyp6j
20
+ 7mBDsYQlpd9dzIxBjhOuezqHTats1Zx3YmgTKqcxIGagw+91taJE3eXQRh9OTply
21
+ 6nFe4EeEDZIDkpGxgWPdPXhdEOh70z9if0Li0iuwzKD7nI2YDrQPZ6yzohwJSCxJ
22
+ G1cvwyew70s9xneJ63C+EoBDdSzjYOi9ov08sLYm6XphYmXkansZX9XLvlkm7oNU
23
+ RauozHFRkVgou2yPAgMBAAGjgYEwfzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAd
24
+ BgNVHQ4EFgQU2Z0THCX7uI/mtn0lN5RlIUhQHkMwIgYDVR0RBBswGYEXc2FtYW5u
25
+ c21sQGRpcmVjdGJveC5jb20wIgYDVR0SBBswGYEXc2FtYW5uc21sQGRpcmVjdGJv
26
+ eC5jb20wDQYJKoZIhvcNAQEFBQADggEBABcwHO1C0EOos6v4jYYqcxMqryJnGH9O
27
+ ZOGyesU4BsVuVfKznMZ2hMnb5UW1JgxcZgTdhh4LuZ5NuDUd4DJyUGVKKVIxPFzs
28
+ T1YreFIygjNZDlF338gY4R8OgzgM7j/k5mxg1gL0/4zgHVNRFsb4lB0xN+b/9iY4
29
+ OQ2nBbEye41AtFzskC/Qdsj5uvG/g2wy8fMDZ6+VI4nNb/bHJahShz2kqRap461j
30
+ cEuJ8AWKUjdkdt1Nba7qmareRtc2+pEiITV5ANv24b8vsmq9/8nbxQckdO7+NQRP
31
+ pTQZhJ4mX28Qe1F9IE4F4UDeo8gQSPHJOttZA33sRLC19sH67dLq4pM=
32
+ -----END CERTIFICATE-----
33
+ date: 2016-01-27 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
36
+ name: setup
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - "~>"
40
+ - !ruby/object:Gem::Version
41
+ version: '5.2'
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - "~>"
47
+ - !ruby/object:Gem::Version
48
+ version: '5.2'
49
+ - !ruby/object:Gem::Dependency
50
+ name: nokogiri
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - "~>"
54
+ - !ruby/object:Gem::Version
55
+ version: 1.6.7
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: 1.6.7
63
+ - !ruby/object:Gem::Dependency
64
+ name: parseconfig
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '1.0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '1.0'
77
+ - !ruby/object:Gem::Dependency
78
+ name: rainbow
79
+ requirement: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '2.1'
84
+ type: :runtime
85
+ prerelease: false
86
+ version_requirements: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '2.1'
91
+ - !ruby/object:Gem::Dependency
92
+ name: notifier
93
+ requirement: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.5'
98
+ type: :runtime
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '0.5'
105
+ - !ruby/object:Gem::Dependency
106
+ name: hoe-highline
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.2'
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '0.2'
119
+ - !ruby/object:Gem::Dependency
120
+ name: rdoc
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '4.0'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '4.0'
133
+ - !ruby/object:Gem::Dependency
134
+ name: coveralls
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '0.8'
140
+ type: :development
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '0.8'
147
+ - !ruby/object:Gem::Dependency
148
+ name: hoe-bundler
149
+ requirement: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '1.2'
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '1.2'
161
+ - !ruby/object:Gem::Dependency
162
+ name: hoe-gemspec
163
+ requirement: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '1.0'
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '1.0'
175
+ - !ruby/object:Gem::Dependency
176
+ name: hoe-git
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '1.6'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '1.6'
189
+ - !ruby/object:Gem::Dependency
190
+ name: hoe-rubygems
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '1.0'
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '1.0'
203
+ - !ruby/object:Gem::Dependency
204
+ name: hoe-manns
205
+ requirement: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '1.4'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: '1.4'
217
+ - !ruby/object:Gem::Dependency
218
+ name: hoe-reek
219
+ requirement: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - "~>"
222
+ - !ruby/object:Gem::Version
223
+ version: '1.1'
224
+ type: :development
225
+ prerelease: false
226
+ version_requirements: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - "~>"
229
+ - !ruby/object:Gem::Version
230
+ version: '1.1'
231
+ - !ruby/object:Gem::Dependency
232
+ name: hoe-rubocop
233
+ requirement: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - "~>"
236
+ - !ruby/object:Gem::Version
237
+ version: '1.0'
238
+ type: :development
239
+ prerelease: false
240
+ version_requirements: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - "~>"
243
+ - !ruby/object:Gem::Version
244
+ version: '1.0'
245
+ - !ruby/object:Gem::Dependency
246
+ name: hoe-version
247
+ requirement: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - "~>"
250
+ - !ruby/object:Gem::Version
251
+ version: '1.2'
252
+ type: :development
253
+ prerelease: false
254
+ version_requirements: !ruby/object:Gem::Requirement
255
+ requirements:
256
+ - - "~>"
257
+ - !ruby/object:Gem::Version
258
+ version: '1.2'
259
+ - !ruby/object:Gem::Dependency
260
+ name: hoe-seattlerb
261
+ requirement: !ruby/object:Gem::Requirement
262
+ requirements:
263
+ - - "~>"
264
+ - !ruby/object:Gem::Version
265
+ version: '1.3'
266
+ type: :development
267
+ prerelease: false
268
+ version_requirements: !ruby/object:Gem::Requirement
269
+ requirements:
270
+ - - "~>"
271
+ - !ruby/object:Gem::Version
272
+ version: '1.3'
273
+ - !ruby/object:Gem::Dependency
274
+ name: hoe
275
+ requirement: !ruby/object:Gem::Requirement
276
+ requirements:
277
+ - - "~>"
278
+ - !ruby/object:Gem::Version
279
+ version: '3.14'
280
+ type: :development
281
+ prerelease: false
282
+ version_requirements: !ruby/object:Gem::Requirement
283
+ requirements:
284
+ - - "~>"
285
+ - !ruby/object:Gem::Version
286
+ version: '3.14'
287
+ - !ruby/object:Gem::Dependency
288
+ name: rake
289
+ requirement: !ruby/object:Gem::Requirement
290
+ requirements:
291
+ - - "~>"
292
+ - !ruby/object:Gem::Version
293
+ version: '10.5'
294
+ type: :development
295
+ prerelease: false
296
+ version_requirements: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - "~>"
299
+ - !ruby/object:Gem::Version
300
+ version: '10.5'
301
+ - !ruby/object:Gem::Dependency
302
+ name: gem-release
303
+ requirement: !ruby/object:Gem::Requirement
304
+ requirements:
305
+ - - "~>"
306
+ - !ruby/object:Gem::Version
307
+ version: '0.7'
308
+ type: :development
309
+ prerelease: false
310
+ version_requirements: !ruby/object:Gem::Requirement
311
+ requirements:
312
+ - - "~>"
313
+ - !ruby/object:Gem::Version
314
+ version: '0.7'
315
+ - !ruby/object:Gem::Dependency
316
+ name: indexer
317
+ requirement: !ruby/object:Gem::Requirement
318
+ requirements:
319
+ - - "~>"
320
+ - !ruby/object:Gem::Version
321
+ version: '0.3'
322
+ type: :development
323
+ prerelease: false
324
+ version_requirements: !ruby/object:Gem::Requirement
325
+ requirements:
326
+ - - "~>"
327
+ - !ruby/object:Gem::Version
328
+ version: '0.3'
329
+ - !ruby/object:Gem::Dependency
330
+ name: manns_shared
331
+ requirement: !ruby/object:Gem::Requirement
332
+ requirements:
333
+ - - "~>"
334
+ - !ruby/object:Gem::Version
335
+ version: '1.0'
336
+ type: :development
337
+ prerelease: false
338
+ version_requirements: !ruby/object:Gem::Requirement
339
+ requirements:
340
+ - - "~>"
341
+ - !ruby/object:Gem::Version
342
+ version: '1.0'
343
+ - !ruby/object:Gem::Dependency
344
+ name: bundler
345
+ requirement: !ruby/object:Gem::Requirement
346
+ requirements:
347
+ - - "~>"
348
+ - !ruby/object:Gem::Version
349
+ version: '1.11'
350
+ type: :development
351
+ prerelease: false
352
+ version_requirements: !ruby/object:Gem::Requirement
353
+ requirements:
354
+ - - "~>"
355
+ - !ruby/object:Gem::Version
356
+ version: '1.11'
357
+ - !ruby/object:Gem::Dependency
358
+ name: rspec
359
+ requirement: !ruby/object:Gem::Requirement
360
+ requirements:
361
+ - - "~>"
362
+ - !ruby/object:Gem::Version
363
+ version: '3.4'
364
+ type: :development
365
+ prerelease: false
366
+ version_requirements: !ruby/object:Gem::Requirement
367
+ requirements:
368
+ - - "~>"
369
+ - !ruby/object:Gem::Version
370
+ version: '3.4'
371
+ - !ruby/object:Gem::Dependency
372
+ name: rubocop
373
+ requirement: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - "~>"
376
+ - !ruby/object:Gem::Version
377
+ version: '0.36'
378
+ type: :development
379
+ prerelease: false
380
+ version_requirements: !ruby/object:Gem::Requirement
381
+ requirements:
382
+ - - "~>"
383
+ - !ruby/object:Gem::Version
384
+ version: '0.36'
385
+ - !ruby/object:Gem::Dependency
386
+ name: simplecov
387
+ requirement: !ruby/object:Gem::Requirement
388
+ requirements:
389
+ - - "~>"
390
+ - !ruby/object:Gem::Version
391
+ version: '0.11'
392
+ type: :development
393
+ prerelease: false
394
+ version_requirements: !ruby/object:Gem::Requirement
395
+ requirements:
396
+ - - "~>"
397
+ - !ruby/object:Gem::Version
398
+ version: '0.11'
399
+ description: |-
400
+ PublicanCreators are a small tool for daily DocBook writers who are using the Redhat publican tool https://fedorahosted.org/publican/. PublicanCreators asks after
401
+ launching which title, type and environment should be used. Then it starts publican with that settings and works then with the produced files.
402
+ It will work inside the Article_Info.xml, Book_Info.xml, TITLE.ent, Author_Group.xml and Revision_History.xml and
403
+ will replace the default values with your name, your company, your company_divison and your private or your business
404
+ email address, depending on your chosen environment. Also you can set inside your config file that you want to remove
405
+ the Title Logo or the Legal Notice. As a feature it ships a build script for each project.
406
+ email:
407
+ - samannsml@directbox.com
408
+ executables:
409
+ - publican_creators.rb
410
+ - revision_creator.rb
411
+ extensions: []
412
+ extra_rdoc_files:
413
+ - CODE_OF_CONDUCT.md
414
+ - CONTRIBUTING.md
415
+ - History.rdoc
416
+ - LICENSE.rdoc
417
+ - Manifest.txt
418
+ - README.rdoc
419
+ files:
420
+ - ".autotest"
421
+ - ".codeclimate.yml"
422
+ - ".coveralls.yml"
423
+ - ".gemnasium.yml"
424
+ - ".gemrelease"
425
+ - ".gemtest"
426
+ - ".index"
427
+ - ".rspec"
428
+ - ".rubocop.yml"
429
+ - ".scrutinizer.yml"
430
+ - ".travis.yml"
431
+ - ".yardopts"
432
+ - CODE_OF_CONDUCT.md
433
+ - CONTRIBUTING.md
434
+ - Gemfile
435
+ - Gemfile.lock
436
+ - History.rdoc
437
+ - Index.yml
438
+ - LICENSE.rdoc
439
+ - Manifest.txt
440
+ - README.rdoc
441
+ - Rakefile
442
+ - VERSION
443
+ - bin/publican_creators.rb
444
+ - bin/revision_creator.rb
445
+ - config.reek
446
+ - data/publican_creators/publican-revision.png
447
+ - data/publican_creators/publican.png
448
+ - etc/publicancreators.cfg
449
+ - lib/PublicanCreators.rb
450
+ - lib/publican_creators/change.rb
451
+ - lib/publican_creators/checker.rb
452
+ - lib/publican_creators/create.rb
453
+ - lib/publican_creators/export.rb
454
+ - lib/publican_creators/get.rb
455
+ - lib/publican_creators/notifier.rb
456
+ - lib/publican_creators/prepare.rb
457
+ - lib/publican_creators/revision.rb
458
+ - lib/publican_creators/testlib.rb
459
+ - spec/lib_spec.rb
460
+ - spec/spec_helper.rb
461
+ homepage: http://saigkill.github.io
462
+ licenses:
463
+ - MIT
464
+ metadata: {}
465
+ post_install_message: "*** Run rake setup to finish the installation *** Please file
466
+ bugreports and feature requests on: https://gitlab.com/saigkill/publican_creators/issue"
467
+ rdoc_options:
468
+ - "--main"
469
+ - README.rdoc
470
+ require_paths:
471
+ - lib
472
+ required_ruby_version: !ruby/object:Gem::Requirement
473
+ requirements:
474
+ - - ">="
475
+ - !ruby/object:Gem::Version
476
+ version: 2.2.0
477
+ required_rubygems_version: !ruby/object:Gem::Requirement
478
+ requirements:
479
+ - - ">="
480
+ - !ruby/object:Gem::Version
481
+ version: '0'
482
+ requirements: []
483
+ rubyforge_project:
484
+ rubygems_version: 2.4.8
485
+ signing_key:
486
+ specification_version: 4
487
+ summary: PublicanCreators are a small tool for daily DocBook writers who are using
488
+ the Redhat publican tool https://fedorahosted.org/publican/
489
+ test_files: []