ruby-lsp-doclinks 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 (65) hide show
  1. checksums.yaml +7 -0
  2. data/.rubocop.yml +2 -0
  3. data/CHANGELOG.md +3 -0
  4. data/CODE_OF_CONDUCT.md +132 -0
  5. data/LICENSE.txt +21 -0
  6. data/README.md +67 -0
  7. data/Rakefile +12 -0
  8. data/lib/ruby-lsp-doclinks.rb +1 -0
  9. data/lib/ruby_lsp/doclinks/addon.rb +165 -0
  10. data/lib/ruby_lsp/doclinks/version.rb +7 -0
  11. data/lib/ruby_lsp/doclinks.rb +9 -0
  12. data/sig/ruby_lsp/doclinks.rbs +4 -0
  13. data/sorbet/config +4 -0
  14. data/sorbet/rbi/annotations/.gitattributes +1 -0
  15. data/sorbet/rbi/annotations/activesupport.rbi +457 -0
  16. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  17. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  18. data/sorbet/rbi/gems/.gitattributes +1 -0
  19. data/sorbet/rbi/gems/activesupport@8.0.2.rbi +11 -0
  20. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  21. data/sorbet/rbi/gems/base64@0.2.0.rbi +9 -0
  22. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  23. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
  24. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +9 -0
  25. data/sorbet/rbi/gems/connection_pool@2.5.0.rbi +9 -0
  26. data/sorbet/rbi/gems/drb@2.2.1.rbi +9 -0
  27. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  28. data/sorbet/rbi/gems/i18n@1.14.7.rbi +9 -0
  29. data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
  30. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  31. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  32. data/sorbet/rbi/gems/logger@1.6.6.rbi +940 -0
  33. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  34. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  35. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  36. data/sorbet/rbi/gems/parser@3.3.7.2.rbi +5532 -0
  37. data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
  38. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  39. data/sorbet/rbi/gems/rack@3.1.12.rbi +4898 -0
  40. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  41. data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
  42. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  43. data/sorbet/rbi/gems/rbs@3.9.1.rbi +6978 -0
  44. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  45. data/sorbet/rbi/gems/rubocop-ast@1.42.0.rbi +7715 -0
  46. data/sorbet/rbi/gems/rubocop-performance@1.24.0.rbi +9 -0
  47. data/sorbet/rbi/gems/rubocop-rails-omakase@1.1.0.rbi +9 -0
  48. data/sorbet/rbi/gems/rubocop-rails@2.30.3.rbi +9 -0
  49. data/sorbet/rbi/gems/rubocop@1.74.0.rbi +61400 -0
  50. data/sorbet/rbi/gems/ruby-lsp@0.23.12.rbi +9 -0
  51. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  52. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
  53. data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
  54. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
  55. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  56. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +9 -0
  57. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  58. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  59. data/sorbet/rbi/gems/uri@1.0.3.rbi +2349 -0
  60. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  61. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  62. data/sorbet/rbi/todo.rbi +15 -0
  63. data/sorbet/tapioca/config.yml +13 -0
  64. data/sorbet/tapioca/require.rb +4 -0
  65. metadata +131 -0
@@ -0,0 +1,75 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `securerandom` gem.
5
+ # Please instead update this file by running `bin/tapioca gem securerandom`.
6
+
7
+
8
+ # == Secure random number generator interface.
9
+ #
10
+ # This library is an interface to secure random number generators which are
11
+ # suitable for generating session keys in HTTP cookies, etc.
12
+ #
13
+ # You can use this library in your application by requiring it:
14
+ #
15
+ # require 'securerandom'
16
+ #
17
+ # It supports the following secure random number generators:
18
+ #
19
+ # * openssl
20
+ # * /dev/urandom
21
+ # * Win32
22
+ #
23
+ # SecureRandom is extended by the Random::Formatter module which
24
+ # defines the following methods:
25
+ #
26
+ # * alphanumeric
27
+ # * base64
28
+ # * choose
29
+ # * gen_random
30
+ # * hex
31
+ # * rand
32
+ # * random_bytes
33
+ # * random_number
34
+ # * urlsafe_base64
35
+ # * uuid
36
+ #
37
+ # These methods are usable as class methods of SecureRandom such as
38
+ # +SecureRandom.hex+.
39
+ #
40
+ # If a secure random number generator is not available,
41
+ # +NotImplementedError+ is raised.
42
+ #
43
+ # source://securerandom//lib/securerandom.rb#41
44
+ module SecureRandom
45
+ extend ::Random::Formatter
46
+
47
+ class << self
48
+ # Returns a random binary string containing +size+ bytes.
49
+ #
50
+ # See Random.bytes
51
+ #
52
+ # source://securerandom//lib/securerandom.rb#50
53
+ def bytes(n); end
54
+
55
+ # source://securerandom//lib/securerandom.rb#70
56
+ def gen_random(n); end
57
+
58
+ private
59
+
60
+ # Implementation using OpenSSL
61
+ #
62
+ # source://securerandom//lib/securerandom.rb#65
63
+ def gen_random_openssl(n); end
64
+
65
+ # Implementation using system random device
66
+ #
67
+ # source://securerandom//lib/securerandom.rb#70
68
+ def gen_random_urandom(n); end
69
+ end
70
+ end
71
+
72
+ # The version
73
+ #
74
+ # source://securerandom//lib/securerandom.rb#44
75
+ SecureRandom::VERSION = T.let(T.unsafe(nil), String)