pls 1.0.2 → 1.0.4
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 +4 -4
- data/Gemfile +13 -10
- data/Gemfile.lock +87 -0
- data/LICENSE +3 -10
- data/LICENSES/0BSD.txt +5 -0
- data/README.adoc +83 -0
- data/REUSE.toml +12 -0
- data/Rakefile +6 -2
- data/bin/pls +3 -4
- data/lib/pls/configurator.rb +4 -3
- data/lib/pls/pls.rb +8 -6
- data/lib/pls/reporter.rb +3 -2
- data/lib/pls/version.rb +5 -4
- data/lib/pls.rb +3 -2
- data/pls.gemspec +13 -12
- metadata +15 -69
- data/README.md +0 -49
- data/appveyor.yml +0 -26
- data/pls-1.0.1.gem +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e29e8adf7c20a487bdaf8dbfba216e90e9a1e1a437e3b4dd898a4215d26c5b23
|
|
4
|
+
data.tar.gz: d588aa8b0bcb1e89c913d25693527e0891f1b0ce1d528d8d901e7ed4276f831f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcfa540e6b32134b4027eef99b8436cc08823a802e377ca762244ce1d0bdfe32f041590dadebb91dfbee634f000bea8eaaca07bd7582d026c5c6c1d7ed48a097
|
|
7
|
+
data.tar.gz: dc168e92e90d20ef6a9ebae1bc19ab662b89fd4a9daa6c8d6d97d0bdb52eb9d5cdc56619a78da67699494d2be62cd0d9ef6c6e2e651979b6b947b3f77df1dbac
|
data/Gemfile
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
source 'https://rubygems.org'
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
gem '
|
|
10
|
-
gem '
|
|
11
|
-
|
|
12
|
-
gem 'rubocop'
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
gem 'httparty'
|
|
9
|
+
gem 'minitest'
|
|
10
|
+
gem 'rake'
|
|
11
|
+
gem 'webmock'
|
|
12
|
+
group :rubocop do
|
|
13
|
+
gem 'rubocop'
|
|
14
|
+
gem 'rubocop-minitest'
|
|
15
|
+
gem 'rubocop-performance'
|
|
16
|
+
gem 'rubocop-rake'
|
|
17
|
+
end
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
GEM
|
|
2
|
+
remote: https://rubygems.org/
|
|
3
|
+
specs:
|
|
4
|
+
addressable (2.9.0)
|
|
5
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
6
|
+
ast (2.4.3)
|
|
7
|
+
bigdecimal (4.0.1)
|
|
8
|
+
crack (1.0.1)
|
|
9
|
+
bigdecimal
|
|
10
|
+
rexml
|
|
11
|
+
csv (3.3.5)
|
|
12
|
+
drb (2.2.3)
|
|
13
|
+
hashdiff (1.2.1)
|
|
14
|
+
httparty (0.24.2)
|
|
15
|
+
csv
|
|
16
|
+
mini_mime (>= 1.0.0)
|
|
17
|
+
multi_xml (>= 0.5.2)
|
|
18
|
+
json (2.20.0)
|
|
19
|
+
language_server-protocol (3.17.0.6)
|
|
20
|
+
lint_roller (1.1.0)
|
|
21
|
+
mini_mime (1.1.5)
|
|
22
|
+
minitest (6.0.6)
|
|
23
|
+
drb (~> 2.0)
|
|
24
|
+
prism (~> 1.5)
|
|
25
|
+
multi_xml (0.8.1)
|
|
26
|
+
bigdecimal (>= 3.1, < 5)
|
|
27
|
+
parallel (1.28.0)
|
|
28
|
+
parser (3.3.11.1)
|
|
29
|
+
ast (~> 2.4.1)
|
|
30
|
+
racc
|
|
31
|
+
prism (1.9.0)
|
|
32
|
+
public_suffix (7.0.5)
|
|
33
|
+
racc (1.8.1)
|
|
34
|
+
rainbow (3.1.1)
|
|
35
|
+
rake (13.4.2)
|
|
36
|
+
regexp_parser (2.12.0)
|
|
37
|
+
rexml (3.4.4)
|
|
38
|
+
rubocop (1.88.2)
|
|
39
|
+
json (~> 2.3)
|
|
40
|
+
language_server-protocol (~> 3.17.0.2)
|
|
41
|
+
lint_roller (~> 1.1.0)
|
|
42
|
+
parallel (>= 1.10)
|
|
43
|
+
parser (>= 3.3.0.2)
|
|
44
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
45
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
46
|
+
rubocop-ast (>= 1.49.0, < 2.0)
|
|
47
|
+
ruby-progressbar (~> 1.7)
|
|
48
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
49
|
+
rubocop-ast (1.50.0)
|
|
50
|
+
parser (>= 3.3.7.2)
|
|
51
|
+
prism (~> 1.7)
|
|
52
|
+
rubocop-minitest (0.39.1)
|
|
53
|
+
lint_roller (~> 1.1)
|
|
54
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
55
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
56
|
+
rubocop-performance (1.26.1)
|
|
57
|
+
lint_roller (~> 1.1)
|
|
58
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
59
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
60
|
+
rubocop-rake (0.7.1)
|
|
61
|
+
lint_roller (~> 1.1)
|
|
62
|
+
rubocop (>= 1.72.1)
|
|
63
|
+
ruby-progressbar (1.13.0)
|
|
64
|
+
unicode-display_width (3.2.0)
|
|
65
|
+
unicode-emoji (~> 4.1)
|
|
66
|
+
unicode-emoji (4.2.0)
|
|
67
|
+
webmock (3.26.2)
|
|
68
|
+
addressable (>= 2.8.0)
|
|
69
|
+
crack (>= 0.3.2)
|
|
70
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
|
71
|
+
|
|
72
|
+
PLATFORMS
|
|
73
|
+
arm64-darwin-24
|
|
74
|
+
ruby
|
|
75
|
+
|
|
76
|
+
DEPENDENCIES
|
|
77
|
+
httparty
|
|
78
|
+
minitest
|
|
79
|
+
rake
|
|
80
|
+
rubocop
|
|
81
|
+
rubocop-minitest
|
|
82
|
+
rubocop-performance
|
|
83
|
+
rubocop-rake
|
|
84
|
+
webmock
|
|
85
|
+
|
|
86
|
+
BUNDLED WITH
|
|
87
|
+
2.7.1
|
data/LICENSE
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
Copyright 2021
|
|
1
|
+
Copyright 2021-2026 David Rabkin
|
|
2
2
|
|
|
3
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
4
|
-
purpose with or without fee is hereby granted.
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
|
5
4
|
|
|
6
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
7
|
-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
8
|
-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
9
|
-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
10
|
-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
11
|
-
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
12
|
-
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
5
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
data/LICENSES/0BSD.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
Copyright 2021-2026 David Rabkin
|
|
2
|
+
|
|
3
|
+
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
|
|
4
|
+
|
|
5
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
data/README.adoc
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
// Settings:
|
|
2
|
+
:toc: macro
|
|
3
|
+
:!toc-title:
|
|
4
|
+
// URLs:
|
|
5
|
+
:img-gem: https://badge.fury.io/rb/pls.svg
|
|
6
|
+
:img-hoc: https://hitsofcode.com/github/rdavid/pls?branch=master&label=hits%20of%20code
|
|
7
|
+
:img-license: https://img.shields.io/github/license/rdavid/pls?color=blue&labelColor=gray&logo=freebsd&logoColor=lightgray&style=flat
|
|
8
|
+
:img-rake: https://github.com/rdavid/pls/actions/workflows/rake.yml/badge.svg
|
|
9
|
+
:img-rubocop: https://github.com/rdavid/pls/actions/workflows/rubocop.yml/badge.svg
|
|
10
|
+
:img-style: https://img.shields.io/badge/code_style-rubocop-brightgreen.svg
|
|
11
|
+
:url-cv: http://cv.rabkin.co.il
|
|
12
|
+
:url-gem: https://badge.fury.io/rb/pls
|
|
13
|
+
:url-hoc: https://hitsofcode.com/view/github/rdavid/pls?branch=master
|
|
14
|
+
:url-license: https://github.com/rdavid/pls/blob/master/LICENSES/0BSD.txt
|
|
15
|
+
:url-rake: https://github.com/rdavid/pls/actions/workflows/rake.yml
|
|
16
|
+
:url-reuse: https://github.com/fsfe/reuse-action
|
|
17
|
+
:url-rubocop: https://github.com/rdavid/pls/actions/workflows/rubocop.yml
|
|
18
|
+
:url-ruby: https://www.ruby-lang.org/en/documentation/installation
|
|
19
|
+
:url-style: https://github.com/rubocop/rubocop
|
|
20
|
+
:url-vale: https://vale.sh
|
|
21
|
+
:url-yamllint: https://github.com/adrienverge/yamllint
|
|
22
|
+
|
|
23
|
+
= Package Lister
|
|
24
|
+
|
|
25
|
+
image:{img-rake}[rake,link={url-rake}]
|
|
26
|
+
image:{img-rubocop}[rubocop,link={url-rubocop}]
|
|
27
|
+
image:{img-gem}[gem version,link={url-gem}]
|
|
28
|
+
image:{img-style}[code style,link={url-style}]
|
|
29
|
+
image:{img-hoc}[hits of code,link={url-hoc}]
|
|
30
|
+
image:{img-license}[license,link={url-license}]
|
|
31
|
+
|
|
32
|
+
toc::[]
|
|
33
|
+
|
|
34
|
+
== About
|
|
35
|
+
Package Lister prints the full dependency tree of a given NodeJS package.
|
|
36
|
+
NodeJS developers use packages, which are modules that bundle versioning,
|
|
37
|
+
documentation, dependencies on other packages, and more.
|
|
38
|
+
npm, NodeJS's package manager, is updated continually with new packages
|
|
39
|
+
and new versions of existing ones.
|
|
40
|
+
Given a package name, the tool fetches its complete set of dependencies
|
|
41
|
+
from npm.
|
|
42
|
+
|
|
43
|
+
== Installation
|
|
44
|
+
The tool works on macOS, GNU/Linux, Windows, and other Unix-like operating
|
|
45
|
+
systems.
|
|
46
|
+
It is packaged as a gem and requires Ruby 3.2 or later.
|
|
47
|
+
If you don't have the required Ruby version, see {url-ruby}[Installing
|
|
48
|
+
Ruby].
|
|
49
|
+
|
|
50
|
+
Use this command to install:
|
|
51
|
+
|
|
52
|
+
[,sh]
|
|
53
|
+
----
|
|
54
|
+
gem install pls
|
|
55
|
+
----
|
|
56
|
+
|
|
57
|
+
== Updating
|
|
58
|
+
Use this command to update the package:
|
|
59
|
+
|
|
60
|
+
[,sh]
|
|
61
|
+
----
|
|
62
|
+
gem update pls
|
|
63
|
+
----
|
|
64
|
+
|
|
65
|
+
== Usage
|
|
66
|
+
|
|
67
|
+
[,sh]
|
|
68
|
+
----
|
|
69
|
+
pls [options]
|
|
70
|
+
-p, --pac package Package name.
|
|
71
|
+
-v, --version Shows version.
|
|
72
|
+
----
|
|
73
|
+
|
|
74
|
+
== Example
|
|
75
|
+
|
|
76
|
+
[,sh]
|
|
77
|
+
----
|
|
78
|
+
pls -p express
|
|
79
|
+
----
|
|
80
|
+
|
|
81
|
+
== License
|
|
82
|
+
`pls` is copyright {url-cv}[David Rabkin] and available under a
|
|
83
|
+
{url-license}[Zero-Clause BSD license].
|
data/REUSE.toml
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# SPDX-FileCopyrightText: 2025-2026 David Rabkin
|
|
2
|
+
# SPDX-License-Identifier: 0BSD
|
|
3
|
+
version = 1
|
|
4
|
+
[[annotations]]
|
|
5
|
+
path = [
|
|
6
|
+
".gitignore",
|
|
7
|
+
"Gemfile.lock",
|
|
8
|
+
"README.adoc",
|
|
9
|
+
]
|
|
10
|
+
precedence = "override"
|
|
11
|
+
SPDX-FileCopyrightText = "2025-2026 David Rabkin"
|
|
12
|
+
SPDX-License-Identifier = "0BSD"
|
data/Rakefile
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
6
|
+
|
|
7
|
+
require 'bundler/gem_tasks'
|
|
5
8
|
|
|
6
9
|
task default: %w[test]
|
|
7
10
|
|
|
11
|
+
desc 'Run the test suite'
|
|
8
12
|
task :test do
|
|
9
13
|
ruby 'test/test_pls.rb'
|
|
10
14
|
end
|
data/bin/pls
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
|
-
# vi:
|
|
5
|
-
#
|
|
4
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
5
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
6
|
+
# SPDX-License-Identifier: 0BSD
|
|
6
7
|
|
|
7
|
-
require 'pidfile'
|
|
8
8
|
require_relative '../lib/pls'
|
|
9
9
|
|
|
10
|
-
PidFile.new
|
|
11
10
|
Pls::Pls.new.do
|
data/lib/pls/configurator.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
require 'optparse'
|
|
7
8
|
|
|
@@ -29,7 +30,7 @@ module Pls
|
|
|
29
30
|
DIC.each { |f, p, d, t, k| o.on(f, p, t, d) { |i| @options[k] = i } }
|
|
30
31
|
add(o)
|
|
31
32
|
end.parse!
|
|
32
|
-
raise 'Please specify a package name with -p flag.' if pac.nil?
|
|
33
|
+
raise 'Please specify a package name with the -p flag.' if pac.nil?
|
|
33
34
|
end
|
|
34
35
|
|
|
35
36
|
def pac
|
data/lib/pls/pls.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
require 'httparty'
|
|
7
8
|
require 'json'
|
|
@@ -9,7 +10,8 @@ require_relative 'configurator'
|
|
|
9
10
|
require_relative 'reporter'
|
|
10
11
|
|
|
11
12
|
module Pls
|
|
12
|
-
#
|
|
13
|
+
# The data structure is a hash: the key is the package name, the value is
|
|
14
|
+
# an array of hashes, for example:
|
|
13
15
|
# {
|
|
14
16
|
# aaa => [
|
|
15
17
|
# bbb => [],
|
|
@@ -35,7 +37,7 @@ module Pls
|
|
|
35
37
|
res.body
|
|
36
38
|
end
|
|
37
39
|
|
|
38
|
-
def build_dep(dep)
|
|
40
|
+
def build_dep(dep)
|
|
39
41
|
arr = []
|
|
40
42
|
threads = []
|
|
41
43
|
mut = Mutex.new
|
|
@@ -49,7 +51,7 @@ module Pls
|
|
|
49
51
|
arr
|
|
50
52
|
end
|
|
51
53
|
|
|
52
|
-
# Consider time
|
|
54
|
+
# Consider adding time-based invalidation for cached data.
|
|
53
55
|
def read_cache(pac)
|
|
54
56
|
arr = []
|
|
55
57
|
@mut_dat.synchronize { arr = @dat[pac] }
|
|
@@ -62,7 +64,7 @@ module Pls
|
|
|
62
64
|
|
|
63
65
|
def build(pac)
|
|
64
66
|
arr = read_cache(pac)
|
|
65
|
-
if arr.
|
|
67
|
+
if arr.nil?
|
|
66
68
|
str = read_http(pac)
|
|
67
69
|
doc = JSON.parse(str)
|
|
68
70
|
dep = doc['dependencies']
|
data/lib/pls/reporter.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
module Pls
|
|
7
8
|
# Formats and prints output data.
|
data/lib/pls/version.rb
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
module Pls
|
|
7
|
-
VERSION = '1.0.
|
|
8
|
-
DATE = '
|
|
8
|
+
VERSION = '1.0.4'
|
|
9
|
+
DATE = '2026-07-15'
|
|
9
10
|
end
|
data/lib/pls.rb
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
# vi:
|
|
4
|
-
#
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
5
6
|
|
|
6
7
|
require_relative 'pls/pls'
|
|
7
8
|
require_relative 'pls/version'
|
data/pls.gemspec
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# vi: et lbr sw=2 ts=2 tw=79 wrap
|
|
4
|
+
# SPDX-FileCopyrightText: 2021-2026 David Rabkin
|
|
5
|
+
# SPDX-License-Identifier: 0BSD
|
|
6
|
+
|
|
7
|
+
$LOAD_PATH.unshift File.expand_path('lib', __dir__)
|
|
4
8
|
|
|
5
9
|
require 'pls'
|
|
6
10
|
|
|
7
11
|
Gem::Specification.new do |s|
|
|
12
|
+
s.required_rubygems_version = Gem::Requirement.new('>= 0') if s.respond_to? :required_rubygems_version=
|
|
13
|
+
s.required_ruby_version = '>= 3.2'
|
|
8
14
|
s.name = 'pls'
|
|
9
15
|
s.version = Pls::VERSION
|
|
10
|
-
s.
|
|
11
|
-
s.required_ruby_version = '~> 2.6'
|
|
12
|
-
s.summary = 'Package lister.'
|
|
16
|
+
s.summary = 'Package lister'
|
|
13
17
|
s.description = <<-HERE
|
|
14
|
-
Prints
|
|
18
|
+
Prints dependent package names.
|
|
15
19
|
HERE
|
|
16
20
|
s.license = '0BSD'
|
|
17
21
|
s.author = 'David Rabkin'
|
|
18
22
|
s.email = 'david@rabkin.co.il'
|
|
19
23
|
s.homepage = 'https://github.com/rdavid/pls'
|
|
20
|
-
s.files = Dir['{bin,lib}/**/*'] + Dir['[A-Z]*'] + ['pls.gemspec']
|
|
21
|
-
s.executables = ['pls']
|
|
22
|
-
s.extra_rdoc_files = ['LICENSE', 'README.md']
|
|
23
24
|
s.require_paths = ['lib']
|
|
24
|
-
s.
|
|
25
|
-
s.
|
|
26
|
-
s.
|
|
27
|
-
s.
|
|
25
|
+
s.files = `git ls-files | grep -E -v '^(test/|\\.)'`.split($RS)
|
|
26
|
+
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
27
|
+
s.extra_rdoc_files = ['LICENSE', 'README.adoc']
|
|
28
|
+
s.metadata['rubygems_mfa_required'] = 'true'
|
|
28
29
|
end
|
metadata
CHANGED
|
@@ -1,114 +1,60 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Rabkin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
12
|
-
dependencies:
|
|
13
|
-
|
|
14
|
-
name: pidfile
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - '='
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: 0.3.0
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - '='
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: 0.3.0
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: minitest
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - '='
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: 5.11.3
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - '='
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: 5.11.3
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: rake
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - '='
|
|
46
|
-
- !ruby/object:Gem::Version
|
|
47
|
-
version: 13.0.1
|
|
48
|
-
type: :development
|
|
49
|
-
prerelease: false
|
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
-
requirements:
|
|
52
|
-
- - '='
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: 13.0.1
|
|
55
|
-
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: rubocop
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - '='
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.76.0
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - '='
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.76.0
|
|
69
|
-
description: " Prints dependant package names.\n"
|
|
11
|
+
date: 2026-07-15 00:00:00.000000000 Z
|
|
12
|
+
dependencies: []
|
|
13
|
+
description: " Prints dependent package names.\n"
|
|
70
14
|
email: david@rabkin.co.il
|
|
71
15
|
executables:
|
|
72
16
|
- pls
|
|
73
17
|
extensions: []
|
|
74
18
|
extra_rdoc_files:
|
|
75
19
|
- LICENSE
|
|
76
|
-
- README.
|
|
20
|
+
- README.adoc
|
|
77
21
|
files:
|
|
78
22
|
- Gemfile
|
|
23
|
+
- Gemfile.lock
|
|
79
24
|
- LICENSE
|
|
80
|
-
-
|
|
25
|
+
- LICENSES/0BSD.txt
|
|
26
|
+
- README.adoc
|
|
27
|
+
- REUSE.toml
|
|
81
28
|
- Rakefile
|
|
82
|
-
- appveyor.yml
|
|
83
29
|
- bin/pls
|
|
84
30
|
- lib/pls.rb
|
|
85
31
|
- lib/pls/configurator.rb
|
|
86
32
|
- lib/pls/pls.rb
|
|
87
33
|
- lib/pls/reporter.rb
|
|
88
34
|
- lib/pls/version.rb
|
|
89
|
-
- pls-1.0.1.gem
|
|
90
35
|
- pls.gemspec
|
|
91
36
|
homepage: https://github.com/rdavid/pls
|
|
92
37
|
licenses:
|
|
93
38
|
- 0BSD
|
|
94
|
-
metadata:
|
|
39
|
+
metadata:
|
|
40
|
+
rubygems_mfa_required: 'true'
|
|
95
41
|
post_install_message:
|
|
96
42
|
rdoc_options: []
|
|
97
43
|
require_paths:
|
|
98
44
|
- lib
|
|
99
45
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
46
|
requirements:
|
|
101
|
-
- - "
|
|
47
|
+
- - ">="
|
|
102
48
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '2
|
|
49
|
+
version: '3.2'
|
|
104
50
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
105
51
|
requirements:
|
|
106
52
|
- - ">="
|
|
107
53
|
- !ruby/object:Gem::Version
|
|
108
54
|
version: '0'
|
|
109
55
|
requirements: []
|
|
110
|
-
rubygems_version: 3.
|
|
56
|
+
rubygems_version: 3.4.19
|
|
111
57
|
signing_key:
|
|
112
58
|
specification_version: 4
|
|
113
|
-
summary: Package lister
|
|
59
|
+
summary: Package lister
|
|
114
60
|
test_files: []
|
data/README.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
# Pls
|
|
2
|
-
Package lister.
|
|
3
|
-
|
|
4
|
-
[](https://travis-ci.org/rdavid/pls)
|
|
6
|
-
[](https://ci.appveyor.com/project/rdavid/pls)
|
|
8
|
-

|
|
9
|
-
[](https://badge.fury.io/rb/pls)
|
|
11
|
-
|
|
12
|
-
[](https://codeclimate.com/github/rdavid/pls/maintainability)
|
|
13
|
-
[](https://hitsofcode.com/view/github/rdavid/pls)
|
|
14
|
-
[](https://github.com/rdavid/pls/blob/master/LICENSE)
|
|
15
|
-
|
|
16
|
-
* [About](#about)
|
|
17
|
-
* [Installation](#installation)
|
|
18
|
-
* [Usage](#usage)
|
|
19
|
-
* [License](#license)
|
|
20
|
-
|
|
21
|
-
## About
|
|
22
|
-
Hi, I'm [David Rabkin](http://davi.drabk.in).
|
|
23
|
-
|
|
24
|
-
## Installation
|
|
25
|
-
The tool is designed to work on macOS, GNU/Linux, Windows, Unix-like OS. It is
|
|
26
|
-
packaged as a Gem and require Ruby version 2.6 or later. See “[Installing
|
|
27
|
-
Ruby](https://www.ruby-lang.org/en/documentation/installation/)” if you don't
|
|
28
|
-
have the proper version on your platform.
|
|
29
|
-
|
|
30
|
-
Use this command to install:
|
|
31
|
-
|
|
32
|
-
gem install pls
|
|
33
|
-
|
|
34
|
-
### Updating
|
|
35
|
-
Use this command to update the package:
|
|
36
|
-
|
|
37
|
-
gem update pls
|
|
38
|
-
|
|
39
|
-
## Usage
|
|
40
|
-
pls [options]
|
|
41
|
-
-p, --pac package Package name.
|
|
42
|
-
-v, --version Shows version.
|
|
43
|
-
|
|
44
|
-
### Example
|
|
45
|
-
pls -p express
|
|
46
|
-
|
|
47
|
-
## License
|
|
48
|
-
Pls is copyright [David Rabkin](http://davi.drabk.in) and
|
|
49
|
-
available under a [Zero-Claus BSD license](https://github.com/rdavid/pls/blob/master/LICENSE).
|
data/appveyor.yml
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
version: '{build}'
|
|
3
|
-
skip_tags: true
|
|
4
|
-
clone_depth: 10
|
|
5
|
-
branches:
|
|
6
|
-
only:
|
|
7
|
-
- master
|
|
8
|
-
except:
|
|
9
|
-
- gh-pages
|
|
10
|
-
os: Windows Server 2012
|
|
11
|
-
environment:
|
|
12
|
-
matrix:
|
|
13
|
-
- ruby_version: "26-x64"
|
|
14
|
-
install:
|
|
15
|
-
- ps: |
|
|
16
|
-
$Env:PATH = "C:\Ruby${Env:ruby_version}\bin;${Env:PATH}"
|
|
17
|
-
- bundle config --local path vendor/bundle
|
|
18
|
-
- ruby -v
|
|
19
|
-
- bundle -v
|
|
20
|
-
build_script:
|
|
21
|
-
- bundle update
|
|
22
|
-
- bundle install
|
|
23
|
-
test_script:
|
|
24
|
-
- bundle exec rake --quiet
|
|
25
|
-
cache:
|
|
26
|
-
- vendor/bundle
|
data/pls-1.0.1.gem
DELETED
|
Binary file
|