m2m_keygen 0.2.0 → 0.4.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.
@@ -1200,6 +1200,9 @@ class WEBrick::HTTPResponse
1200
1200
  # source://webrick-1.7.0/lib/webrick/httpresponse.rb:157
1201
1201
  def []=(field, value); end
1202
1202
 
1203
+ # source://webrick-1.7.0/lib/webrick/httpresponse.rb:240
1204
+ def _rack_setup_header; end
1205
+
1203
1206
  # Body may be:
1204
1207
  # * a String;
1205
1208
  # * an IO-like object that responds to +#read+ and +#readpartial+;
@@ -1404,11 +1407,6 @@ class WEBrick::HTTPResponse
1404
1407
  # source://webrick-1.7.0/lib/webrick/httpresponse.rb:373
1405
1408
  def set_redirect(status, url); end
1406
1409
 
1407
- # Sets up the headers for sending
1408
- #
1409
- # source://webrick-1.7.0/lib/webrick/httpresponse.rb:240
1410
- def setup_header; end
1411
-
1412
1410
  # Response status code (200)
1413
1411
  #
1414
1412
  # source://webrick-1.7.0/lib/webrick/httpresponse.rb:36
@@ -515,6 +515,65 @@ end
515
515
  # source://yard-0.9.28/lib/yard.rb:62
516
516
  RUBY19 = T.let(T.unsafe(nil), TrueClass)
517
517
 
518
+ # @private
519
+ #
520
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:85
521
+ class Rack::Request
522
+ # @return [Request] a new instance of Request
523
+ #
524
+ # source://rack-2.2.4/lib/rack/request.rb:26
525
+ def initialize(env); end
526
+
527
+ # source://rack-2.2.4/lib/rack/request.rb:40
528
+ def delete_param(k); end
529
+
530
+ # source://rack-2.2.4/lib/rack/request.rb:31
531
+ def params; end
532
+
533
+ # source://rack-2.2.4/lib/rack/request.rb:31
534
+ def query; end
535
+
536
+ # source://rack-2.2.4/lib/rack/request.rb:35
537
+ def update_param(k, v); end
538
+
539
+ # Returns the value of attribute version_supplied.
540
+ #
541
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:86
542
+ def version_supplied; end
543
+
544
+ # Sets the attribute version_supplied
545
+ #
546
+ # @param value the value to set the attribute version_supplied to.
547
+ #
548
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:86
549
+ def version_supplied=(_arg0); end
550
+
551
+ # @return [Boolean]
552
+ #
553
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:88
554
+ def xhr?; end
555
+
556
+ class << self
557
+ # Returns the value of attribute ip_filter.
558
+ #
559
+ # source://rack-2.2.4/lib/rack/request.rb:16
560
+ def ip_filter; end
561
+
562
+ # Sets the attribute ip_filter
563
+ #
564
+ # @param value the value to set the attribute ip_filter to.
565
+ #
566
+ # source://rack-2.2.4/lib/rack/request.rb:16
567
+ def ip_filter=(_arg0); end
568
+ end
569
+ end
570
+
571
+ # source://rack-2.2.4/lib/rack/request.rb:20
572
+ Rack::Request::ALLOWED_SCHEMES = T.let(T.unsafe(nil), Array)
573
+
574
+ # source://rack-2.2.4/lib/rack/request.rb:21
575
+ Rack::Request::SCHEME_WHITELIST = T.let(T.unsafe(nil), Array)
576
+
518
577
  # Extensions to the core String class
519
578
  #
520
579
  # source://yard-0.9.28/lib/yard/core_ext/string.rb:2
@@ -13920,6 +13979,71 @@ end
13920
13979
  # source://yard-0.9.28/lib/yard/server/adapter.rb:11
13921
13980
  class YARD::Server::NotFoundError < ::RuntimeError; end
13922
13981
 
13982
+ # A server adapter to respond to requests using the Rack server infrastructure.
13983
+ #
13984
+ # @since 0.6.0
13985
+ #
13986
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:44
13987
+ class YARD::Server::RackAdapter < ::YARD::Server::Adapter
13988
+ include ::WEBrick::HTTPUtils
13989
+
13990
+ # Responds to Rack requests and builds a response with the {Router}.
13991
+ #
13992
+ # @return [Array(Numeric,Hash,Array)] the Rack-style response
13993
+ # @since 0.6.0
13994
+ #
13995
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:49
13996
+ def call(env); end
13997
+
13998
+ # Starts the +Rack::Server+. This method will pass control to the server and
13999
+ # block.
14000
+ #
14001
+ # @return [void]
14002
+ # @since 0.6.0
14003
+ #
14004
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:62
14005
+ def start; end
14006
+
14007
+ private
14008
+
14009
+ # @since 0.6.0
14010
+ #
14011
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:71
14012
+ def print_start_message(server); end
14013
+ end
14014
+
14015
+ # This class wraps the {RackAdapter} into a Rack-compatible middleware.
14016
+ # See {#initialize} for a list of options to pass via Rack's +#use+ method.
14017
+ #
14018
+ # @example Using the RackMiddleware in a Rack application
14019
+ # libraries = {:mylib => [YARD::Server::LibraryVersion.new('mylib', nil, '/path/to/.yardoc')]}
14020
+ # use YARD::Server::RackMiddleware, :libraries => libraries
14021
+ # @note You must pass a +:libraries+ option to the RackMiddleware via +#use+. To
14022
+ # read about how to return a list of libraries, see {LibraryVersion} or look
14023
+ # at the example below.
14024
+ # @since 0.6.0
14025
+ #
14026
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:17
14027
+ class YARD::Server::RackMiddleware
14028
+ # Creates a new Rack-based middleware for serving YARD documentation.
14029
+ #
14030
+ # @option opts
14031
+ # @option opts
14032
+ # @option opts
14033
+ # @param app the next Rack middleware in the stack
14034
+ # @param opts [Hash] a customizable set of options
14035
+ # @return [RackMiddleware] a new instance of RackMiddleware
14036
+ # @since 0.6.0
14037
+ #
14038
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:27
14039
+ def initialize(app, opts = T.unsafe(nil)); end
14040
+
14041
+ # @since 0.6.0
14042
+ #
14043
+ # source://yard-0.9.28/lib/yard/server/rack_adapter.rb:33
14044
+ def call(env); end
14045
+ end
14046
+
13923
14047
  # A router class implements the logic used to recognize a request for a specific
13924
14048
  # URL and run specific {Commands::Base commands}.
13925
14049
  #