hoe-manns 2.1.6 → 2.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +234 -229
- data/CONTRIBUTING.md +31 -35
- data/LICENSE.md +635 -635
- data/MAINTENANCE.md +18 -18
- data/README.md +88 -89
- data/lib/hoe/manns-methods.rb +71 -71
- data/lib/hoe/manns.rb +104 -104
- data/lib/hoe/version.rb +35 -35
- data/spec/manns_spec.rb +37 -37
- data/spec/spec_helper.rb +21 -21
- metadata +17 -24
data/lib/hoe/version.rb
CHANGED
@@ -1,35 +1,35 @@
|
|
1
|
-
# Copyright (C) 2015-
|
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 Hoe::Manns
|
18
|
-
# This module holds the latex_curriculum_vitae version information.
|
19
|
-
|
20
|
-
module Version
|
21
|
-
STRING = '2.1.
|
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-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
|
+
# main module
|
17
|
+
module Hoe::Manns
|
18
|
+
# This module holds the latex_curriculum_vitae version information.
|
19
|
+
|
20
|
+
module Version
|
21
|
+
STRING = '2.1.7'.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
|
data/spec/manns_spec.rb
CHANGED
@@ -1,37 +1,37 @@
|
|
1
|
-
require 'rspec'
|
2
|
-
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/manns')
|
3
|
-
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/manns-methods')
|
4
|
-
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/version')
|
5
|
-
require File.join(File.dirname(__FILE__), '..', 'spec/spec_helper')
|
6
|
-
require 'fileutils'
|
7
|
-
|
8
|
-
RSpec.describe Hoe::Manns do
|
9
|
-
|
10
|
-
it 'installs a bundle' do
|
11
|
-
success = Hoe::MannsMethods.bundle_install
|
12
|
-
expect(success)
|
13
|
-
end
|
14
|
-
|
15
|
-
it 'creates a new Gemfile.lock' do
|
16
|
-
FileUtils.rm(File.join(File.dirname(__FILE__), '..', 'Gemfile.lock'))
|
17
|
-
Hoe::MannsMethods.update_gemfile_lock_method
|
18
|
-
avail = File.exist?(File.join(File.dirname(__FILE__), '..',
|
19
|
-
'Gemfile.lock'))
|
20
|
-
expect(avail)
|
21
|
-
end
|
22
|
-
|
23
|
-
# it 'removes the old gemspec' do
|
24
|
-
# FileUtils.touch('hoe-manns.gemspec')
|
25
|
-
# Hoe::MannsMethods.remove_pre_gemspec_method
|
26
|
-
# gemspec = Dir.glob('*.gemspec').empty?
|
27
|
-
# expect(gemspec)
|
28
|
-
# end
|
29
|
-
|
30
|
-
it 'cleans the pkg' do
|
31
|
-
Hoe::MannsMethods.clean_pkg_method
|
32
|
-
end
|
33
|
-
|
34
|
-
it "has a version number" do
|
35
|
-
expect(Hoe::Manns::VERSION).not_to be nil
|
36
|
-
end
|
37
|
-
end
|
1
|
+
require 'rspec'
|
2
|
+
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/manns')
|
3
|
+
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/manns-methods')
|
4
|
+
require File.join(File.dirname(__FILE__), '..', 'lib/hoe/version')
|
5
|
+
require File.join(File.dirname(__FILE__), '..', 'spec/spec_helper')
|
6
|
+
require 'fileutils'
|
7
|
+
|
8
|
+
RSpec.describe Hoe::Manns do
|
9
|
+
|
10
|
+
it 'installs a bundle' do
|
11
|
+
success = Hoe::MannsMethods.bundle_install
|
12
|
+
expect(success)
|
13
|
+
end
|
14
|
+
|
15
|
+
it 'creates a new Gemfile.lock' do
|
16
|
+
FileUtils.rm(File.join(File.dirname(__FILE__), '..', 'Gemfile.lock'))
|
17
|
+
Hoe::MannsMethods.update_gemfile_lock_method
|
18
|
+
avail = File.exist?(File.join(File.dirname(__FILE__), '..',
|
19
|
+
'Gemfile.lock'))
|
20
|
+
expect(avail)
|
21
|
+
end
|
22
|
+
|
23
|
+
# it 'removes the old gemspec' do
|
24
|
+
# FileUtils.touch('hoe-manns.gemspec')
|
25
|
+
# Hoe::MannsMethods.remove_pre_gemspec_method
|
26
|
+
# gemspec = Dir.glob('*.gemspec').empty?
|
27
|
+
# expect(gemspec)
|
28
|
+
# end
|
29
|
+
|
30
|
+
it 'cleans the pkg' do
|
31
|
+
Hoe::MannsMethods.clean_pkg_method
|
32
|
+
end
|
33
|
+
|
34
|
+
it "has a version number" do
|
35
|
+
expect(Hoe::Manns::VERSION).not_to be nil
|
36
|
+
end
|
37
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
require 'fileutils'
|
2
|
-
require 'rake'
|
3
|
-
require 'simplecov'
|
4
|
-
require 'simplecov-cobertura'
|
5
|
-
|
6
|
-
RSpec.configure do |config|
|
7
|
-
|
8
|
-
# Disable RSpec exposing methods globally on `Module` and `main`
|
9
|
-
config.disable_monkey_patching!
|
10
|
-
|
11
|
-
config.expect_with :rspec do |c|
|
12
|
-
c.syntax = :expect
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
SimpleCov.formatters = [
|
17
|
-
SimpleCov::Formatter::HTMLFormatter,
|
18
|
-
SimpleCov::Formatter::CoberturaFormatter
|
19
|
-
]
|
20
|
-
|
21
|
-
SimpleCov.start
|
1
|
+
require 'fileutils'
|
2
|
+
require 'rake'
|
3
|
+
require 'simplecov'
|
4
|
+
require 'simplecov-cobertura'
|
5
|
+
|
6
|
+
RSpec.configure do |config|
|
7
|
+
|
8
|
+
# Disable RSpec exposing methods globally on `Module` and `main`
|
9
|
+
config.disable_monkey_patching!
|
10
|
+
|
11
|
+
config.expect_with :rspec do |c|
|
12
|
+
c.syntax = :expect
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
SimpleCov.formatters = [
|
17
|
+
SimpleCov::Formatter::HTMLFormatter,
|
18
|
+
SimpleCov::Formatter::CoberturaFormatter
|
19
|
+
]
|
20
|
+
|
21
|
+
SimpleCov.start
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-manns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sascha Manns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-25 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.
|
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.
|
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: '
|
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: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rainbow
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,36 +56,30 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '1.16'
|
62
|
-
- - "<"
|
59
|
+
- - "~>"
|
63
60
|
- !ruby/object:Gem::Version
|
64
|
-
version: '
|
61
|
+
version: '2.1'
|
65
62
|
type: :runtime
|
66
63
|
prerelease: false
|
67
64
|
version_requirements: !ruby/object:Gem::Requirement
|
68
65
|
requirements:
|
69
|
-
- - "
|
70
|
-
- !ruby/object:Gem::Version
|
71
|
-
version: '1.16'
|
72
|
-
- - "<"
|
66
|
+
- - "~>"
|
73
67
|
- !ruby/object:Gem::Version
|
74
|
-
version: '
|
68
|
+
version: '2.1'
|
75
69
|
- !ruby/object:Gem::Dependency
|
76
70
|
name: bundler-audit
|
77
71
|
requirement: !ruby/object:Gem::Requirement
|
78
72
|
requirements:
|
79
73
|
- - "~>"
|
80
74
|
- !ruby/object:Gem::Version
|
81
|
-
version: '0.
|
75
|
+
version: '0.7'
|
82
76
|
type: :runtime
|
83
77
|
prerelease: false
|
84
78
|
version_requirements: !ruby/object:Gem::Requirement
|
85
79
|
requirements:
|
86
80
|
- - "~>"
|
87
81
|
- !ruby/object:Gem::Version
|
88
|
-
version: '0.
|
82
|
+
version: '0.7'
|
89
83
|
- !ruby/object:Gem::Dependency
|
90
84
|
name: hoe-bundler
|
91
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -134,28 +128,28 @@ dependencies:
|
|
134
128
|
requirements:
|
135
129
|
- - "~>"
|
136
130
|
- !ruby/object:Gem::Version
|
137
|
-
version: '3.
|
131
|
+
version: '3.9'
|
138
132
|
type: :development
|
139
133
|
prerelease: false
|
140
134
|
version_requirements: !ruby/object:Gem::Requirement
|
141
135
|
requirements:
|
142
136
|
- - "~>"
|
143
137
|
- !ruby/object:Gem::Version
|
144
|
-
version: '3.
|
138
|
+
version: '3.9'
|
145
139
|
- !ruby/object:Gem::Dependency
|
146
140
|
name: simplecov
|
147
141
|
requirement: !ruby/object:Gem::Requirement
|
148
142
|
requirements:
|
149
143
|
- - "~>"
|
150
144
|
- !ruby/object:Gem::Version
|
151
|
-
version: '0.
|
145
|
+
version: '0.18'
|
152
146
|
type: :development
|
153
147
|
prerelease: false
|
154
148
|
version_requirements: !ruby/object:Gem::Requirement
|
155
149
|
requirements:
|
156
150
|
- - "~>"
|
157
151
|
- !ruby/object:Gem::Version
|
158
|
-
version: '0.
|
152
|
+
version: '0.18'
|
159
153
|
- !ruby/object:Gem::Dependency
|
160
154
|
name: simplecov-cobertura
|
161
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,7 +194,6 @@ metadata:
|
|
200
194
|
source_code_uri: https://github.com/saigkill/hoe-manns
|
201
195
|
documentation_uri: https://github.com/saigkill/hoe-manns/wiki
|
202
196
|
bug_tracker_uri: https://github.com/saigkill/hoe-manns/issues
|
203
|
-
mailing_list_uri: https://groups.google.com/forum/#!forum/saigkills-hoe-plugins
|
204
197
|
post_install_message: 'Please file bugreports on: https://github.com/saigkill/hoe-manns/issues'
|
205
198
|
rdoc_options: []
|
206
199
|
require_paths:
|
@@ -216,7 +209,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
216
209
|
- !ruby/object:Gem::Version
|
217
210
|
version: '0'
|
218
211
|
requirements: []
|
219
|
-
rubygems_version: 3.0.
|
212
|
+
rubygems_version: 3.0.3
|
220
213
|
signing_key:
|
221
214
|
specification_version: 4
|
222
215
|
summary: Collection of some personal used tasks
|