pstree 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/codeql-analysis.yml +72 -0
- data/CHANGES.md +51 -0
- data/Rakefile +1 -3
- data/VERSION +1 -1
- data/bin/ruby-pstree +4 -1
- data/lib/pstree/version.rb +1 -1
- data/lib/pstree.rb +0 -1
- data/pstree.gemspec +8 -19
- metadata +11 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8de7f08591e54e2af49ad0d5c779735a0f1c7979137b1b4dc21420b43e3d952
|
4
|
+
data.tar.gz: b3ea7e35f07949e14f6cb8ca9909b1f0cfed59ca041d5e82a5362a6436ea486f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0add077fd833f7437d3453ec0b56fe66d17adf366d7db98b6b4b6fb52110c3688bc5dd4c7ba20a100ae2a88b139f95c013e1f2e07f9ab43e885632cebf87d462
|
7
|
+
data.tar.gz: 1e2f5243524f03346f3eb1d450c21c59b79573146afb1c787924e1bad5e33d659cdc6aa3b92cd796cc0a56de7aa912fed5d3aac82193aa051b94e48155818b6f
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# For most projects, this workflow file will not need changing; you simply need
|
2
|
+
# to commit it to your repository.
|
3
|
+
#
|
4
|
+
# You may wish to alter this file to override the set of languages analyzed,
|
5
|
+
# or to provide custom queries or build logic.
|
6
|
+
#
|
7
|
+
# ******** NOTE ********
|
8
|
+
# We have attempted to detect the languages in your repository. Please check
|
9
|
+
# the `language` matrix defined below to confirm you have the correct set of
|
10
|
+
# supported CodeQL languages.
|
11
|
+
#
|
12
|
+
name: "CodeQL"
|
13
|
+
|
14
|
+
on:
|
15
|
+
push:
|
16
|
+
branches: [ master ]
|
17
|
+
pull_request:
|
18
|
+
# The branches below must be a subset of the branches above
|
19
|
+
branches: [ master ]
|
20
|
+
schedule:
|
21
|
+
- cron: '38 16 * * 4'
|
22
|
+
|
23
|
+
jobs:
|
24
|
+
analyze:
|
25
|
+
name: Analyze
|
26
|
+
runs-on: ubuntu-latest
|
27
|
+
permissions:
|
28
|
+
actions: read
|
29
|
+
contents: read
|
30
|
+
security-events: write
|
31
|
+
|
32
|
+
strategy:
|
33
|
+
fail-fast: false
|
34
|
+
matrix:
|
35
|
+
language: [ 'ruby' ]
|
36
|
+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
|
37
|
+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
|
38
|
+
|
39
|
+
steps:
|
40
|
+
- name: Checkout repository
|
41
|
+
uses: actions/checkout@v3
|
42
|
+
|
43
|
+
# Initializes the CodeQL tools for scanning.
|
44
|
+
- name: Initialize CodeQL
|
45
|
+
uses: github/codeql-action/init@v2
|
46
|
+
with:
|
47
|
+
languages: ${{ matrix.language }}
|
48
|
+
# If you wish to specify custom queries, you can do so here or in a config file.
|
49
|
+
# By default, queries listed here will override any specified in a config file.
|
50
|
+
# Prefix the list here with "+" to use these queries and those in the config file.
|
51
|
+
|
52
|
+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
|
53
|
+
# queries: security-extended,security-and-quality
|
54
|
+
|
55
|
+
|
56
|
+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
57
|
+
# If this step fails, then you should remove it and run the build manually (see below)
|
58
|
+
- name: Autobuild
|
59
|
+
uses: github/codeql-action/autobuild@v2
|
60
|
+
|
61
|
+
# ℹ️ Command-line programs to run using the OS shell.
|
62
|
+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
|
63
|
+
|
64
|
+
# If the Autobuild fails above, remove it and uncomment the following three lines.
|
65
|
+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
|
66
|
+
|
67
|
+
# - run: |
|
68
|
+
# echo "Run, Build Application using script"
|
69
|
+
# ./location_of_script_within_repo/buildscript.sh
|
70
|
+
|
71
|
+
- name: Perform CodeQL Analysis
|
72
|
+
uses: github/codeql-action/analyze@v2
|
data/CHANGES.md
ADDED
@@ -0,0 +1,51 @@
|
|
1
|
+
# Changes
|
2
|
+
|
3
|
+
## 2024-09-24 v0.4.0
|
4
|
+
|
5
|
+
+ Supports display of forrest now if more than one `PID` was given as arguments.
|
6
|
+
+ Removed obsolete variable `code`.
|
7
|
+
+ Update dependencies and version information:
|
8
|
+
- Remove `simplecov` development dependency
|
9
|
+
- Update `gem_hadar` development dependency to `~> **1.17.1**`
|
10
|
+
- Removed ruby **3.2.3** from `.tool-versions` file
|
11
|
+
|
12
|
+
## 2024-03-15 v0.3.1
|
13
|
+
|
14
|
+
* **Changes for version **1.0**:
|
15
|
+
+ Use `github` as homepage.
|
16
|
+
+ Create `codeql-analysis.yml`.
|
17
|
+
+ Update `gemspec`.
|
18
|
+
+ Configure `asdf`.
|
19
|
+
|
20
|
+
## 2019-04-15 v0.3.0
|
21
|
+
|
22
|
+
* Convert `rdoc README` to markdown
|
23
|
+
* Only recurse into this one subtree correctly
|
24
|
+
* Merge changes from `github.com:flori/pstree`
|
25
|
+
+ Support UTF-8 output and use it by default (default encoding changed to **UTF-8**)
|
26
|
+
+ Update code to use new default encoding (**UTF-8**)
|
27
|
+
|
28
|
+
## 2017-11-07 v0.2.0
|
29
|
+
|
30
|
+
* **Support UTF-8 output and use it by default**
|
31
|
+
+ Added support for UTF-8 output
|
32
|
+
+ Changed default output encoding to UTF-8
|
33
|
+
* **Cleanup code**
|
34
|
+
+ Improved code organization and structure
|
35
|
+
* **stop ruby 1.9 from whining**
|
36
|
+
+ Updated code to be compatible with Ruby 1.9
|
37
|
+
|
38
|
+
## 2014-02-06 v0.1.0
|
39
|
+
|
40
|
+
* **Bumped gem_hadar dependency**:
|
41
|
+
+ Updated `gem_hadar` dependency to use the latest version
|
42
|
+
* **Dependency on new version of gem_hadar**:
|
43
|
+
+ Updated `gem_hadar` dependency to use a new version (**1.0.0**)
|
44
|
+
* **Cleanup code**:
|
45
|
+
+ Improved code organization and readability
|
46
|
+
* **Fix stupid ruby warning**:
|
47
|
+
+ Resolved a Ruby warning issue
|
48
|
+
|
49
|
+
## 2013-05-15 v0.0.0
|
50
|
+
|
51
|
+
* Start
|
data/Rakefile
CHANGED
@@ -8,7 +8,7 @@ GemHadar do
|
|
8
8
|
module_type 'class'
|
9
9
|
author 'Florian Frank'
|
10
10
|
email 'flori@ping.de'
|
11
|
-
homepage "
|
11
|
+
homepage "https://github.com/flori/#{name}"
|
12
12
|
summary 'Ruby library that builds a process tree of this host'
|
13
13
|
description 'This library uses the output of the ps command to creaste process tree data structure for the current host.'
|
14
14
|
licenses << 'GPL-2'
|
@@ -16,6 +16,4 @@ GemHadar do
|
|
16
16
|
ignore '.*.sw[pon]', 'pkg', 'Gemfile.lock', '.rvmrc', 'coverage'
|
17
17
|
readme 'README.md'
|
18
18
|
executables << 'ruby-pstree'
|
19
|
-
|
20
|
-
development_dependency 'simplecov'
|
21
19
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/bin/ruby-pstree
CHANGED
data/lib/pstree/version.rb
CHANGED
data/lib/pstree.rb
CHANGED
data/pstree.gemspec
CHANGED
@@ -1,37 +1,26 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: pstree 0.
|
2
|
+
# stub: pstree 0.4.0 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "pstree".freeze
|
6
|
-
s.version = "0.
|
6
|
+
s.version = "0.4.0".freeze
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib".freeze]
|
10
10
|
s.authors = ["Florian Frank".freeze]
|
11
|
-
s.date = "
|
11
|
+
s.date = "2024-09-24"
|
12
12
|
s.description = "This library uses the output of the ps command to creaste process tree data structure for the current host.".freeze
|
13
13
|
s.email = "flori@ping.de".freeze
|
14
14
|
s.executables = ["ruby-pstree".freeze]
|
15
15
|
s.extra_rdoc_files = ["README.md".freeze, "lib/pstree.rb".freeze, "lib/pstree/version.rb".freeze]
|
16
|
-
s.files = [".gitignore".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/ruby-pstree".freeze, "lib/pstree.rb".freeze, "lib/pstree/version.rb".freeze, "pstree.gemspec".freeze]
|
17
|
-
s.homepage = "
|
16
|
+
s.files = [".github/workflows/codeql-analysis.yml".freeze, ".gitignore".freeze, "CHANGES.md".freeze, "Gemfile".freeze, "README.md".freeze, "Rakefile".freeze, "VERSION".freeze, "bin/ruby-pstree".freeze, "lib/pstree.rb".freeze, "lib/pstree/version.rb".freeze, "pstree.gemspec".freeze]
|
17
|
+
s.homepage = "https://github.com/flori/pstree".freeze
|
18
18
|
s.licenses = ["GPL-2".freeze]
|
19
19
|
s.rdoc_options = ["--title".freeze, "Pstree - Ruby library that builds a process tree of this host".freeze, "--main".freeze, "README.md".freeze]
|
20
|
-
s.rubygems_version = "3.
|
20
|
+
s.rubygems_version = "3.5.18".freeze
|
21
21
|
s.summary = "Ruby library that builds a process tree of this host".freeze
|
22
22
|
|
23
|
-
|
24
|
-
s.specification_version = 4
|
23
|
+
s.specification_version = 4
|
25
24
|
|
26
|
-
|
27
|
-
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
28
|
-
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
29
|
-
else
|
30
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
31
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
32
|
-
end
|
33
|
-
else
|
34
|
-
s.add_dependency(%q<gem_hadar>.freeze, ["~> 1.9.1"])
|
35
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
36
|
-
end
|
25
|
+
s.add_development_dependency(%q<gem_hadar>.freeze, ["~> 1.17.1".freeze])
|
37
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pstree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-09-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gem_hadar
|
@@ -16,28 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.17.1
|
20
20
|
type: :development
|
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: 1.
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: simplecov
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
26
|
+
version: 1.17.1
|
41
27
|
description: This library uses the output of the ps command to creaste process tree
|
42
28
|
data structure for the current host.
|
43
29
|
email: flori@ping.de
|
@@ -49,7 +35,9 @@ extra_rdoc_files:
|
|
49
35
|
- lib/pstree.rb
|
50
36
|
- lib/pstree/version.rb
|
51
37
|
files:
|
38
|
+
- ".github/workflows/codeql-analysis.yml"
|
52
39
|
- ".gitignore"
|
40
|
+
- CHANGES.md
|
53
41
|
- Gemfile
|
54
42
|
- README.md
|
55
43
|
- Rakefile
|
@@ -58,11 +46,11 @@ files:
|
|
58
46
|
- lib/pstree.rb
|
59
47
|
- lib/pstree/version.rb
|
60
48
|
- pstree.gemspec
|
61
|
-
homepage:
|
49
|
+
homepage: https://github.com/flori/pstree
|
62
50
|
licenses:
|
63
51
|
- GPL-2
|
64
52
|
metadata: {}
|
65
|
-
post_install_message:
|
53
|
+
post_install_message:
|
66
54
|
rdoc_options:
|
67
55
|
- "--title"
|
68
56
|
- Pstree - Ruby library that builds a process tree of this host
|
@@ -81,8 +69,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
69
|
- !ruby/object:Gem::Version
|
82
70
|
version: '0'
|
83
71
|
requirements: []
|
84
|
-
rubygems_version: 3.
|
85
|
-
signing_key:
|
72
|
+
rubygems_version: 3.5.18
|
73
|
+
signing_key:
|
86
74
|
specification_version: 4
|
87
75
|
summary: Ruby library that builds a process tree of this host
|
88
76
|
test_files: []
|