getargv 0.1.0-x86_64-darwin-21

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: a94a9f5fdb9e7500f94c8c63580586d1e42fa636d802e0c00f4f886bc422b83d
4
+ data.tar.gz: fd8b83ad8e3bf294ed6771a62a0be2ab75558fbe83c8f34bc50251e401d90e30
5
+ SHA512:
6
+ metadata.gz: d50d12fad0dbb815ca8e5a9b8c3ef12a69c9586bd63b4fe78a6338c43bae19260905e593f25ac2569b1a10703a5736eb826a3a239e79851e365384d519b5650a
7
+ data.tar.gz: ade662ee8ae8ebfb4a77cee8e540a92584beb0b1770262479ba389ca8008037caa68f04cc3554cdb215b15928a73f10c33d171530e591751c92edbaec9bff62c
data/.standard.yml ADDED
@@ -0,0 +1,3 @@
1
+ # For available configuration options, see:
2
+ # https://github.com/testdouble/standard
3
+ ruby_version: 2.6
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2022-12-31
4
+
5
+ - Initial release
data/Gemfile ADDED
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ source "https://rubygems.org"
4
+
5
+ # Specify your gem's dependencies in getargv_ruby.gemspec
6
+ gemspec
7
+
8
+ gem "rake", "~> 13.0"
9
+
10
+ gem "rake-compiler"
11
+
12
+ gem "minitest", "~> 5.0"
13
+
14
+ gem "standard", "~> 1.3"
15
+
16
+ group :development do
17
+ gem "solargraph"
18
+ gem "sdoc"
19
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,98 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ getargv (0.1.0-x86_64-darwin-21)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ backport (1.2.0)
11
+ benchmark (0.2.1)
12
+ diff-lcs (1.5.0)
13
+ e2mmap (0.1.0)
14
+ jaro_winkler (1.5.4)
15
+ json (2.6.3)
16
+ kramdown (2.4.0)
17
+ rexml
18
+ kramdown-parser-gfm (1.1.0)
19
+ kramdown (~> 2.0)
20
+ language_server-protocol (3.17.0.2)
21
+ minitest (5.17.0)
22
+ nokogiri (1.13.10-x86_64-darwin)
23
+ racc (~> 1.4)
24
+ parallel (1.22.1)
25
+ parser (3.1.3.0)
26
+ ast (~> 2.4.1)
27
+ psych (5.0.1)
28
+ stringio
29
+ racc (1.6.2)
30
+ rainbow (3.1.1)
31
+ rake (13.0.6)
32
+ rake-compiler (1.2.1)
33
+ rake
34
+ rdoc (6.5.0)
35
+ psych (>= 4.0.0)
36
+ regexp_parser (2.6.1)
37
+ reverse_markdown (2.1.1)
38
+ nokogiri
39
+ rexml (3.2.5)
40
+ rubocop (1.40.0)
41
+ json (~> 2.3)
42
+ parallel (~> 1.10)
43
+ parser (>= 3.1.2.1)
44
+ rainbow (>= 2.2.2, < 4.0)
45
+ regexp_parser (>= 1.8, < 3.0)
46
+ rexml (>= 3.2.5, < 4.0)
47
+ rubocop-ast (>= 1.23.0, < 2.0)
48
+ ruby-progressbar (~> 1.7)
49
+ unicode-display_width (>= 1.4.0, < 3.0)
50
+ rubocop-ast (1.24.1)
51
+ parser (>= 3.1.1.0)
52
+ rubocop-performance (1.15.1)
53
+ rubocop (>= 1.7.0, < 2.0)
54
+ rubocop-ast (>= 0.4.0)
55
+ ruby-progressbar (1.11.0)
56
+ sdoc (2.5.0)
57
+ rdoc (>= 5.0)
58
+ solargraph (0.48.0)
59
+ backport (~> 1.2)
60
+ benchmark
61
+ bundler (>= 1.17.2)
62
+ diff-lcs (~> 1.4)
63
+ e2mmap
64
+ jaro_winkler (~> 1.5)
65
+ kramdown (~> 2.3)
66
+ kramdown-parser-gfm (~> 1.1)
67
+ parser (~> 3.0)
68
+ reverse_markdown (>= 1.0.5, < 3)
69
+ rubocop (>= 0.52)
70
+ thor (~> 1.0)
71
+ tilt (~> 2.0)
72
+ yard (~> 0.9, >= 0.9.24)
73
+ standard (1.20.0)
74
+ language_server-protocol (~> 3.17.0.2)
75
+ rubocop (= 1.40.0)
76
+ rubocop-performance (= 1.15.1)
77
+ stringio (3.0.4)
78
+ thor (1.2.1)
79
+ tilt (2.0.11)
80
+ unicode-display_width (2.3.0)
81
+ webrick (1.7.0)
82
+ yard (0.9.28)
83
+ webrick (~> 1.7.0)
84
+
85
+ PLATFORMS
86
+ x86_64-darwin-21
87
+
88
+ DEPENDENCIES
89
+ getargv!
90
+ minitest (~> 5.0)
91
+ rake (~> 13.0)
92
+ rake-compiler
93
+ sdoc
94
+ solargraph
95
+ standard (~> 1.3)
96
+
97
+ BUNDLED WITH
98
+ 2.3.26
data/LICENSE.txt ADDED
@@ -0,0 +1,29 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2022
4
+ Camden Narzt <getargv@narzt.cam>. All rights reserved.
5
+
6
+ Redistribution and use in source and binary forms, with or without
7
+ modification, are permitted provided that the following conditions are met:
8
+
9
+ 1. Redistributions of source code must retain the above copyright notice, this
10
+ list of conditions and the following disclaimer.
11
+
12
+ 2. Redistributions in binary form must reproduce the above copyright notice,
13
+ this list of conditions and the following disclaimer in the documentation
14
+ and/or other materials provided with the distribution.
15
+
16
+ 3. Neither the name of the copyright holder nor the names of its
17
+ contributors may be used to endorse or promote products derived from
18
+ this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
23
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
24
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
26
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
27
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # Getargv
2
+
3
+ This gem allows you to query the arguments of other processes on macOS.
4
+
5
+ ## Installation
6
+
7
+ Install the gem and add to the application's Gemfile by executing:
8
+
9
+ $ bundle add getargv
10
+
11
+ If bundler is not being used to manage dependencies, install the gem by executing:
12
+
13
+ $ gem install getargv
14
+
15
+ ## Usage
16
+
17
+ ```ruby
18
+ Getargv.get_argv_of_pid_as_string(some_process_id) #=> "arg0\x00arg1"
19
+ Getargv.get_argv_of_pid_as_array(some_process_id) #=> ["arg0","arg1"]
20
+ ```
21
+
22
+ ## Development
23
+
24
+ In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/getargv_ruby`. To experiment with that code, run `bin/console` for an interactive prompt.
25
+
26
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
27
+
28
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
29
+
30
+ ## Contributing
31
+
32
+ Bug reports and pull requests are welcome on GitHub at https://github.com/getargv/getargv_ruby.
33
+
34
+ ## License
35
+
36
+ The gem is available as open source under the terms of the [BSD 3-clause License](https://opensource.org/licenses/BSD-3-Clause).
data/Rakefile ADDED
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rake/testtask"
5
+
6
+ Rake::TestTask.new(:test) do |t|
7
+ t.libs << "test"
8
+ t.libs << "lib"
9
+ t.test_files = FileList["test/**/test_*.rb"]
10
+ end
11
+
12
+ require "standard/rake"
13
+
14
+ require "rake/extensiontask"
15
+
16
+ task build: :compile
17
+
18
+ Rake::ExtensionTask.new("getargv_ruby") do |ext|
19
+ ext.lib_dir = "lib/getargv_ruby"
20
+ end
21
+
22
+ task default: %i[clobber compile test standard]
23
+
24
+ require "sdoc"
25
+ require "rdoc/task"
26
+
27
+ RDoc::Task.new do |rdoc|
28
+ rdoc.main = "README.md"
29
+ rdoc.rdoc_dir = "doc"
30
+ rdoc.options << "--format=sdoc"
31
+ rdoc.template = "rails"
32
+ rdoc.rdoc_files.include("ext/*/*.c", "lib/*/*.rb", "lib/*.rb")
33
+ end
34
+
35
+ namespace :dev do
36
+ desc "generate a Makefile"
37
+ task :makefile do
38
+ ruby "ext/getargv_ruby/extconf.rb"
39
+ end
40
+ CLOBBER << "Makefile"
41
+
42
+ compilation_db_path = "ext/getargv_ruby/compile_commands.json"
43
+ desc "generate compilation database for language server"
44
+ task database: :makefile do
45
+ system "bear", "--output", compilation_db_path, "--", "make", "getargv_ruby.o"
46
+ end
47
+ CLOBBER << compilation_db_path
48
+ end
49
+
50
+ CLEAN.concat ["ext/getargv_ruby/.cache",
51
+ "getargv_ruby.o",
52
+ "mkmf.log"]
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ temporary_hack = "delete this line when https://github.com/testdouble/standard/pull/498 lands in a release" # rubocop:disable Lint/UselessAssignment
4
+
5
+ def darwin_check
6
+ require "pathname"
7
+ src = $srcdir || __dir__ # standard:disable Style/GlobalVars
8
+ require_relative Pathname.new("#{src}/../../lib/getargv_ruby/version.rb").realpath.to_s
9
+ abort <<EOF unless RUBY_PLATFORM.include?("darwin")
10
+
11
+ getargv can only work on macOS, fix your Gemfile like this:
12
+
13
+ gem "getargv", "~> #{Getargv::VERSION}", platforms: :ruby, install_if: RbConfig::CONFIG["host_os"].include?("darwin")
14
+
15
+ EOF
16
+ end
17
+
18
+ darwin_check
19
+ arch_dir = RbConfig::CONFIG["rubyarchhdrdir"]
20
+ # `xcode-select --print-path`/SDKs/MacOSX.sdk/System/Library/Frameworks/Ruby.framework/Versions/Current/Headers/ruby.h
21
+ unless File.exist?(arch_dir)
22
+ arch_dir.sub!(RUBY_PLATFORM.split("-").last, Dir.entries(File.dirname(arch_dir)).reject { |d| d.start_with?(".", "ruby") }.first.split("-").last)
23
+ end
24
+
25
+ require "mkmf"
26
+
27
+ unless have_library("getargv", "get_argv_of_pid", "libgetargv.h")
28
+ abort "libgetargv is missing, please install libgetargv."
29
+ end
30
+
31
+ create_makefile("getargv_ruby/getargv_ruby")
@@ -0,0 +1,99 @@
1
+ #include "getargv_ruby.h"
2
+
3
+ VALUE rb_mGetargv;
4
+
5
+ /*
6
+ * call-seq:
7
+ * Getargv.get_argv_of_pid(pid) -> String
8
+ * Getargv.get_argv_of_pid_as_string(pid) -> String
9
+ * Getargv.get_argv_of_pid(pid, nuls) -> String
10
+ * Getargv.get_argv_of_pid_as_string(pid, nuls) -> String
11
+ * Getargv.get_argv_of_pid(pid, nuls, skip) -> String
12
+ * Getargv.get_argv_of_pid_as_string(pid, nuls, skip) -> String
13
+ *
14
+ * Returns the arguments for the given process id as a string. If the second
15
+ * arg is true: replace nul separators with spaces for human consumption. If
16
+ * the third arg is provided, skip ahead the returned string by the given
17
+ * number of leading arguments.
18
+ *
19
+ * Getargv::get_argv_of_pid_as_string is an alias for Getargv::get_argv_of_pid.
20
+ *
21
+ * Examples
22
+ *
23
+ * Getargv.get_argv_of_pid(Process.pid) #=> "ruby\x00-e..."
24
+ * Getargv.get_argv_of_pid(Process.pid(),true) #=> "ruby -e..."
25
+ * Getargv.get_argv_of_pid(Process.pid(),false,1) #=> "-e..."
26
+ */
27
+ static VALUE ruby_get_argv_of_pid(int argc, VALUE *argv, VALUE self) {
28
+ rb_check_arity(argc, 1, 3);
29
+ Check_Type(argv[0], T_FIXNUM);
30
+ rb_pid_t pid = NUM2PIDT(argv[0]);
31
+ bool nuls = false;
32
+ uint skip = 0;
33
+
34
+ if (argc > 1)
35
+ nuls = RB_TEST(argv[1]);
36
+ if (argc > 2 && !NIL_P(argv[2])) {
37
+ Check_Type(argv[2], T_FIXNUM);
38
+ skip = NUM2UINT(argv[2]);
39
+ }
40
+
41
+ struct GetArgvOptions options = {.pid = pid, .skip = skip, .nuls = nuls};
42
+ struct ArgvResult result;
43
+ if (!get_argv_of_pid(&options, &result)) {
44
+ rb_sys_fail(0); // uses errno
45
+ }
46
+
47
+ // assemble result ruby string, this copies :(
48
+ VALUE retVal = rb_str_new(result.start_pointer,
49
+ 1 + result.end_pointer - result.start_pointer);
50
+ free(result.buffer); // ruby copied data, can free buffer now
51
+
52
+ return retVal;
53
+ }
54
+
55
+ /*
56
+ * call-seq:
57
+ * Getargv.get_argv_and_argc_of_pid(pid) -> [String]
58
+ * Getargv.get_argv_of_pid_as_array(pid) -> [String]
59
+ *
60
+ * Returns the arguments for the given process id as an array of strings.
61
+ *
62
+ * Getargv::get_argv_of_pid_as_array is an alias for Getargv::get_argv_and_argc_of_pid.
63
+ *
64
+ * Examples
65
+ *
66
+ * Getargv.get_argv_and_argc_of_pid(Process.pid) #=> ["ruby,"-e",...]
67
+ */
68
+ static VALUE ruby_get_argv_and_argc_of_pid(VALUE self, VALUE rPid) {
69
+ Check_Type(rPid, T_FIXNUM);
70
+ rb_pid_t pid = NUM2PIDT(rPid);
71
+
72
+ struct ArgvArgcResult result;
73
+ if (!get_argv_and_argc_of_pid(pid, &result)) {
74
+ rb_sys_fail(0); // uses errno
75
+ }
76
+
77
+ VALUE ary = rb_ary_new_capa(result.argc);
78
+ for (size_t i = 0; i < result.argc; i++) {
79
+ // assemble result ruby string, this copies :(
80
+ rb_ary_push(ary, rb_str_new_cstr(result.argv[i]));
81
+ }
82
+ // ruby copied data, can free buffers now
83
+ free(result.argv);
84
+ free(result.buffer);
85
+
86
+ return ary;
87
+ }
88
+
89
+ void Init_getargv_ruby(void) {
90
+ rb_mGetargv = rb_define_module("Getargv");
91
+
92
+ rb_define_module_function(rb_mGetargv, "get_argv_of_pid", ruby_get_argv_of_pid, -1);
93
+ // Getargv::get_argv_of_pid_as_string is an alias for Getargv::get_argv_of_pid.
94
+ rb_define_alias(rb_singleton_class(rb_mGetargv), "get_argv_of_pid_as_string", "get_argv_of_pid");
95
+
96
+ rb_define_module_function(rb_mGetargv, "get_argv_and_argc_of_pid", ruby_get_argv_and_argc_of_pid, 1);
97
+ // Getargv::get_argv_of_pid_as_array is an alias for Getargv::get_argv_and_argc_of_pid.
98
+ rb_define_alias(rb_singleton_class(rb_mGetargv), "get_argv_of_pid_as_array", "get_argv_and_argc_of_pid");
99
+ }
@@ -0,0 +1,10 @@
1
+ #ifndef GETARGV_RUBY_H
2
+ #define GETARGV_RUBY_H 1
3
+
4
+ #include "ruby.h"
5
+ #include "ruby/intern.h"
6
+ #include <libgetargv.h>
7
+ #include <stddef.h>
8
+ #include <sys/errno.h>
9
+
10
+ #endif /* GETARGV_RUBY_H */
@@ -0,0 +1,57 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "yaml"
4
+ require_relative "lib/getargv_ruby/version"
5
+ ruby_version = YAML.load_file(".standard.yml")["ruby_version"]
6
+
7
+ Gem::Specification.new do |spec|
8
+ spec.name = "getargv"
9
+ spec.version = Getargv::VERSION
10
+ spec.authors = ["Camden Narzt"]
11
+ spec.email = ["getargv@narzt.cam"]
12
+
13
+ spec.summary = "This gem allows you to query the arguments of other processes on macOS."
14
+ spec.description = <<-EOF
15
+ Getargv is a gem that allows you to query the arguments of other processes as
16
+ an array or string. This gem only supports macOS because the KERN_PROCARGS2
17
+ sysctl only exists in xnu kernels, BSD or Linux users should just read
18
+ /proc/$PID/cmdline which is much easier and faster, Solaris users should use
19
+ pargs.
20
+ EOF
21
+ spec.homepage = "https://getargv.narzt.cam/"
22
+ spec.license = "BSD-3-Clause"
23
+ spec.required_ruby_version = ">= #{ruby_version}.0"
24
+
25
+ spec.metadata["homepage_uri"] = spec.homepage
26
+ spec.metadata["source_code_uri"] = "https://github.com/getargv/getargv_ruby"
27
+ spec.metadata["changelog_uri"] = "https://github.com/getargv/getargv_ruby/blob/CHANGELOG.md"
28
+ spec.metadata["bug_tracker_uri"] = "https://github.com/getargv/getargv_ruby/issues"
29
+ spec.metadata["funding_uri"] = "https://github.com/sponsors/CamJN"
30
+ spec.metadata["documentation_uri"] = "https://www.example.info/gems/bestgemever/0.0.1"
31
+
32
+ # Specify which files should be added to the gem when it is released.
33
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
34
+ spec.files = Dir.chdir(__dir__) do
35
+ `git ls-files -z`.split("\x0").reject do |f|
36
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|circleci)|appveyor)})
37
+ end
38
+ end
39
+ spec.bindir = "exe"
40
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
41
+ spec.require_paths = ["lib", "ext"]
42
+ spec.extensions = ["ext/getargv_ruby/extconf.rb"]
43
+ spec.platform = Gem::Platform.local
44
+
45
+ spec.extra_rdoc_files = Dir["README.md", "ext/*/*.c", "lib/*/*.rb", "ext/*.c", "lib/*.rb"]
46
+ spec.rdoc_options << "-o doc"
47
+ spec.rdoc_options << "-T" << "rails"
48
+ # spec.rdoc_options << "-T" << "direct"
49
+ # spec.rdoc_options << "-T" << "shtml"
50
+ spec.rdoc_options << "--format=sdoc"
51
+
52
+ # Uncomment to register a new dependency of your gem
53
+ # spec.add_dependency "example-gem", "~> 1.0"
54
+
55
+ # For more information and examples about making a new gem, check out our
56
+ # guide at: https://bundler.io/guides/creating_gem.html
57
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Getargv
4
+ ##
5
+ # The version of the gem
6
+ VERSION = "0.1.0"
7
+ end
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "getargv_ruby/version"
4
+ require_relative "getargv_ruby/getargv_ruby"
5
+
6
+ ##
7
+ # This gem allows you to get the arguments of another process on macOS using a correct parsing algorithm.
8
+ module Getargv
9
+ end
@@ -0,0 +1,4 @@
1
+ module Getargv
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,78 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: getargv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: x86_64-darwin-21
6
+ authors:
7
+ - Camden Narzt
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2023-01-04 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: |2
14
+ Getargv is a gem that allows you to query the arguments of other processes as
15
+ an array or string. This gem only supports macOS because the KERN_PROCARGS2
16
+ sysctl only exists in xnu kernels, BSD or Linux users should just read
17
+ /proc/$PID/cmdline which is much easier and faster, Solaris users should use
18
+ pargs.
19
+ email:
20
+ - getargv@narzt.cam
21
+ executables: []
22
+ extensions:
23
+ - ext/getargv_ruby/extconf.rb
24
+ extra_rdoc_files:
25
+ - README.md
26
+ - ext/getargv_ruby/getargv_ruby.c
27
+ - lib/getargv_ruby/version.rb
28
+ - lib/getargv_ruby.rb
29
+ files:
30
+ - ".standard.yml"
31
+ - CHANGELOG.md
32
+ - Gemfile
33
+ - Gemfile.lock
34
+ - LICENSE.txt
35
+ - README.md
36
+ - Rakefile
37
+ - ext/getargv_ruby/extconf.rb
38
+ - ext/getargv_ruby/getargv_ruby.c
39
+ - ext/getargv_ruby/getargv_ruby.h
40
+ - getargv_ruby.gemspec
41
+ - lib/getargv_ruby.rb
42
+ - lib/getargv_ruby/version.rb
43
+ - sig/getargv_ruby.rbs
44
+ homepage: https://getargv.narzt.cam/
45
+ licenses:
46
+ - BSD-3-Clause
47
+ metadata:
48
+ homepage_uri: https://getargv.narzt.cam/
49
+ source_code_uri: https://github.com/getargv/getargv_ruby
50
+ changelog_uri: https://github.com/getargv/getargv_ruby/blob/CHANGELOG.md
51
+ bug_tracker_uri: https://github.com/getargv/getargv_ruby/issues
52
+ funding_uri: https://github.com/sponsors/CamJN
53
+ documentation_uri: https://www.example.info/gems/bestgemever/0.0.1
54
+ post_install_message:
55
+ rdoc_options:
56
+ - "-o doc"
57
+ - "-T"
58
+ - rails
59
+ - "--format=sdoc"
60
+ require_paths:
61
+ - lib
62
+ - ext
63
+ required_ruby_version: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 2.6.0
68
+ required_rubygems_version: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: '0'
73
+ requirements: []
74
+ rubygems_version: 3.1.6
75
+ signing_key:
76
+ specification_version: 4
77
+ summary: This gem allows you to query the arguments of other processes on macOS.
78
+ test_files: []