hoe-manns 1.6.2 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +9 -7
- data/Gemfile.lock +76 -40
- data/History.rdoc +20 -0
- data/LICENSE.rdoc +619 -24
- data/Manifest.txt +0 -11
- data/README.rdoc +107 -45
- data/Rakefile +16 -13
- data/STATUS.rdoc +30 -0
- data/lib/hoe/manns.rb +31 -86
- data/spec/manns_spec.rb +2 -17
- metadata +75 -49
- data/.codeclimate.yml +0 -8
- data/.coveralls.yml +0 -2
- data/.gemnasium.yml +0 -5
- data/.rspec +0 -2
- data/.rubocop.yml +0 -39
- data/.scrutinizer.yml +0 -21
- data/.travis.yml +0 -30
- data/CODE_OF_CONDUCT.md +0 -17
- data/CONTRIBUTING.md +0 -33
- data/MAINTENANCE.md +0 -11
- data/config.reek +0 -111
data/spec/manns_spec.rb
CHANGED
@@ -4,19 +4,13 @@ require File.join(File.dirname(__FILE__), '..', 'spec/spec_helper')
|
|
4
4
|
require 'fileutils'
|
5
5
|
|
6
6
|
describe 'Hoe::Manns' do
|
7
|
-
# def self.update_gemfile_lock_method
|
8
|
-
# puts 'Updating Gemfile.lock'.colour(:yellow)
|
9
|
-
# system('bundle update')
|
10
|
-
# puts 'Updated Gemfile.lock'.colour(:green)
|
11
|
-
# end
|
12
7
|
describe 'update_gemfile_lock_method' do
|
13
8
|
it 'creates a new Gemfile.lock' do
|
14
9
|
FileUtils.rm(File.join(File.dirname(__FILE__), '..', 'Gemfile.lock'))
|
15
10
|
Hoe::Manns.update_gemfile_lock_method
|
16
|
-
avail = false
|
17
11
|
avail = File.exist?(File.join(File.dirname(__FILE__), '..',
|
18
12
|
'Gemfile.lock'))
|
19
|
-
expect(avail)
|
13
|
+
expect(avail)
|
20
14
|
end
|
21
15
|
end
|
22
16
|
|
@@ -25,14 +19,7 @@ describe 'Hoe::Manns' do
|
|
25
19
|
FileUtils.touch('hoe-manns.gemspec')
|
26
20
|
Hoe::Manns.remove_pre_gemspec_method
|
27
21
|
gemspec = Dir.glob('*.gemspec').empty?
|
28
|
-
expect(gemspec)
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
describe 'get projectname' do
|
33
|
-
it 'gets the projectname' do
|
34
|
-
projectname = Hoe::Manns.get_projectname
|
35
|
-
expect(projectname) == ''
|
22
|
+
expect(gemspec)
|
36
23
|
end
|
37
24
|
end
|
38
25
|
|
@@ -42,5 +29,3 @@ describe 'Hoe::Manns' do
|
|
42
29
|
end
|
43
30
|
end
|
44
31
|
end
|
45
|
-
|
46
|
-
|
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hoe-manns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
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-
|
11
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: parseconfig
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '1.0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '1.0'
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: rainbow
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +30,14 @@ dependencies:
|
|
44
30
|
requirements:
|
45
31
|
- - "~>"
|
46
32
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0.
|
33
|
+
version: '0.6'
|
48
34
|
type: :runtime
|
49
35
|
prerelease: false
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
51
37
|
requirements:
|
52
38
|
- - "~>"
|
53
39
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0.
|
40
|
+
version: '0.6'
|
55
41
|
- !ruby/object:Gem::Dependency
|
56
42
|
name: coveralls
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +66,20 @@ dependencies:
|
|
80
66
|
- - "~>"
|
81
67
|
- !ruby/object:Gem::Version
|
82
68
|
version: '1.3'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: hoe-doofus
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: hoe-git
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,6 +94,34 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '1.6'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: hoe-manns
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '1.6'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '1.6'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: hoe-reek
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '1.1'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '1.1'
|
97
125
|
- !ruby/object:Gem::Dependency
|
98
126
|
name: hoe-rubocop
|
99
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -123,7 +151,7 @@ dependencies:
|
|
123
151
|
- !ruby/object:Gem::Version
|
124
152
|
version: '1.0'
|
125
153
|
- !ruby/object:Gem::Dependency
|
126
|
-
name: hoe-
|
154
|
+
name: hoe-travis
|
127
155
|
requirement: !ruby/object:Gem::Requirement
|
128
156
|
requirements:
|
129
157
|
- - "~>"
|
@@ -156,56 +184,56 @@ dependencies:
|
|
156
184
|
requirements:
|
157
185
|
- - "~>"
|
158
186
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
187
|
+
version: '12.1'
|
160
188
|
type: :development
|
161
189
|
prerelease: false
|
162
190
|
version_requirements: !ruby/object:Gem::Requirement
|
163
191
|
requirements:
|
164
192
|
- - "~>"
|
165
193
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
194
|
+
version: '12.1'
|
167
195
|
- !ruby/object:Gem::Dependency
|
168
|
-
name:
|
196
|
+
name: rdoc
|
169
197
|
requirement: !ruby/object:Gem::Requirement
|
170
198
|
requirements:
|
171
199
|
- - "~>"
|
172
200
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
201
|
+
version: '5.1'
|
174
202
|
type: :development
|
175
203
|
prerelease: false
|
176
204
|
version_requirements: !ruby/object:Gem::Requirement
|
177
205
|
requirements:
|
178
206
|
- - "~>"
|
179
207
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
208
|
+
version: '5.1'
|
181
209
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
210
|
+
name: rubocop
|
183
211
|
requirement: !ruby/object:Gem::Requirement
|
184
212
|
requirements:
|
185
213
|
- - "~>"
|
186
214
|
- !ruby/object:Gem::Version
|
187
|
-
version: '0.
|
215
|
+
version: '0.50'
|
188
216
|
type: :development
|
189
217
|
prerelease: false
|
190
218
|
version_requirements: !ruby/object:Gem::Requirement
|
191
219
|
requirements:
|
192
220
|
- - "~>"
|
193
221
|
- !ruby/object:Gem::Version
|
194
|
-
version: '0.
|
222
|
+
version: '0.50'
|
195
223
|
- !ruby/object:Gem::Dependency
|
196
|
-
name:
|
224
|
+
name: rspec
|
197
225
|
requirement: !ruby/object:Gem::Requirement
|
198
226
|
requirements:
|
199
227
|
- - "~>"
|
200
228
|
- !ruby/object:Gem::Version
|
201
|
-
version: '
|
229
|
+
version: '3.7'
|
202
230
|
type: :development
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
205
233
|
requirements:
|
206
234
|
- - "~>"
|
207
235
|
- !ruby/object:Gem::Version
|
208
|
-
version: '
|
236
|
+
version: '3.7'
|
209
237
|
- !ruby/object:Gem::Dependency
|
210
238
|
name: hoe
|
211
239
|
requirement: !ruby/object:Gem::Requirement
|
@@ -232,46 +260,44 @@ description: |-
|
|
232
260
|
* run_before_release
|
233
261
|
* run_after_release
|
234
262
|
* update_workspace
|
263
|
+
|
264
|
+
The History.rdoc contains a detailed description on what has changed. For most
|
265
|
+
users the NEWS file might be a better place to look since it contains
|
266
|
+
change summaries between the different versions.
|
267
|
+
|
268
|
+
youtube_dlhelper is released under the GPL3 License, see the file 'License.rdoc'
|
269
|
+
for more information.
|
270
|
+
|
271
|
+
The official web site is:
|
272
|
+
|
273
|
+
https://launchpad.net/hoe-manns
|
235
274
|
email:
|
236
275
|
- Sascha.Manns@mailbox.org
|
237
276
|
executables: []
|
238
277
|
extensions: []
|
239
278
|
extra_rdoc_files:
|
240
|
-
- CODE_OF_CONDUCT.md
|
241
|
-
- CONTRIBUTING.md
|
242
279
|
- History.rdoc
|
243
280
|
- LICENSE.rdoc
|
244
|
-
- MAINTENANCE.md
|
245
281
|
- Manifest.txt
|
246
282
|
- README.rdoc
|
283
|
+
- STATUS.rdoc
|
247
284
|
files:
|
248
|
-
- ".codeclimate.yml"
|
249
|
-
- ".coveralls.yml"
|
250
|
-
- ".gemnasium.yml"
|
251
|
-
- ".rspec"
|
252
|
-
- ".rubocop.yml"
|
253
|
-
- ".scrutinizer.yml"
|
254
|
-
- ".travis.yml"
|
255
|
-
- CODE_OF_CONDUCT.md
|
256
|
-
- CONTRIBUTING.md
|
257
285
|
- Gemfile
|
258
286
|
- Gemfile.lock
|
259
287
|
- History.rdoc
|
260
288
|
- LICENSE.rdoc
|
261
|
-
- MAINTENANCE.md
|
262
289
|
- Manifest.txt
|
263
290
|
- README.rdoc
|
264
291
|
- Rakefile
|
265
|
-
-
|
292
|
+
- STATUS.rdoc
|
266
293
|
- lib/hoe/manns.rb
|
267
294
|
- spec/manns_spec.rb
|
268
295
|
- spec/spec_helper.rb
|
269
|
-
homepage:
|
296
|
+
homepage: https://launchpad.net/hoe-manns
|
270
297
|
licenses:
|
271
|
-
-
|
298
|
+
- GPL-3
|
272
299
|
metadata: {}
|
273
|
-
post_install_message:
|
274
|
-
*** Please file bugreports and feature requests on: https://github.com/saigkill/hoe-manns/issues"
|
300
|
+
post_install_message: 'Please file bugreports on: https://bugs.launchpad.net/hoe-manns'
|
275
301
|
rdoc_options:
|
276
302
|
- "--main"
|
277
303
|
- README.rdoc
|
@@ -289,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
315
|
version: '0'
|
290
316
|
requirements: []
|
291
317
|
rubyforge_project:
|
292
|
-
rubygems_version: 2.6.
|
318
|
+
rubygems_version: 2.6.13
|
293
319
|
signing_key:
|
294
320
|
specification_version: 4
|
295
321
|
summary: hoe-manns is a small collection of my personal used rake tasks for using
|
data/.codeclimate.yml
DELETED
data/.coveralls.yml
DELETED
data/.gemnasium.yml
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
# api_endpoint: http://private-77f5-gemnasium.apiary-mock.com
|
2
|
-
api_key: 0f4473f5825f325227eb7a3a9a3425af # You personal (secret) API key. Get it at https://gemnasium.com/settings/api_access
|
3
|
-
project_name: hoe-manns # A name to remember your project.
|
4
|
-
project_slug: saigkill/hoe-manns # 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
data/.rubocop.yml
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
AllCops:
|
2
|
-
|
3
|
-
Include:
|
4
|
-
- 'lib/**/*.rb'
|
5
|
-
- 'spec/**/*.rb'
|
6
|
-
|
7
|
-
Exclude:
|
8
|
-
- 'Rakefile'
|
9
|
-
|
10
|
-
DisplayCopNames: true
|
11
|
-
|
12
|
-
Metrics/LineLength:
|
13
|
-
Enabled: true
|
14
|
-
Max: 80
|
15
|
-
|
16
|
-
Metrics/CyclomaticComplexity:
|
17
|
-
Severity: warning
|
18
|
-
|
19
|
-
Style/PerlBackrefs:
|
20
|
-
AutoCorrect: true
|
21
|
-
|
22
|
-
Metrics/ParameterLists:
|
23
|
-
Max: 10
|
24
|
-
CountKeywordArgs: true
|
25
|
-
|
26
|
-
Metrics/ClassLength:
|
27
|
-
CountComments: false # count full line comments?
|
28
|
-
Max: 150
|
29
|
-
|
30
|
-
Metrics/ModuleLength:
|
31
|
-
CountComments: false # count full line comments?
|
32
|
-
Max: 190
|
33
|
-
|
34
|
-
Metrics/MethodLength:
|
35
|
-
CountComments: false # count full line comments?
|
36
|
-
Max: 20
|
37
|
-
|
38
|
-
Style/RedundantReturn:
|
39
|
-
Enabled: false
|
data/.scrutinizer.yml
DELETED
@@ -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/*'
|
data/.travis.yml
DELETED
@@ -1,30 +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
|
-
|
25
|
-
after_success:
|
26
|
-
- CI=true TRAVIS=true coveralls --verbose
|
27
|
-
|
28
|
-
notifications:
|
29
|
-
email:
|
30
|
-
- Sascha.Manns@mailbox.org
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -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/CONTRIBUTING.md
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
# Contributing
|
2
|
-
|
3
|
-
## Branches
|
4
|
-
|
5
|
-
### `master` branch
|
6
|
-
|
7
|
-
The master branch is the current stable released version.
|
8
|
-
|
9
|
-
### `develop` branch
|
10
|
-
|
11
|
-
The develop branch is the current edge of development.
|
12
|
-
|
13
|
-
## Forking
|
14
|
-
|
15
|
-
1. Fork it
|
16
|
-
2. Create your feature branch (`git checkout -b my-new-feature`)
|
17
|
-
3. Commit your changes (`git commit -am 'Add some feature'`)
|
18
|
-
4. Push to the branch (`git push origin my-new-feature`)
|
19
|
-
5. Create new Pull Request
|
20
|
-
|
21
|
-
## Pull requests
|
22
|
-
|
23
|
-
* https://github.com/saigkill/hoe-manns/pulls
|
24
|
-
|
25
|
-
Please base all pull requests off the `develop` branch. Merges to
|
26
|
-
`master` only occur through the `develop` branch. Pull requests
|
27
|
-
based on `master` will likely be cherry picked.
|
28
|
-
|
29
|
-
## Issues
|
30
|
-
|
31
|
-
Need to report an issue? Use that issue tracker:
|
32
|
-
|
33
|
-
* https://saigkill.myjetbrains.com/youtrack/issues
|