realuser 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -9
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e03f1f6f13c2a98474e2f4fc75b7ff0966730ce3706137dbd7f7bd3fc895cb8f
4
- data.tar.gz: b4b2048130f57d58ee35ecfe1f4762afae8eb63d80949e5ef90a290bcefba4f2
3
+ metadata.gz: b6eed82703e564ca0853f2ba8ed1b169f8195c7b872205ab536da31cba6733c9
4
+ data.tar.gz: 787b9b835e4765b9cc7a600372350d8aafbde99d75aa8ca4d49b0ab94650be10
5
5
  SHA512:
6
- metadata.gz: bdee82a998f28f1a8f9ec72147ab8cbc5caeeac9b348c58e304df98cb0ad541fad430990ba602fbb04f7605fe88b94b9736c4af952eada7016fad8b7a9391e02
7
- data.tar.gz: 6ed3268db94fbc18ba4a9b34013aefc48bd4eb664700878524212716299fab81601cfe65fde9b330d3642e1b1bb2dc5157c55e9e5962bcf6040aa62a62fc8325
6
+ metadata.gz: f3fe957a0772d046b0e5bfde3927567689626dd3ad381194139c2ec8172eb088b955cf6f77ee0fbd6b171b60ecdd3aa97216647f6fe80359ef30212ef7191d5d
7
+ data.tar.gz: bf27b3431eed58a112fb2c1f19055cb8d375bb9ef06a7e65fab7791e5b567bd2b5fa2f7eb14d7637c29a55b6c232d164b9ca40098aa3e06d827ff1e7528ab463
data/README.md CHANGED
@@ -46,7 +46,7 @@ You can also install the gem from the source repository:
46
46
  git clone https://github.com/juliankahlert/realuser.git
47
47
  cd realuser
48
48
  gem build realuser.gemspec
49
- sudo gem install --local realuser-0.1.0.gem
49
+ sudo gem install --local realuser-0.1.1.gem
50
50
  ```
51
51
 
52
52
  ## API Documentation
@@ -91,7 +91,7 @@ sudo gem install --local realuser-0.1.0.gem
91
91
  - `pid` (Integer): The process ID to retrieve the PPID for. Defaults to `Process.pid`.
92
92
  - **Returns**: Integer representing the PPID, or `nil` if the PPID cannot be determined.
93
93
 
94
- For detailed API documentation, please refer to the [YARD documentation](https://rubydoc.info/github/juliankahlert/realuser).
94
+ For detailed API documentation, please refer to the [YARD documentation](https://juliankahlert.github.io/realuser/).
95
95
 
96
96
  ## Example Usage
97
97
 
@@ -100,20 +100,17 @@ Here is an example of how to use the `RealUser` gem to find the RUID of a proces
100
100
  ```ruby
101
101
  require 'realuser'
102
102
 
103
- # Create an instance of the RealUser module
104
- real_user = RealUser.new
105
-
106
103
  # Get the RUID of the current process
107
- puts "Current process RUID: #{real_user.ruid}"
104
+ puts "Current process RUID: #{RealUser.ruid()}"
108
105
 
109
106
  # Get the RUID of a specific process (PID 1234)
110
- puts "Process 1234 RUID: #{real_user.ruid(1234)}"
107
+ puts "Process 1234 RUID: #{RealUser.ruid(1234)}"
111
108
 
112
109
  # Perform a deep resolution to find the root RUID of a specific process (PID 1234)
113
- puts "Root RUID of process 1234: #{real_user.ruid(pid: 1234, deep: true)}"
110
+ puts "Root RUID of process 1234: #{RealUser.ruid(pid: 1234, deep: true)}"
114
111
 
115
112
  # Perform a shallow resolution to find the nearest ancestor with a different RUID
116
- puts "Shallow RUID of process 1234: #{real_user.ruid(pid: 1234, deep: false)}"
113
+ puts "Shallow RUID of process 1234: #{RealUser.ruid(pid: 1234, deep: false)}"
117
114
  ```
118
115
 
119
116
  ## Encouragement for Contribution
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: realuser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Julian Kahlert
@@ -128,7 +128,7 @@ licenses:
128
128
  - MIT
129
129
  metadata:
130
130
  homepage_uri: https://juliankahlert.github.io/realuser/
131
- documentation_uri: https://www.rubydoc.info/gems/realuser/0.1.0
131
+ documentation_uri: https://www.rubydoc.info/gems/realuser/0.1.1
132
132
  source_code_uri: https://github.com/juliankahlert/realuser
133
133
  post_install_message:
134
134
  rdoc_options: []