autolib 0.1.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.
Files changed (6) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +34 -0
  4. data/autolib.rb +1 -0
  5. data/b.rb +79 -0
  6. metadata +47 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 3c32f9738b1bac621aff7f1ac47c0a93762c3aadd403ac06a59d94e32a09d7be
4
+ data.tar.gz: 42b0307e9b4d5325c538949beafcbc8ce9c36dff2fa3e8f0dcec7741033d9343
5
+ SHA512:
6
+ metadata.gz: 85131c326579fa91d33f90f598b75d73793d36bdb0a8882f39d9eaecb9d346d38aff5726d920baaaf69fb190fa8d315e04f389d518f0c56d9412586d9aa94bf9
7
+ data.tar.gz: '09bf0bccd2236cf3ed3610866afebd4e82f027307a2b5395b67c0926085c3a2262a77b8b6e4ec8365b71df8d9b7bb2d5886130b7d87df177c5d90ad504dc0385'
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Étienne Barrié
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # Autolib
2
+
3
+ Set up autoloads for the standard library.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ gem install autolib
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```console
14
+ $ irb -rb
15
+ >> JSON.parse('{"foo":42}', symbolize_names: true)
16
+ => {foo: 42}
17
+ >> Net::HTTP.get(URI("https://www.ruby-lang.org/en/downloads/"))[/The current stable version.*/]
18
+ => "The current stable version is 3.4.3."
19
+ ```
20
+
21
+ ## Development
22
+
23
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
24
+
25
+ To install this gem onto your local machine, run `bundle exec rake install`.
26
+ To release a new version, update the version number in `autolib.gemspec`, 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).
27
+
28
+ ## Contributing
29
+
30
+ Bug reports and pull requests are welcome on GitHub at <https://github.com/etiennebarrie/autolib>.
31
+
32
+ ## License
33
+
34
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/autolib.rb ADDED
@@ -0,0 +1 @@
1
+ require "b"
data/b.rb ADDED
@@ -0,0 +1,79 @@
1
+ autoload :Benchmark, "benchmark"
2
+ autoload :Bundler, "bundler"
3
+ autoload :CGI, "cgi"
4
+ autoload :Continuation, "continuation"
5
+ autoload :Coverage, "coverage"
6
+ autoload :Date, "date"
7
+ autoload :DateTime, "date"
8
+ autoload :Delegator, "delegate"
9
+ autoload :SimpleDelegator, "delegate"
10
+ autoload :DidYouMean, "did_you_mean"
11
+ autoload :Digest, "digest"
12
+ autoload :ERB, "erb"
13
+ autoload :ErrorHighlight, "error_highlight"
14
+ autoload :Etc, "etc"
15
+ autoload :Fcntl, "fcntl"
16
+ autoload :Fiddle, "fiddle"
17
+ autoload :FileUtils, "fileutils"
18
+ autoload :Find, "find"
19
+ autoload :Forwardable, "forwardable"
20
+ autoload :SingleForwardable, "forwardable"
21
+ autoload :IPAddr, "ipaddr"
22
+ autoload :IRB, "irb"
23
+ autoload :JSON, "json"
24
+ autoload :Logger, "logger"
25
+ autoload :MakeMakefile, "mkmf"
26
+ autoload :Monitor, "monitor"
27
+ autoload :MonitorMixin, "monitor"
28
+ module Net
29
+ autoload :HTTP, "net/http"
30
+ autoload :Protocol, "net/protocol"
31
+ end
32
+ autoload :OpenURI, "open-uri"
33
+ autoload :Open3, "open3"
34
+ autoload :OpenSSL, "openssl"
35
+ autoload :OptionParser, "optionparser"
36
+ autoload :OptParse, "optparse"
37
+ autoload :OpenStruct, "ostruct"
38
+ autoload :Pathname, "pathname"
39
+ autoload :PP, "pp"
40
+ autoload :PrettyPrint, "prettyprint"
41
+ autoload :Prism, "prism"
42
+ autoload :PStore, "pstore"
43
+ autoload :Psych, "psych"
44
+ autoload :PTY, "pty"
45
+ autoload :RbConfig, "rbconfig"
46
+ autoload :RDoc, "rdoc"
47
+ autoload :Reline, "reline"
48
+ autoload :Resolv, "resolv"
49
+ autoload :Ripper, "ripper"
50
+ autoload :Gem, "rubygems"
51
+ autoload :SecureRandom, "securerandom"
52
+ autoload :SortedSet, "set"
53
+ autoload :Shellwords, "shellwords"
54
+ autoload :Singleton, "singleton"
55
+ autoload :RactorLocalSingleton, "singleton"
56
+ autoload :Addrinfo, "socket"
57
+ autoload :BasicSocket, "socket"
58
+ autoload :IPSocket, "socket"
59
+ autoload :Socket, "socket"
60
+ autoload :SocketError, "socket"
61
+ autoload :TCPServer, "socket"
62
+ autoload :TCPSocket, "socket"
63
+ autoload :UDPSocket, "socket"
64
+ autoload :UNIXServer, "socket"
65
+ autoload :UNIXSocket, "socket"
66
+ autoload :StringIO, "stringio"
67
+ autoload :ScanError, "strscan"
68
+ autoload :StringScanner, "strscan"
69
+ autoload :SyntaxSuggest, "syntax_suggest"
70
+ autoload :Tempfile, "tempfile"
71
+ autoload :Timeout, "timeout"
72
+ autoload :TSort, "tsort"
73
+ autoload :UN, "un"
74
+ autoload :URI, "uri"
75
+ autoload :WeakRef, "weakref"
76
+ autoload :YAML, "yaml"
77
+ # yaml/dbm
78
+ # yaml/store
79
+ autoload :Zlib, "zlib"
metadata ADDED
@@ -0,0 +1,47 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: autolib
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Étienne Barrié
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Set up autoload for the standard library
13
+ email:
14
+ - etienne.barrie@gmail.com
15
+ executables: []
16
+ extensions: []
17
+ extra_rdoc_files: []
18
+ files:
19
+ - LICENSE.txt
20
+ - README.md
21
+ - autolib.rb
22
+ - b.rb
23
+ homepage: https://github.com/etiennebarrie/autolib
24
+ licenses:
25
+ - MIT
26
+ metadata:
27
+ allowed_push_host: https://rubygems.org
28
+ homepage_uri: https://github.com/etiennebarrie/autolib
29
+ source_code_uri: https://github.com/etiennebarrie/autolib/tree/v0.1.0
30
+ rdoc_options: []
31
+ require_paths:
32
+ - "."
33
+ required_ruby_version: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '0'
43
+ requirements: []
44
+ rubygems_version: 3.6.8
45
+ specification_version: 4
46
+ summary: Autoload stdlib
47
+ test_files: []