publican_creators 1.2.3 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,37 +1,37 @@
1
- # Copyright (C) 2013-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
- # Dependencies
17
- require 'fileutils'
18
-
19
- # Class for methods in testing environment
20
- class PublicanCreatorsTest
21
- # Method for checking file content
22
- # @param [String] file can be any file
23
- # @param [String] pattern is the searchpattern
24
- # @return [String] result
25
- def self.check_content(file, pattern)
26
- f = File.new(file)
27
- text = f.read
28
- result = 'false' # Default false
29
- result = 'true' if text =~ /"#{pattern}"/ # if found true
30
- return result
31
- end
32
-
33
- # Method for cleanup the test results
34
- def self.cleanup
35
- system('rm -rf The_holy_Bible*')
36
- end
37
- end
1
+ # Copyright (C) 2013-2020 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
+ # Dependencies
17
+ require 'fileutils'
18
+
19
+ # Class for methods in testing environment
20
+ class PublicanCreatorsTest
21
+ # Method for checking file content
22
+ # @param [String] file can be any file
23
+ # @param [String] pattern is the searchpattern
24
+ # @return [String] result
25
+ def self.check_content(file, pattern)
26
+ f = File.new(file)
27
+ text = f.read
28
+ result = 'false' # Default false
29
+ result = 'true' if text =~ /"#{pattern}"/ # if found true
30
+ return result
31
+ end
32
+
33
+ # Method for cleanup the test results
34
+ def self.cleanup
35
+ system('rm -rf The_holy_Bible*')
36
+ end
37
+ end
@@ -1,35 +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.3'.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
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: publican_creators
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
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: 2019-05-20 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
14
  name: rdoc
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '6.1'
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: '6.1'
26
+ version: '6.2'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '12.3'
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: '12.3'
40
+ version: '13.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rainbow
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.0'
61
+ version: '2.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.0'
68
+ version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: parseconfig
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -86,28 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: '3.8'
89
+ version: '3.9'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: '3.8'
96
+ version: '3.9'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: xdg
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: '2.2'
103
+ version: '4.1'
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: '2.2'
110
+ version: '4.1'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: nokogiri
113
113
  requirement: !ruby/object:Gem::Requirement
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '1'
145
+ version: '1.13'
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: '1'
152
+ version: '1.13'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: notifier
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -185,7 +185,7 @@ dependencies:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0.68'
188
- type: :runtime
188
+ type: :development
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
@@ -213,8 +213,6 @@ files:
213
213
  - README.md
214
214
  - bin/publican_creators.rb
215
215
  - bin/revision_creator.rb
216
- - data/publican_creators/publican-revision.png
217
- - data/publican_creators/publican.png
218
216
  - etc/publicancreators.cfg
219
217
  - lib/publican_creators.rb
220
218
  - lib/publican_creators/change.rb
@@ -234,7 +232,7 @@ metadata:
234
232
  homepage_uri: https://github.com/saigkill/publican_creators
235
233
  changelog_uri: https://github.com/saigkill/publican_creators/blob/master/CHANGELOG.md
236
234
  source_code_uri: https://github.com/saigkill/publican_creators
237
- documentation_uri: https://saschamanns.de/docs/publican_creators/index.html
235
+ documentation_uri: https://saigkill.github.io/publican_creators/
238
236
  bug_tracker_uri: https://github.com/saigkill/publican_creators/issues
239
237
  post_install_message:
240
238
  rdoc_options: []
@@ -251,8 +249,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
251
249
  - !ruby/object:Gem::Version
252
250
  version: '0'
253
251
  requirements: []
254
- rubyforge_project:
255
- rubygems_version: 2.7.6.2
252
+ rubygems_version: 3.1.2
256
253
  signing_key:
257
254
  specification_version: 4
258
255
  summary: Small tool for daily DocBook writers