manpages 0.6.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.github/workflows/ruby.yml +37 -0
- data/.github_changelog_generator +1 -0
- data/.rubocop.yml +45 -15
- data/CHANGELOG.md +153 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +96 -37
- data/README.md +3 -4
- data/Rakefile +3 -1
- data/lib/manpages/gem_version.rb +3 -1
- data/lib/manpages/install.rb +5 -1
- data/lib/manpages/man_files.rb +2 -0
- data/lib/manpages/uninstall.rb +3 -1
- data/lib/manpages/version.rb +3 -1
- data/lib/manpages.rb +2 -0
- data/lib/rubygems/commands/manpages_command.rb +6 -4
- data/lib/rubygems_plugin.rb +2 -0
- data/manpages.gemspec +18 -17
- metadata +22 -25
- data/.rubocop_todo.yml +0 -248
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 100b15e3313651deaa379e1d4596125d88aadb96ff65d26ce9ac0ccf3fb1eaf1
|
|
4
|
+
data.tar.gz: 13ef5f2c31a8b6980ca8a18afa6232874156d1adfcf719476de80f2b7fb64307
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b80db7db8af22dc8866af21e438370921a03c6e293c1e4a4b71897a42229af3d68ac17613cc87666e293ce84abd38b8dec883f20cee6112e7fb16f3855c5bcb8
|
|
7
|
+
data.tar.gz: 88514b4c319e6af9b17af859a545071ed2c272538cadf380b822a7bcd0c580872bdf2d675fa50aba6620d1323ebe767204e4cd125c486c834ac5f262460e4c82
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
|
2
|
+
# They are provided by a third-party and are governed by
|
|
3
|
+
# separate terms of service, privacy policy, and support
|
|
4
|
+
# documentation.
|
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
|
7
|
+
|
|
8
|
+
name: Ruby
|
|
9
|
+
|
|
10
|
+
on:
|
|
11
|
+
push:
|
|
12
|
+
branches: [ "main" ]
|
|
13
|
+
pull_request:
|
|
14
|
+
branches: [ "main" ]
|
|
15
|
+
|
|
16
|
+
permissions:
|
|
17
|
+
contents: read
|
|
18
|
+
|
|
19
|
+
jobs:
|
|
20
|
+
test:
|
|
21
|
+
|
|
22
|
+
runs-on: ubuntu-latest
|
|
23
|
+
strategy:
|
|
24
|
+
matrix:
|
|
25
|
+
ruby-version: ['3.1', '3.2', '3.3', '3.4']
|
|
26
|
+
|
|
27
|
+
steps:
|
|
28
|
+
- uses: actions/checkout@v4
|
|
29
|
+
- name: Set up Ruby
|
|
30
|
+
uses: ruby/setup-ruby@6aaa311d81eba98ae12eaffbcb63296ace0efcde # v1.307.0
|
|
31
|
+
with:
|
|
32
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
33
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
|
34
|
+
- name: Run tests
|
|
35
|
+
run: bundle exec rake
|
|
36
|
+
- name: Run rubocop
|
|
37
|
+
run: bundle exec rubocop
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
unreleased=false
|
data/.rubocop.yml
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
-
|
|
1
|
+
plugins:
|
|
2
|
+
- rubocop-rspec
|
|
3
3
|
|
|
4
4
|
AllCops:
|
|
5
|
-
TargetRubyVersion:
|
|
5
|
+
TargetRubyVersion: 3.0
|
|
6
|
+
NewCops: disable
|
|
7
|
+
SuggestExtensions: false
|
|
6
8
|
Exclude:
|
|
7
9
|
- tmp/**/*
|
|
8
10
|
- lib/bundler/vendor/**/*
|
|
@@ -15,8 +17,8 @@ AllCops:
|
|
|
15
17
|
Lint/AssignmentInCondition:
|
|
16
18
|
Enabled: false
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
Layout/EndAlignment:
|
|
21
|
+
EnforcedStyleAlignWith: variable
|
|
20
22
|
AutoCorrect: true
|
|
21
23
|
|
|
22
24
|
Lint/UnusedMethodArgument:
|
|
@@ -24,28 +26,37 @@ Lint/UnusedMethodArgument:
|
|
|
24
26
|
|
|
25
27
|
# Style
|
|
26
28
|
|
|
27
|
-
|
|
29
|
+
Layout/AccessModifierIndentation:
|
|
28
30
|
EnforcedStyle: outdent
|
|
29
31
|
|
|
30
32
|
Style/Alias:
|
|
31
33
|
EnforcedStyle: prefer_alias_method
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
Layout/ParameterAlignment:
|
|
34
36
|
EnforcedStyle: with_fixed_indentation
|
|
35
37
|
|
|
38
|
+
Style/ClassAndModuleChildren:
|
|
39
|
+
Enabled: false
|
|
40
|
+
|
|
41
|
+
Style/Documentation:
|
|
42
|
+
Enabled: false
|
|
43
|
+
|
|
36
44
|
Style/MultilineBlockChain:
|
|
37
45
|
Enabled: false
|
|
38
46
|
|
|
39
|
-
|
|
47
|
+
Layout/MultilineOperationIndentation:
|
|
40
48
|
EnforcedStyle: indented
|
|
41
49
|
|
|
42
50
|
Style/PerlBackrefs:
|
|
43
51
|
Enabled: false
|
|
44
52
|
|
|
53
|
+
Style/RaiseArgs:
|
|
54
|
+
Enabled: false
|
|
55
|
+
|
|
45
56
|
Style/SingleLineBlockParams:
|
|
46
57
|
Enabled: false
|
|
47
58
|
|
|
48
|
-
|
|
59
|
+
Layout/SpaceInsideBlockBraces:
|
|
49
60
|
SpaceBeforeBlockParameters: false
|
|
50
61
|
|
|
51
62
|
Style/TrivialAccessors:
|
|
@@ -63,7 +74,10 @@ Style/StringLiteralsInInterpolation:
|
|
|
63
74
|
|
|
64
75
|
# Having these make it easier to *not* forget to add one when adding a new
|
|
65
76
|
# value and you can simply copy the previous line.
|
|
66
|
-
Style/
|
|
77
|
+
Style/TrailingCommaInArrayLiteral:
|
|
78
|
+
EnforcedStyleForMultiline: comma
|
|
79
|
+
|
|
80
|
+
Style/TrailingCommaInHashLiteral:
|
|
67
81
|
EnforcedStyleForMultiline: comma
|
|
68
82
|
|
|
69
83
|
Style/TrailingUnderscoreVariable:
|
|
@@ -73,12 +87,10 @@ Style/TrailingUnderscoreVariable:
|
|
|
73
87
|
Style/EmptyLiteral:
|
|
74
88
|
Enabled: false
|
|
75
89
|
|
|
76
|
-
# 1.8.7 support
|
|
77
|
-
|
|
78
90
|
Style/Lambda:
|
|
79
91
|
Enabled: false
|
|
80
92
|
|
|
81
|
-
|
|
93
|
+
Layout/DotPosition:
|
|
82
94
|
EnforcedStyle: trailing
|
|
83
95
|
|
|
84
96
|
Style/EachWithObject:
|
|
@@ -90,12 +102,20 @@ Style/SpecialGlobalVars:
|
|
|
90
102
|
Style/TrailingCommaInArguments:
|
|
91
103
|
Enabled: false
|
|
92
104
|
|
|
93
|
-
|
|
94
|
-
|
|
105
|
+
# Layout
|
|
106
|
+
|
|
107
|
+
Layout/FirstArrayElementIndentation:
|
|
108
|
+
EnforcedStyle: consistent
|
|
109
|
+
|
|
110
|
+
Layout/LineLength:
|
|
111
|
+
Max: 130
|
|
95
112
|
|
|
96
113
|
# Metrics
|
|
97
114
|
|
|
98
115
|
# We've chosen to use Rubocop only for style, and not for complexity or quality checks.
|
|
116
|
+
Metrics/BlockLength:
|
|
117
|
+
Enabled: false
|
|
118
|
+
|
|
99
119
|
Metrics/ClassLength:
|
|
100
120
|
Enabled: false
|
|
101
121
|
|
|
@@ -121,3 +141,13 @@ Metrics/ParameterLists:
|
|
|
121
141
|
# rules for us.
|
|
122
142
|
Metrics/PerceivedComplexity:
|
|
123
143
|
Enabled: false
|
|
144
|
+
|
|
145
|
+
# RSpec
|
|
146
|
+
|
|
147
|
+
# Integration tests naturally need more than 5 lines to set up, act, and assert.
|
|
148
|
+
RSpec/ExampleLength:
|
|
149
|
+
Max: 15
|
|
150
|
+
|
|
151
|
+
# Integration tests legitimately verify multiple things in one example.
|
|
152
|
+
RSpec/MultipleExpectations:
|
|
153
|
+
Enabled: false
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## [0.7.0](https://github.com/bitboxer/manpages/tree/0.7.0) (2026-05-14)
|
|
4
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.6.2...0.7.0)
|
|
5
|
+
|
|
6
|
+
**Changed:**
|
|
7
|
+
|
|
8
|
+
- Minimum required Ruby version is now 3.0
|
|
9
|
+
|
|
10
|
+
**Added:**
|
|
11
|
+
|
|
12
|
+
- GitHub Actions CI replacing Travis CI, testing Ruby 3.1, 3.2, 3.3, and 3.4
|
|
13
|
+
- `rubocop-rspec` added to enforce RSpec style
|
|
14
|
+
|
|
15
|
+
**Fixed:**
|
|
16
|
+
|
|
17
|
+
- Pinned `parallel` to `< 2.0` to maintain compatibility with Ruby 3.1 and 3.2
|
|
18
|
+
- Resolved all pending RuboCop offenses (removed `.rubocop_todo.yml`)
|
|
19
|
+
|
|
20
|
+
## [0.6.2](https://github.com/bitboxer/manpages/tree/0.6.2) (2026-05-14)
|
|
21
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.6.1...0.6.2)
|
|
22
|
+
|
|
23
|
+
**Fixed:**
|
|
24
|
+
|
|
25
|
+
- Bumped rake, rubocop, and rexml to resolve HIGH/MEDIUM CVEs (#45)
|
|
26
|
+
|
|
27
|
+
## [0.6.1](https://github.com/bitboxer/manpages/tree/0.6.1) (2017-02-05)
|
|
28
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.6.0...0.6.1)
|
|
29
|
+
|
|
30
|
+
**Merged pull requests:**
|
|
31
|
+
|
|
32
|
+
- Travis: with 2.4.0, 2.3.3 [\#40](https://github.com/bitboxer/manpages/pull/40) ([olleolleolle](https://github.com/olleolleolle))
|
|
33
|
+
- Bugfix: require missing FileUtils [\#39](https://github.com/bitboxer/manpages/pull/39) ([olleolleolle](https://github.com/olleolleolle))
|
|
34
|
+
|
|
35
|
+
## [0.6.0](https://github.com/bitboxer/manpages/tree/0.6.0) (2016-12-04)
|
|
36
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.5.2...0.6.0)
|
|
37
|
+
|
|
38
|
+
**Closed issues:**
|
|
39
|
+
|
|
40
|
+
- Flaky test because of running order of tests [\#37](https://github.com/bitboxer/manpages/issues/37)
|
|
41
|
+
- Can't see man pages after installation [\#34](https://github.com/bitboxer/manpages/issues/34)
|
|
42
|
+
|
|
43
|
+
**Merged pull requests:**
|
|
44
|
+
|
|
45
|
+
- \[\#37\] Flaky test because of running order of tests [\#38](https://github.com/bitboxer/manpages/pull/38) ([bitboxer](https://github.com/bitboxer))
|
|
46
|
+
- Use all man pages inside `man` directory [\#36](https://github.com/bitboxer/manpages/pull/36) ([gettalong](https://github.com/gettalong))
|
|
47
|
+
- Fix regex for determining man page file [\#35](https://github.com/bitboxer/manpages/pull/35) ([gettalong](https://github.com/gettalong))
|
|
48
|
+
|
|
49
|
+
## [0.5.2](https://github.com/bitboxer/manpages/tree/0.5.2) (2016-11-19)
|
|
50
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.5.0...0.5.2)
|
|
51
|
+
|
|
52
|
+
**Closed issues:**
|
|
53
|
+
|
|
54
|
+
- Can't set it up in ruby 2.3.2 [\#32](https://github.com/bitboxer/manpages/issues/32)
|
|
55
|
+
|
|
56
|
+
**Merged pull requests:**
|
|
57
|
+
|
|
58
|
+
- \[\#32\] Can't set it up in ruby 2.3.2 [\#33](https://github.com/bitboxer/manpages/pull/33) ([bitboxer](https://github.com/bitboxer))
|
|
59
|
+
|
|
60
|
+
## [0.5.0](https://github.com/bitboxer/manpages/tree/0.5.0) (2016-11-05)
|
|
61
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.5.1...0.5.0)
|
|
62
|
+
|
|
63
|
+
## [0.5.1](https://github.com/bitboxer/manpages/tree/0.5.1) (2016-11-05)
|
|
64
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.4.0...0.5.1)
|
|
65
|
+
|
|
66
|
+
**Closed issues:**
|
|
67
|
+
|
|
68
|
+
- Add command that relinks all manpages of already installed gems [\#24](https://github.com/bitboxer/manpages/issues/24)
|
|
69
|
+
|
|
70
|
+
**Merged pull requests:**
|
|
71
|
+
|
|
72
|
+
- \[\#24\] Add command that relinks all manpages of already installed gems [\#31](https://github.com/bitboxer/manpages/pull/31) ([bitboxer](https://github.com/bitboxer))
|
|
73
|
+
|
|
74
|
+
## [0.4.0](https://github.com/bitboxer/manpages/tree/0.4.0) (2016-11-04)
|
|
75
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.3.2...0.4.0)
|
|
76
|
+
|
|
77
|
+
**Closed issues:**
|
|
78
|
+
|
|
79
|
+
- chore: exclude Gemfile, Gemfile.lock from files that go into the gem [\#28](https://github.com/bitboxer/manpages/issues/28)
|
|
80
|
+
- Add rubocop config from bundler [\#25](https://github.com/bitboxer/manpages/issues/25)
|
|
81
|
+
- Add rbenv hook [\#2](https://github.com/bitboxer/manpages/issues/2)
|
|
82
|
+
|
|
83
|
+
**Merged pull requests:**
|
|
84
|
+
|
|
85
|
+
- \[\#28\] chore: exclude Gemfile, Gemfile.lock from files that go into th… [\#30](https://github.com/bitboxer/manpages/pull/30) ([bitboxer](https://github.com/bitboxer))
|
|
86
|
+
- \[\#2\] Add rbenv hook [\#29](https://github.com/bitboxer/manpages/pull/29) ([bitboxer](https://github.com/bitboxer))
|
|
87
|
+
- Refactor to Pathname, rspec shared settings [\#27](https://github.com/bitboxer/manpages/pull/27) ([olleolleolle](https://github.com/olleolleolle))
|
|
88
|
+
- \[\#25\] Add rubocop config from bundler [\#26](https://github.com/bitboxer/manpages/pull/26) ([bitboxer](https://github.com/bitboxer))
|
|
89
|
+
|
|
90
|
+
## [0.3.2](https://github.com/bitboxer/manpages/tree/0.3.2) (2016-10-30)
|
|
91
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.3.1...0.3.2)
|
|
92
|
+
|
|
93
|
+
**Closed issues:**
|
|
94
|
+
|
|
95
|
+
- remove register command, it is not needed anymore [\#22](https://github.com/bitboxer/manpages/issues/22)
|
|
96
|
+
|
|
97
|
+
**Merged pull requests:**
|
|
98
|
+
|
|
99
|
+
- \[\#22\] remove register command, it is not needed anymore [\#23](https://github.com/bitboxer/manpages/pull/23) ([bitboxer](https://github.com/bitboxer))
|
|
100
|
+
|
|
101
|
+
## [0.3.1](https://github.com/bitboxer/manpages/tree/0.3.1) (2016-10-29)
|
|
102
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.3.0...0.3.1)
|
|
103
|
+
|
|
104
|
+
**Closed issues:**
|
|
105
|
+
|
|
106
|
+
- Using wrong directory to save man pages [\#20](https://github.com/bitboxer/manpages/issues/20)
|
|
107
|
+
- Add description on how to add manpages to a gem [\#18](https://github.com/bitboxer/manpages/issues/18)
|
|
108
|
+
|
|
109
|
+
**Merged pull requests:**
|
|
110
|
+
|
|
111
|
+
- \[\#20\] Using wrong directory to save man pages [\#21](https://github.com/bitboxer/manpages/pull/21) ([bitboxer](https://github.com/bitboxer))
|
|
112
|
+
- \[\#18\] Add description on how to add manpages to a gem [\#19](https://github.com/bitboxer/manpages/pull/19) ([bitboxer](https://github.com/bitboxer))
|
|
113
|
+
|
|
114
|
+
## [0.3.0](https://github.com/bitboxer/manpages/tree/0.3.0) (2016-10-28)
|
|
115
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.2.1...0.3.0)
|
|
116
|
+
|
|
117
|
+
**Closed issues:**
|
|
118
|
+
|
|
119
|
+
- Remove command class [\#13](https://github.com/bitboxer/manpages/issues/13)
|
|
120
|
+
- File.expand\_path [\#10](https://github.com/bitboxer/manpages/issues/10)
|
|
121
|
+
- Make sure to install only the latest version of the man page [\#9](https://github.com/bitboxer/manpages/issues/9)
|
|
122
|
+
- Do not crash if permissions don't allow creating of dirs/files [\#8](https://github.com/bitboxer/manpages/issues/8)
|
|
123
|
+
- Do not overwrite man files [\#7](https://github.com/bitboxer/manpages/issues/7)
|
|
124
|
+
|
|
125
|
+
**Merged pull requests:**
|
|
126
|
+
|
|
127
|
+
- \[\#8\] Do not crash if permissions don't allow creating of dirs/files [\#17](https://github.com/bitboxer/manpages/pull/17) ([bitboxer](https://github.com/bitboxer))
|
|
128
|
+
- \[\#7\] Do not overwrite man files [\#16](https://github.com/bitboxer/manpages/pull/16) ([bitboxer](https://github.com/bitboxer))
|
|
129
|
+
- \[\#9\] Make sure to install only the latest version of the man page [\#15](https://github.com/bitboxer/manpages/pull/15) ([bitboxer](https://github.com/bitboxer))
|
|
130
|
+
- \[\#13\] Remove command class [\#14](https://github.com/bitboxer/manpages/pull/14) ([bitboxer](https://github.com/bitboxer))
|
|
131
|
+
- \[\#10\] File.expand\_path [\#11](https://github.com/bitboxer/manpages/pull/11) ([bitboxer](https://github.com/bitboxer))
|
|
132
|
+
|
|
133
|
+
## [0.2.1](https://github.com/bitboxer/manpages/tree/0.2.1) (2016-10-08)
|
|
134
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.2.0...0.2.1)
|
|
135
|
+
|
|
136
|
+
## [0.2.0](https://github.com/bitboxer/manpages/tree/0.2.0) (2016-10-08)
|
|
137
|
+
[Full Changelog](https://github.com/bitboxer/manpages/compare/0.1.0...0.2.0)
|
|
138
|
+
|
|
139
|
+
**Closed issues:**
|
|
140
|
+
|
|
141
|
+
- Uninstall man pages [\#6](https://github.com/bitboxer/manpages/issues/6)
|
|
142
|
+
- Add chruby hook [\#5](https://github.com/bitboxer/manpages/issues/5)
|
|
143
|
+
|
|
144
|
+
## [0.1.0](https://github.com/bitboxer/manpages/tree/0.1.0) (2016-10-03)
|
|
145
|
+
**Closed issues:**
|
|
146
|
+
|
|
147
|
+
- change test suite to rspec [\#4](https://github.com/bitboxer/manpages/issues/4)
|
|
148
|
+
- Add rvm hook [\#3](https://github.com/bitboxer/manpages/issues/3)
|
|
149
|
+
- Find man pages and copy them [\#1](https://github.com/bitboxer/manpages/issues/1)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/Gemfile
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
source "https://rubygems.org"
|
|
2
4
|
|
|
3
5
|
gemspec
|
|
6
|
+
|
|
7
|
+
gem "rexml", ">= 3.3.9", group: :development
|
|
8
|
+
# parallel 2.x requires Ruby >= 3.3, but we support 3.1+
|
|
9
|
+
gem "parallel", "< 2.0", group: :development
|
|
10
|
+
gem "rubocop-rspec", group: :development
|
data/Gemfile.lock
CHANGED
|
@@ -1,57 +1,116 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
manpages (0.
|
|
4
|
+
manpages (0.7.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
8
8
|
specs:
|
|
9
|
-
ast (2.3
|
|
10
|
-
coderay (1.1.
|
|
11
|
-
diff-lcs (1.2
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
9
|
+
ast (2.4.3)
|
|
10
|
+
coderay (1.1.3)
|
|
11
|
+
diff-lcs (1.6.2)
|
|
12
|
+
io-console (0.8.2)
|
|
13
|
+
json (2.19.5)
|
|
14
|
+
language_server-protocol (3.17.0.5)
|
|
15
|
+
lint_roller (1.1.0)
|
|
16
|
+
method_source (1.1.0)
|
|
17
|
+
parallel (1.28.0)
|
|
18
|
+
parser (3.3.11.1)
|
|
19
|
+
ast (~> 2.4.1)
|
|
20
|
+
racc
|
|
21
|
+
prism (1.9.0)
|
|
22
|
+
pry (0.16.0)
|
|
23
|
+
coderay (~> 1.1)
|
|
24
|
+
method_source (~> 1.0)
|
|
25
|
+
reline (>= 0.6.0)
|
|
26
|
+
racc (1.8.1)
|
|
27
|
+
rainbow (3.1.1)
|
|
28
|
+
rake (13.4.2)
|
|
29
|
+
regexp_parser (2.12.0)
|
|
30
|
+
reline (0.6.3)
|
|
31
|
+
io-console (~> 0.5)
|
|
32
|
+
rexml (3.4.4)
|
|
33
|
+
rspec (3.13.2)
|
|
34
|
+
rspec-core (~> 3.13.0)
|
|
35
|
+
rspec-expectations (~> 3.13.0)
|
|
36
|
+
rspec-mocks (~> 3.13.0)
|
|
37
|
+
rspec-core (3.13.6)
|
|
38
|
+
rspec-support (~> 3.13.0)
|
|
39
|
+
rspec-expectations (3.13.5)
|
|
29
40
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
30
|
-
rspec-support (~> 3.
|
|
31
|
-
rspec-mocks (3.
|
|
41
|
+
rspec-support (~> 3.13.0)
|
|
42
|
+
rspec-mocks (3.13.8)
|
|
32
43
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
33
|
-
rspec-support (~> 3.
|
|
34
|
-
rspec-support (3.
|
|
35
|
-
rubocop (
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
44
|
+
rspec-support (~> 3.13.0)
|
|
45
|
+
rspec-support (3.13.7)
|
|
46
|
+
rubocop (1.86.1)
|
|
47
|
+
json (~> 2.3)
|
|
48
|
+
language_server-protocol (~> 3.17.0.2)
|
|
49
|
+
lint_roller (~> 1.1.0)
|
|
50
|
+
parallel (>= 1.10)
|
|
51
|
+
parser (>= 3.3.0.2)
|
|
52
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
53
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
54
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
39
55
|
ruby-progressbar (~> 1.7)
|
|
40
|
-
unicode-display_width (
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
56
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
57
|
+
rubocop-ast (1.49.1)
|
|
58
|
+
parser (>= 3.3.7.2)
|
|
59
|
+
prism (~> 1.7)
|
|
60
|
+
rubocop-rspec (3.9.0)
|
|
61
|
+
lint_roller (~> 1.1)
|
|
62
|
+
rubocop (~> 1.81)
|
|
63
|
+
ruby-progressbar (1.13.0)
|
|
64
|
+
unicode-display_width (3.2.0)
|
|
65
|
+
unicode-emoji (~> 4.1)
|
|
66
|
+
unicode-emoji (4.2.0)
|
|
44
67
|
|
|
45
68
|
PLATFORMS
|
|
69
|
+
arm64-darwin-25
|
|
46
70
|
ruby
|
|
47
71
|
|
|
48
72
|
DEPENDENCIES
|
|
49
|
-
bundler (
|
|
73
|
+
bundler (>= 2.0)
|
|
50
74
|
manpages!
|
|
75
|
+
parallel (< 2.0)
|
|
51
76
|
pry (~> 0)
|
|
52
|
-
rake (~>
|
|
77
|
+
rake (~> 13.0)
|
|
78
|
+
rexml (>= 3.3.9)
|
|
53
79
|
rspec (~> 3.0)
|
|
54
|
-
rubocop (~> 0
|
|
80
|
+
rubocop (~> 1.0)
|
|
81
|
+
rubocop-rspec
|
|
82
|
+
|
|
83
|
+
CHECKSUMS
|
|
84
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
|
85
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
86
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
87
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
88
|
+
json (2.19.5) sha256=218a18553e4801d579ca7e0f5bc72bafd776d7397238a1fb4e74db5b0a812c59
|
|
89
|
+
language_server-protocol (3.17.0.5) sha256=fd1e39a51a28bf3eec959379985a72e296e9f9acfce46f6a79d31ca8760803cc
|
|
90
|
+
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
|
91
|
+
manpages (0.7.0)
|
|
92
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
93
|
+
parallel (1.28.0) sha256=33e6de1484baf2524792d178b0913fc8eb94c628d6cfe45599ad4458c638c970
|
|
94
|
+
parser (3.3.11.1) sha256=d17ace7aabe3e72c3cc94043714be27cc6f852f104d81aa284c2281aecc65d54
|
|
95
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
96
|
+
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
97
|
+
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
|
98
|
+
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
|
99
|
+
rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
|
|
100
|
+
regexp_parser (2.12.0) sha256=35a916a1d63190ab5c9009457136ae5f3c0c7512d60291d0d1378ba18ce08ebb
|
|
101
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
102
|
+
rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142
|
|
103
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
104
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
105
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
106
|
+
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
107
|
+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
108
|
+
rubocop (1.86.1) sha256=44415f3f01d01a21e01132248d2fd0867572475b566ca188a0a42133a08d4531
|
|
109
|
+
rubocop-ast (1.49.1) sha256=4412f3ee70f6fe4546cc489548e0f6fcf76cafcfa80fa03af67098ffed755035
|
|
110
|
+
rubocop-rspec (3.9.0) sha256=8fa70a3619408237d789aeecfb9beef40576acc855173e60939d63332fdb55e2
|
|
111
|
+
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
112
|
+
unicode-display_width (3.2.0) sha256=0cdd96b5681a5949cdbc2c55e7b420facae74c4aaf9a9815eee1087cb1853c42
|
|
113
|
+
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
|
|
55
114
|
|
|
56
115
|
BUNDLED WITH
|
|
57
|
-
|
|
116
|
+
4.0.6
|
data/README.md
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
# Manpages
|
|
2
2
|
|
|
3
|
-
[](https://travis-ci.org/bitboxer/manpages)
|
|
4
3
|
[](https://rubygems.org/gems/manpages)
|
|
5
4
|
|
|
6
|
-
This plugin will add man pages support to ruby gems. Instead
|
|
5
|
+
This plugin will add man pages support to ruby gems. Instead
|
|
7
6
|
of adding a new command like [gem-man](https://github.com/defunkt/gem-man)
|
|
8
7
|
it will try to link the files to a place the `man` command automatically
|
|
9
8
|
discovers.
|
|
@@ -29,7 +28,7 @@ This gem provides hooks to change the man path for the current used ruby version
|
|
|
29
28
|
To install them execute the following line:
|
|
30
29
|
|
|
31
30
|
```
|
|
32
|
-
curl -o- https://raw.githubusercontent.com/bitboxer/manpages/
|
|
31
|
+
curl -o- https://raw.githubusercontent.com/bitboxer/manpages/main/rbenv/rbenv_hook_install.sh | bash
|
|
33
32
|
```
|
|
34
33
|
|
|
35
34
|
After the hooks are installed, rbenv will always change the man symlink to the
|
|
@@ -40,7 +39,7 @@ man page for a gem, you need to execute the command of that gem, first.
|
|
|
40
39
|
|
|
41
40
|
# How this works
|
|
42
41
|
|
|
43
|
-
After a gem is installed, this plugin will check for a directory called `man` within the
|
|
42
|
+
After a gem is installed, this plugin will check for a directory called `man` within the
|
|
44
43
|
gem and link the manpages it finds to `BIN_DIR/../share/man`, where `BIN_DIR` is the
|
|
45
44
|
directory where the executable of the gem is installed.
|
|
46
45
|
|
data/Rakefile
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
require "bundler/gem_tasks"
|
|
2
4
|
require "rspec/core/rake_task"
|
|
3
5
|
require "rubocop/rake_task"
|
|
@@ -6,4 +8,4 @@ RuboCop::RakeTask.new
|
|
|
6
8
|
|
|
7
9
|
RSpec::Core::RakeTask.new(:spec)
|
|
8
10
|
|
|
9
|
-
task default: [
|
|
11
|
+
task default: %i[rubocop spec]
|
data/lib/manpages/gem_version.rb
CHANGED
data/lib/manpages/install.rb
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
require "fileutils"
|
|
4
|
+
|
|
1
5
|
module Manpages
|
|
2
6
|
class Install
|
|
3
7
|
def initialize(gem_spec, gem_dir, target_dir)
|
|
@@ -25,7 +29,7 @@ module Manpages
|
|
|
25
29
|
begin
|
|
26
30
|
FileUtils.mkdir_p(man_target_file.dirname)
|
|
27
31
|
FileUtils.ln_s(file, man_target_file, force: true)
|
|
28
|
-
rescue
|
|
32
|
+
rescue StandardError
|
|
29
33
|
puts "Problems creating symlink #{man_target_file}"
|
|
30
34
|
end
|
|
31
35
|
end
|
data/lib/manpages/man_files.rb
CHANGED
data/lib/manpages/uninstall.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
module Manpages
|
|
2
4
|
class Uninstall
|
|
3
5
|
def initialize(gem_spec, gem_dir, target_dir)
|
|
@@ -21,7 +23,7 @@ module Manpages
|
|
|
21
23
|
def unlink_manpage(file)
|
|
22
24
|
man_target_file = ManFiles.new(@gem_dir, @target_dir).man_file_path(file)
|
|
23
25
|
FileUtils.rm(man_target_file) if man_target_file.symlink? &&
|
|
24
|
-
|
|
26
|
+
man_target_file.readlink == file
|
|
25
27
|
end
|
|
26
28
|
end
|
|
27
29
|
end
|
data/lib/manpages/version.rb
CHANGED
data/lib/manpages.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
class Gem::Commands::ManpagesCommand < Gem::Command
|
|
2
4
|
include Gem::VersionOption
|
|
3
5
|
|
|
@@ -5,8 +7,8 @@ class Gem::Commands::ManpagesCommand < Gem::Command
|
|
|
5
7
|
super "manpages", "Handling manpages in gems",
|
|
6
8
|
command: nil,
|
|
7
9
|
version: Gem::Requirement.default,
|
|
8
|
-
latest:
|
|
9
|
-
all:
|
|
10
|
+
latest: false,
|
|
11
|
+
all: false
|
|
10
12
|
|
|
11
13
|
add_update_all_option
|
|
12
14
|
end
|
|
@@ -17,7 +19,7 @@ class Gem::Commands::ManpagesCommand < Gem::Command
|
|
|
17
19
|
|
|
18
20
|
def add_update_all_option
|
|
19
21
|
add_option("-u", "--update-all",
|
|
20
|
-
|
|
22
|
+
"Search for manpages in all installed gems and expose them to man") do |_, options|
|
|
21
23
|
options[:update_all] = true
|
|
22
24
|
end
|
|
23
25
|
end
|
|
@@ -35,7 +37,7 @@ class Gem::Commands::ManpagesCommand < Gem::Command
|
|
|
35
37
|
specs.each do |*name_and_spec|
|
|
36
38
|
spec = name_and_spec.pop
|
|
37
39
|
next unless Manpages::ManFiles.new(spec.gem_dir).manpages_present? &&
|
|
38
|
-
|
|
40
|
+
Manpages::GemVersion.new(spec).latest?
|
|
39
41
|
|
|
40
42
|
say "Installing man pages for #{spec.name} #{spec.version}"
|
|
41
43
|
target_dir = File.expand_path("#{Gem.bindir}/../share/man")
|
data/lib/rubygems_plugin.rb
CHANGED
data/manpages.gemspec
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
#
|
|
1
|
+
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
lib = File.expand_path("
|
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
require "manpages/version"
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |spec|
|
|
8
|
-
spec.name
|
|
9
|
-
spec.version
|
|
10
|
-
spec.authors
|
|
11
|
-
spec.email
|
|
8
|
+
spec.name = "manpages"
|
|
9
|
+
spec.version = Manpages::VERSION
|
|
10
|
+
spec.authors = ["Bodo Tasche"]
|
|
11
|
+
spec.email = ["bodo@tasche.me"]
|
|
12
12
|
|
|
13
|
-
spec.summary
|
|
14
|
-
spec.description
|
|
15
|
-
spec.license
|
|
16
|
-
spec.homepage
|
|
13
|
+
spec.summary = "Adds support for man pages to rubygems"
|
|
14
|
+
spec.description = "With this gem the rubygems command will detect man pages within gems and exposes them to the man command."
|
|
15
|
+
spec.license = "MIT"
|
|
16
|
+
spec.homepage = "https://github.com/bitboxer/manpages"
|
|
17
|
+
spec.required_ruby_version = ">= 3.0"
|
|
17
18
|
|
|
18
|
-
spec.files
|
|
19
|
+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
|
19
20
|
f.match(%r{^(test|spec|features|Gemfile|Gemfile.lock)/})
|
|
20
21
|
end
|
|
21
|
-
spec.bindir
|
|
22
|
-
spec.executables
|
|
22
|
+
spec.bindir = "exe"
|
|
23
|
+
spec.executables = spec.files.grep(%r{^exe/}) {|f| File.basename(f) }
|
|
23
24
|
spec.require_paths = ["lib"]
|
|
24
25
|
|
|
25
|
-
spec.add_development_dependency "bundler", "
|
|
26
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
|
27
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
|
26
|
+
spec.add_development_dependency "bundler", ">= 2.0"
|
|
28
27
|
spec.add_development_dependency "pry", "~> 0"
|
|
29
|
-
spec.add_development_dependency "
|
|
28
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
|
30
|
+
spec.add_development_dependency "rubocop", "~> 1.0"
|
|
30
31
|
end
|
metadata
CHANGED
|
@@ -1,85 +1,84 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: manpages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.7.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bodo Tasche
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: bundler
|
|
15
14
|
requirement: !ruby/object:Gem::Requirement
|
|
16
15
|
requirements:
|
|
17
|
-
- - "
|
|
16
|
+
- - ">="
|
|
18
17
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: '
|
|
18
|
+
version: '2.0'
|
|
20
19
|
type: :development
|
|
21
20
|
prerelease: false
|
|
22
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
22
|
requirements:
|
|
24
|
-
- - "
|
|
23
|
+
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: '
|
|
25
|
+
version: '2.0'
|
|
27
26
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
27
|
+
name: pry
|
|
29
28
|
requirement: !ruby/object:Gem::Requirement
|
|
30
29
|
requirements:
|
|
31
30
|
- - "~>"
|
|
32
31
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
32
|
+
version: '0'
|
|
34
33
|
type: :development
|
|
35
34
|
prerelease: false
|
|
36
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
36
|
requirements:
|
|
38
37
|
- - "~>"
|
|
39
38
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
39
|
+
version: '0'
|
|
41
40
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
41
|
+
name: rake
|
|
43
42
|
requirement: !ruby/object:Gem::Requirement
|
|
44
43
|
requirements:
|
|
45
44
|
- - "~>"
|
|
46
45
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
46
|
+
version: '13.0'
|
|
48
47
|
type: :development
|
|
49
48
|
prerelease: false
|
|
50
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
50
|
requirements:
|
|
52
51
|
- - "~>"
|
|
53
52
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
53
|
+
version: '13.0'
|
|
55
54
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
55
|
+
name: rspec
|
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
|
58
57
|
requirements:
|
|
59
58
|
- - "~>"
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
60
|
+
version: '3.0'
|
|
62
61
|
type: :development
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
65
|
- - "~>"
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
67
|
+
version: '3.0'
|
|
69
68
|
- !ruby/object:Gem::Dependency
|
|
70
69
|
name: rubocop
|
|
71
70
|
requirement: !ruby/object:Gem::Requirement
|
|
72
71
|
requirements:
|
|
73
72
|
- - "~>"
|
|
74
73
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: 0
|
|
74
|
+
version: '1.0'
|
|
76
75
|
type: :development
|
|
77
76
|
prerelease: false
|
|
78
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
78
|
requirements:
|
|
80
79
|
- - "~>"
|
|
81
80
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: 0
|
|
81
|
+
version: '1.0'
|
|
83
82
|
description: With this gem the rubygems command will detect man pages within gems
|
|
84
83
|
and exposes them to the man command.
|
|
85
84
|
email:
|
|
@@ -88,11 +87,12 @@ executables: []
|
|
|
88
87
|
extensions: []
|
|
89
88
|
extra_rdoc_files: []
|
|
90
89
|
files:
|
|
90
|
+
- ".github/workflows/ruby.yml"
|
|
91
|
+
- ".github_changelog_generator"
|
|
91
92
|
- ".gitignore"
|
|
92
93
|
- ".rspec"
|
|
93
94
|
- ".rubocop.yml"
|
|
94
|
-
-
|
|
95
|
-
- ".travis.yml"
|
|
95
|
+
- CHANGELOG.md
|
|
96
96
|
- CODE_OF_CONDUCT.md
|
|
97
97
|
- Gemfile
|
|
98
98
|
- Gemfile.lock
|
|
@@ -117,7 +117,6 @@ homepage: https://github.com/bitboxer/manpages
|
|
|
117
117
|
licenses:
|
|
118
118
|
- MIT
|
|
119
119
|
metadata: {}
|
|
120
|
-
post_install_message:
|
|
121
120
|
rdoc_options: []
|
|
122
121
|
require_paths:
|
|
123
122
|
- lib
|
|
@@ -125,16 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
125
124
|
requirements:
|
|
126
125
|
- - ">="
|
|
127
126
|
- !ruby/object:Gem::Version
|
|
128
|
-
version: '0'
|
|
127
|
+
version: '3.0'
|
|
129
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
129
|
requirements:
|
|
131
130
|
- - ">="
|
|
132
131
|
- !ruby/object:Gem::Version
|
|
133
132
|
version: '0'
|
|
134
133
|
requirements: []
|
|
135
|
-
|
|
136
|
-
rubygems_version: 2.5.1
|
|
137
|
-
signing_key:
|
|
134
|
+
rubygems_version: 3.6.9
|
|
138
135
|
specification_version: 4
|
|
139
136
|
summary: Adds support for man pages to rubygems
|
|
140
137
|
test_files: []
|
data/.rubocop_todo.yml
DELETED
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
# This configuration was generated by
|
|
2
|
-
# `rubocop --auto-gen-config`
|
|
3
|
-
# on 2016-07-27 12:41:39 -0500 using RuboCop version 0.41.2.
|
|
4
|
-
# The point is for the user to remove these configuration records
|
|
5
|
-
# one by one as the offenses are removed from the code base.
|
|
6
|
-
# Note that changes in the inspected code, or installation of new
|
|
7
|
-
# versions of RuboCop, may require this file to be generated again.
|
|
8
|
-
|
|
9
|
-
# Offense count: 4
|
|
10
|
-
Lint/Eval:
|
|
11
|
-
Exclude:
|
|
12
|
-
- 'lib/bundler.rb'
|
|
13
|
-
- 'lib/bundler/endpoint_specification.rb'
|
|
14
|
-
- 'spec/support/streams.rb'
|
|
15
|
-
|
|
16
|
-
# Offense count: 4
|
|
17
|
-
Lint/HandleExceptions:
|
|
18
|
-
Exclude:
|
|
19
|
-
- 'lib/bundler/installer.rb'
|
|
20
|
-
- 'lib/bundler/psyched_yaml.rb'
|
|
21
|
-
- 'lib/bundler/vendored_persistent.rb'
|
|
22
|
-
|
|
23
|
-
# Offense count: 1
|
|
24
|
-
Lint/IneffectiveAccessModifier:
|
|
25
|
-
Exclude:
|
|
26
|
-
- 'lib/bundler/settings.rb'
|
|
27
|
-
|
|
28
|
-
# Offense count: 3
|
|
29
|
-
Lint/NestedMethodDefinition:
|
|
30
|
-
Exclude:
|
|
31
|
-
- 'lib/bundler/inline.rb'
|
|
32
|
-
- 'spec/support/builders.rb'
|
|
33
|
-
|
|
34
|
-
# Offense count: 5
|
|
35
|
-
Lint/RescueException:
|
|
36
|
-
Exclude:
|
|
37
|
-
- 'lib/bundler/cli.rb'
|
|
38
|
-
- 'lib/bundler/dsl.rb'
|
|
39
|
-
- 'lib/bundler/friendly_errors.rb'
|
|
40
|
-
- 'lib/bundler/rubygems_integration.rb'
|
|
41
|
-
- 'lib/bundler/worker.rb'
|
|
42
|
-
|
|
43
|
-
# Offense count: 1
|
|
44
|
-
Lint/UselessAccessModifier:
|
|
45
|
-
Exclude:
|
|
46
|
-
- 'lib/bundler/fetcher.rb'
|
|
47
|
-
|
|
48
|
-
# Offense count: 6
|
|
49
|
-
Lint/UselessAssignment:
|
|
50
|
-
Exclude:
|
|
51
|
-
- 'lib/bundler/index.rb'
|
|
52
|
-
- 'lib/bundler/installer.rb'
|
|
53
|
-
|
|
54
|
-
# Offense count: 1686
|
|
55
|
-
# Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
|
|
56
|
-
# URISchemes: http, https
|
|
57
|
-
Metrics/LineLength:
|
|
58
|
-
Max: 207
|
|
59
|
-
|
|
60
|
-
# Offense count: 3
|
|
61
|
-
# Configuration parameters: CountKeywordArgs.
|
|
62
|
-
Metrics/ParameterLists:
|
|
63
|
-
Max: 6
|
|
64
|
-
|
|
65
|
-
# Offense count: 6
|
|
66
|
-
# Cop supports --auto-correct.
|
|
67
|
-
Performance/RedundantBlockCall:
|
|
68
|
-
Exclude:
|
|
69
|
-
- 'lib/bundler/dsl.rb'
|
|
70
|
-
- 'lib/bundler/gem_helper.rb'
|
|
71
|
-
- 'lib/bundler/retry.rb'
|
|
72
|
-
- 'lib/bundler/shared_helpers.rb'
|
|
73
|
-
- 'spec/support/helpers.rb'
|
|
74
|
-
|
|
75
|
-
# Offense count: 2
|
|
76
|
-
# Cop supports --auto-correct.
|
|
77
|
-
Performance/RedundantMatch:
|
|
78
|
-
Exclude:
|
|
79
|
-
- 'lib/bundler/definition.rb'
|
|
80
|
-
- 'lib/bundler/lockfile_parser.rb'
|
|
81
|
-
|
|
82
|
-
# Offense count: 6
|
|
83
|
-
# Cop supports --auto-correct.
|
|
84
|
-
# Configuration parameters: MaxKeyValuePairs.
|
|
85
|
-
Performance/RedundantMerge:
|
|
86
|
-
Exclude:
|
|
87
|
-
- 'lib/bundler/cli/gem.rb'
|
|
88
|
-
- 'spec/support/helpers.rb'
|
|
89
|
-
|
|
90
|
-
# Offense count: 1
|
|
91
|
-
Style/AccessorMethodName:
|
|
92
|
-
Exclude:
|
|
93
|
-
- 'lib/bundler/source/git.rb'
|
|
94
|
-
|
|
95
|
-
# Offense count: 3
|
|
96
|
-
Style/CaseEquality:
|
|
97
|
-
Exclude:
|
|
98
|
-
- 'lib/bundler/dsl.rb'
|
|
99
|
-
- 'lib/bundler/match_platform.rb'
|
|
100
|
-
- 'lib/bundler/rubygems_ext.rb'
|
|
101
|
-
|
|
102
|
-
# Offense count: 23
|
|
103
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
104
|
-
# SupportedStyles: nested, compact
|
|
105
|
-
Style/ClassAndModuleChildren:
|
|
106
|
-
Enabled: false
|
|
107
|
-
|
|
108
|
-
# Offense count: 10
|
|
109
|
-
# Cop supports --auto-correct.
|
|
110
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
|
|
111
|
-
# SupportedStyles: assign_to_condition, assign_inside_condition
|
|
112
|
-
Style/ConditionalAssignment:
|
|
113
|
-
Exclude:
|
|
114
|
-
- 'lib/bundler/cli.rb'
|
|
115
|
-
- 'lib/bundler/cli/gem.rb'
|
|
116
|
-
- 'lib/bundler/cli/lock.rb'
|
|
117
|
-
- 'lib/bundler/cli/platform.rb'
|
|
118
|
-
- 'lib/bundler/dsl.rb'
|
|
119
|
-
- 'lib/bundler/lazy_specification.rb'
|
|
120
|
-
- 'lib/bundler/psyched_yaml.rb'
|
|
121
|
-
- 'lib/bundler/rubygems_integration.rb'
|
|
122
|
-
- 'lib/bundler/source/git.rb'
|
|
123
|
-
- 'lib/bundler/source/rubygems.rb'
|
|
124
|
-
|
|
125
|
-
# Offense count: 138
|
|
126
|
-
Style/Documentation:
|
|
127
|
-
Enabled: false
|
|
128
|
-
|
|
129
|
-
# Offense count: 2
|
|
130
|
-
# Cop supports --auto-correct.
|
|
131
|
-
# Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
|
|
132
|
-
Style/ExtraSpacing:
|
|
133
|
-
Exclude:
|
|
134
|
-
- 'lib/bundler/cli.rb'
|
|
135
|
-
|
|
136
|
-
# Offense count: 4
|
|
137
|
-
# Configuration parameters: AllowedVariables.
|
|
138
|
-
Style/GlobalVars:
|
|
139
|
-
Exclude:
|
|
140
|
-
- 'lib/bundler/cli.rb'
|
|
141
|
-
- 'spec/spec_helper.rb'
|
|
142
|
-
- 'spec/support/helpers.rb'
|
|
143
|
-
|
|
144
|
-
# Offense count: 1
|
|
145
|
-
Style/IfInsideElse:
|
|
146
|
-
Exclude:
|
|
147
|
-
- 'lib/bundler/cli/install.rb'
|
|
148
|
-
|
|
149
|
-
# Offense count: 1
|
|
150
|
-
Style/IfUnlessModifierOfIfUnless:
|
|
151
|
-
Exclude:
|
|
152
|
-
- 'spec/support/helpers.rb'
|
|
153
|
-
|
|
154
|
-
# Offense count: 4
|
|
155
|
-
# Cop supports --auto-correct.
|
|
156
|
-
# Configuration parameters: SupportedStyles, IndentationWidth.
|
|
157
|
-
# SupportedStyles: special_inside_parentheses, consistent, align_brackets
|
|
158
|
-
Style/IndentArray:
|
|
159
|
-
EnforcedStyle: consistent
|
|
160
|
-
|
|
161
|
-
# Offense count: 2
|
|
162
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
163
|
-
# SupportedStyles: module_function, extend_self
|
|
164
|
-
Style/ModuleFunction:
|
|
165
|
-
Exclude:
|
|
166
|
-
- 'lib/bundler/shared_helpers.rb'
|
|
167
|
-
- 'spec/support/path.rb'
|
|
168
|
-
|
|
169
|
-
# Offense count: 3
|
|
170
|
-
# Cop supports --auto-correct.
|
|
171
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
|
|
172
|
-
# SupportedStyles: aligned, indented, indented_relative_to_receiver
|
|
173
|
-
Style/MultilineMethodCallIndentation:
|
|
174
|
-
Exclude:
|
|
175
|
-
- 'lib/bundler/cli/common.rb'
|
|
176
|
-
- 'spec/bundler/plugin/source_list_spec.rb'
|
|
177
|
-
|
|
178
|
-
# Offense count: 3
|
|
179
|
-
# Cop supports --auto-correct.
|
|
180
|
-
Style/NestedParenthesizedCalls:
|
|
181
|
-
Exclude:
|
|
182
|
-
- 'lib/bundler/resolver.rb'
|
|
183
|
-
- 'spec/commands/lock_spec.rb'
|
|
184
|
-
- 'spec/runtime/setup_spec.rb'
|
|
185
|
-
|
|
186
|
-
# Offense count: 9
|
|
187
|
-
# Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
|
|
188
|
-
# NamePrefix: is_, has_, have_
|
|
189
|
-
# NamePrefixBlacklist: is_, has_, have_
|
|
190
|
-
# NameWhitelist: is_a?
|
|
191
|
-
Style/PredicateName:
|
|
192
|
-
Exclude:
|
|
193
|
-
- 'spec/**/*'
|
|
194
|
-
- 'lib/bundler/definition.rb'
|
|
195
|
-
- 'lib/bundler/installer/parallel_installer.rb'
|
|
196
|
-
- 'lib/bundler/settings.rb'
|
|
197
|
-
- 'lib/bundler/source/git.rb'
|
|
198
|
-
- 'lib/bundler/source/git/git_proxy.rb'
|
|
199
|
-
- 'lib/bundler/source/path.rb'
|
|
200
|
-
|
|
201
|
-
# Offense count: 25
|
|
202
|
-
# Cop supports --auto-correct.
|
|
203
|
-
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
|
204
|
-
# SupportedStyles: compact, exploded
|
|
205
|
-
Style/RaiseArgs:
|
|
206
|
-
Enabled: false
|
|
207
|
-
|
|
208
|
-
# Offense count: 2
|
|
209
|
-
# Cop supports --auto-correct.
|
|
210
|
-
Style/RedundantParentheses:
|
|
211
|
-
Exclude:
|
|
212
|
-
- 'lib/bundler/cli/console.rb'
|
|
213
|
-
- 'lib/bundler/dsl.rb'
|
|
214
|
-
|
|
215
|
-
# Offense count: 1
|
|
216
|
-
# Cop supports --auto-correct.
|
|
217
|
-
# Configuration parameters: AllowForAlignment.
|
|
218
|
-
Style/SpaceAroundOperators:
|
|
219
|
-
Exclude:
|
|
220
|
-
- 'lib/bundler/retry.rb'
|
|
221
|
-
|
|
222
|
-
# Offense count: 10
|
|
223
|
-
# Cop supports --auto-correct.
|
|
224
|
-
# Configuration parameters: EnforcedStyleForMultiline, SupportedStyles.
|
|
225
|
-
# SupportedStyles: comma, consistent_comma, no_comma
|
|
226
|
-
Style/TrailingCommaInLiteral:
|
|
227
|
-
Exclude:
|
|
228
|
-
- 'lib/bundler/cli/gem.rb'
|
|
229
|
-
- 'lib/bundler/dependency.rb'
|
|
230
|
-
- 'lib/bundler/fetcher.rb'
|
|
231
|
-
- 'lib/bundler/gem_helpers.rb'
|
|
232
|
-
- 'lib/bundler/graph.rb'
|
|
233
|
-
- 'lib/bundler/ruby_version.rb'
|
|
234
|
-
- 'lib/bundler/similarity_detector.rb'
|
|
235
|
-
- 'spec/support/artifice/endpoint.rb'
|
|
236
|
-
|
|
237
|
-
# Offense count: 18
|
|
238
|
-
# Cop supports --auto-correct.
|
|
239
|
-
Style/UnneededInterpolation:
|
|
240
|
-
Exclude:
|
|
241
|
-
- 'lib/bundler/cli/config.rb'
|
|
242
|
-
- 'lib/bundler/env.rb'
|
|
243
|
-
- 'spec/bundler/shared_helpers_spec.rb'
|
|
244
|
-
- 'spec/cache/git_spec.rb'
|
|
245
|
-
- 'spec/commands/exec_spec.rb'
|
|
246
|
-
- 'spec/support/artifice/endpoint.rb'
|
|
247
|
-
- 'spec/support/artifice/endpoint_500.rb'
|
|
248
|
-
- 'spec/support/fakeweb/windows.rb'
|