expo_notifier 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.
- checksums.yaml +7 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +3 -0
- data/LICENSE.txt +21 -0
- data/README.md +172 -0
- data/Rakefile +17 -0
- data/lib/expo_notifier/mapper/base.rb +30 -0
- data/lib/expo_notifier/mapper/error.rb +24 -0
- data/lib/expo_notifier/mapper/push_message.rb +132 -0
- data/lib/expo_notifier/mapper/push_messages.rb +15 -0
- data/lib/expo_notifier/mapper/push_receipt.rb +23 -0
- data/lib/expo_notifier/mapper/push_receipt_error_details.rb +23 -0
- data/lib/expo_notifier/mapper/push_receipt_ids.rb +16 -0
- data/lib/expo_notifier/mapper/push_receipts.rb +38 -0
- data/lib/expo_notifier/mapper/push_ticket.rb +30 -0
- data/lib/expo_notifier/mapper/push_ticket_error_details.rb +19 -0
- data/lib/expo_notifier/mapper/push_tickets.rb +26 -0
- data/lib/expo_notifier/mapper/rich_content.rb +17 -0
- data/lib/expo_notifier/request/base.rb +162 -0
- data/lib/expo_notifier/request/get_push_notification_receipts.rb +18 -0
- data/lib/expo_notifier/request/send_push_notifications.rb +26 -0
- data/lib/expo_notifier/response.rb +93 -0
- data/lib/expo_notifier/sorbet_shim.rb +18 -0
- data/lib/expo_notifier/version.rb +6 -0
- data/lib/expo_notifier.rb +19 -0
- data/sorbet/config +6 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/activesupport.rbi +495 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/minitest.rbi +119 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/annotations/webmock.rbi +9 -0
- data/sorbet/rbi/dsl/.gitattributes +1 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +21 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/base.rbi +12 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/error.rbi +42 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_message.rbi +263 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_messages.rbi +29 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt.rbi +45 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt_error_details.rbi +38 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipt_ids.rbi +20 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_receipts.rbi +25 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_ticket.rbi +59 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_ticket_error_details.rbi +32 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/push_tickets.rbi +54 -0
- data/sorbet/rbi/dsl/expo_notifier/mapper/rich_content.rbi +26 -0
- data/sorbet/rbi/dsl/time.rbi +13 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/activesupport@8.1.1.rbi +22456 -0
- data/sorbet/rbi/gems/addressable@2.8.8.rbi +2005 -0
- data/sorbet/rbi/gems/ast@2.4.3.rbi +586 -0
- data/sorbet/rbi/gems/base64@0.3.0.rbi +545 -0
- data/sorbet/rbi/gems/benchmark@0.5.0.rbi +637 -0
- data/sorbet/rbi/gems/bigdecimal@4.0.1.rbi +409 -0
- data/sorbet/rbi/gems/booleans@0.1.3.rbi +31 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.6.rbi +11729 -0
- data/sorbet/rbi/gems/connection_pool@3.0.2.rbi +9 -0
- data/sorbet/rbi/gems/crack@1.0.1.rbi +145 -0
- data/sorbet/rbi/gems/date@3.5.1.rbi +403 -0
- data/sorbet/rbi/gems/drb@2.2.3.rbi +1661 -0
- data/sorbet/rbi/gems/erb@6.0.1.rbi +815 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +157 -0
- data/sorbet/rbi/gems/faraday-net_http@3.4.2.rbi +72 -0
- data/sorbet/rbi/gems/faraday@2.14.0.rbi +3301 -0
- data/sorbet/rbi/gems/hashdiff@1.2.1.rbi +355 -0
- data/sorbet/rbi/gems/i18n@1.14.8.rbi +2383 -0
- data/sorbet/rbi/gems/io-console@0.8.2.rbi +9 -0
- data/sorbet/rbi/gems/json@2.18.0.rbi +2278 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +323 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
- data/sorbet/rbi/gems/minitest@6.0.1.rbi +1524 -0
- data/sorbet/rbi/gems/net-http@0.9.1.rbi +4304 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +177 -0
- data/sorbet/rbi/gems/parallel@1.27.0.rbi +291 -0
- data/sorbet/rbi/gems/parser@3.3.10.0.rbi +5537 -0
- data/sorbet/rbi/gems/pp@0.6.3.rbi +390 -0
- data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +477 -0
- data/sorbet/rbi/gems/prism@1.6.0.rbi +42126 -0
- data/sorbet/rbi/gems/psych@5.3.1.rbi +2556 -0
- data/sorbet/rbi/gems/public_suffix@7.0.2.rbi +957 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +168 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +404 -0
- data/sorbet/rbi/gems/rake@13.3.1.rbi +3038 -0
- data/sorbet/rbi/gems/rbi@0.3.8.rbi +5238 -0
- data/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi +7805 -0
- data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3849 -0
- data/sorbet/rbi/gems/reline@0.6.3.rbi +2995 -0
- data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
- data/sorbet/rbi/gems/rexml@3.4.4.rbi +5258 -0
- data/sorbet/rbi/gems/rubocop-espago@1.2.0.rbi +9 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +75 -0
- data/sorbet/rbi/gems/shale-builder@0.8.5.rbi +267 -0
- data/sorbet/rbi/gems/shale@1.2.2.rbi +2323 -0
- data/sorbet/rbi/gems/shoulda-context@2.0.0.rbi +563 -0
- data/sorbet/rbi/gems/spoom@1.7.11.rbi +5878 -0
- data/sorbet/rbi/gems/stringio@3.2.0.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.17.4.rbi +3507 -0
- data/sorbet/rbi/gems/thor@1.4.0.rbi +4399 -0
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +393 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5919 -0
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +254 -0
- data/sorbet/rbi/gems/uri@1.1.1.rbi +2407 -0
- data/sorbet/rbi/gems/vcr@6.4.0.rbi +3055 -0
- data/sorbet/rbi/gems/webmock@3.26.1.rbi +1816 -0
- data/sorbet/rbi/shims/gems/set.rbi +2 -0
- data/sorbet/rbi/shims/gems/shale.rbi +27 -0
- data/sorbet/rbi/shims/gems/shoulda-context.rbi +20 -0
- data/sorbet/tapioca/config.yml +21 -0
- data/sorbet/tapioca/extensions/load_gem.rb +1 -0
- data/sorbet/tapioca/require.rb +15 -0
- metadata +228 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
|
|
3
|
+
# DO NOT EDIT MANUALLY
|
|
4
|
+
# This is an autogenerated file for types exported from the `connection_pool` gem.
|
|
5
|
+
# Please instead update this file by running `bin/tapioca gem connection_pool`.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# THIS IS AN EMPTY RBI FILE.
|
|
9
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# typed: true
|
|
2
|
+
|
|
3
|
+
# DO NOT EDIT MANUALLY
|
|
4
|
+
# This is an autogenerated file for types exported from the `crack` gem.
|
|
5
|
+
# Please instead update this file by running `bin/tapioca gem crack`.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# source://crack//lib/crack/xml.rb#196
|
|
9
|
+
module Crack; end
|
|
10
|
+
|
|
11
|
+
# source://crack//lib/crack/xml.rb#197
|
|
12
|
+
class Crack::REXMLParser
|
|
13
|
+
class << self
|
|
14
|
+
# source://crack//lib/crack/xml.rb#198
|
|
15
|
+
def parse(xml); end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
# source://crack//lib/crack/xml.rb#225
|
|
20
|
+
class Crack::XML
|
|
21
|
+
class << self
|
|
22
|
+
# source://crack//lib/crack/xml.rb#234
|
|
23
|
+
def parse(xml); end
|
|
24
|
+
|
|
25
|
+
# source://crack//lib/crack/xml.rb#226
|
|
26
|
+
def parser; end
|
|
27
|
+
|
|
28
|
+
# source://crack//lib/crack/xml.rb#230
|
|
29
|
+
def parser=(parser); end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
# This is a slighly modified version of the XMLUtilityNode from
|
|
34
|
+
# http://merb.devjavu.com/projects/merb/ticket/95 (has.sox@gmail.com)
|
|
35
|
+
# It's mainly just adding vowels, as I ht cd wth n vwls :)
|
|
36
|
+
# This represents the hard part of the work, all I did was change the
|
|
37
|
+
# underlying parser.
|
|
38
|
+
#
|
|
39
|
+
# source://crack//lib/crack/xml.rb#23
|
|
40
|
+
class REXMLUtilityNode
|
|
41
|
+
# @return [REXMLUtilityNode] a new instance of REXMLUtilityNode
|
|
42
|
+
#
|
|
43
|
+
# source://crack//lib/crack/xml.rb#56
|
|
44
|
+
def initialize(name, normalized_attributes = T.unsafe(nil)); end
|
|
45
|
+
|
|
46
|
+
# source://crack//lib/crack/xml.rb#73
|
|
47
|
+
def add_node(node); end
|
|
48
|
+
|
|
49
|
+
# source://crack//lib/crack/xml.rb#24
|
|
50
|
+
def attributes; end
|
|
51
|
+
|
|
52
|
+
# source://crack//lib/crack/xml.rb#24
|
|
53
|
+
def attributes=(_arg0); end
|
|
54
|
+
|
|
55
|
+
# source://crack//lib/crack/xml.rb#24
|
|
56
|
+
def children; end
|
|
57
|
+
|
|
58
|
+
# source://crack//lib/crack/xml.rb#24
|
|
59
|
+
def children=(_arg0); end
|
|
60
|
+
|
|
61
|
+
# Get the inner_html of the REXML node.
|
|
62
|
+
#
|
|
63
|
+
# source://crack//lib/crack/xml.rb#172
|
|
64
|
+
def inner_html; end
|
|
65
|
+
|
|
66
|
+
# source://crack//lib/crack/xml.rb#24
|
|
67
|
+
def name; end
|
|
68
|
+
|
|
69
|
+
# source://crack//lib/crack/xml.rb#24
|
|
70
|
+
def name=(_arg0); end
|
|
71
|
+
|
|
72
|
+
# source://crack//lib/crack/xml.rb#78
|
|
73
|
+
def to_hash; end
|
|
74
|
+
|
|
75
|
+
# Converts the node into a readable HTML node.
|
|
76
|
+
#
|
|
77
|
+
# @return [String] The HTML node in text form.
|
|
78
|
+
#
|
|
79
|
+
# source://crack//lib/crack/xml.rb#179
|
|
80
|
+
def to_html; end
|
|
81
|
+
|
|
82
|
+
# source://crack//lib/crack/xml.rb#185
|
|
83
|
+
def to_s; end
|
|
84
|
+
|
|
85
|
+
# source://crack//lib/crack/xml.rb#24
|
|
86
|
+
def type; end
|
|
87
|
+
|
|
88
|
+
# source://crack//lib/crack/xml.rb#24
|
|
89
|
+
def type=(_arg0); end
|
|
90
|
+
|
|
91
|
+
# Typecasts a value based upon its type. For instance, if
|
|
92
|
+
# +node+ has #type == "integer",
|
|
93
|
+
# {{[node.typecast_value("12") #=> 12]}}
|
|
94
|
+
#
|
|
95
|
+
# @note If +self+ does not have a "type" key, or if it's not one of the
|
|
96
|
+
# options specified above, the raw +value+ will be returned.
|
|
97
|
+
# @param value [String] The value that is being typecast.
|
|
98
|
+
# @return [Integer, TrueClass, FalseClass, Time, Date, Object] The result of typecasting +value+.
|
|
99
|
+
#
|
|
100
|
+
# source://crack//lib/crack/xml.rb#157
|
|
101
|
+
def typecast_value(value); end
|
|
102
|
+
|
|
103
|
+
# Take keys of the form foo-bar and convert them to foo_bar
|
|
104
|
+
#
|
|
105
|
+
# source://crack//lib/crack/xml.rb#164
|
|
106
|
+
def undasherize_keys(params); end
|
|
107
|
+
|
|
108
|
+
private
|
|
109
|
+
|
|
110
|
+
# source://crack//lib/crack/xml.rb#191
|
|
111
|
+
def unnormalize_xml_entities(value); end
|
|
112
|
+
|
|
113
|
+
class << self
|
|
114
|
+
# source://crack//lib/crack/xml.rb#34
|
|
115
|
+
def available_typecasts; end
|
|
116
|
+
|
|
117
|
+
# source://crack//lib/crack/xml.rb#38
|
|
118
|
+
def available_typecasts=(obj); end
|
|
119
|
+
|
|
120
|
+
# source://crack//lib/crack/xml.rb#26
|
|
121
|
+
def typecasts; end
|
|
122
|
+
|
|
123
|
+
# source://crack//lib/crack/xml.rb#30
|
|
124
|
+
def typecasts=(obj); end
|
|
125
|
+
end
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
# The Reason behind redefining the String Class for this specific plugin is to
|
|
129
|
+
# avoid the dynamic insertion of stuff on it (see version previous to this commit).
|
|
130
|
+
# Doing that disables the possibility of efectuating a dump on the structure. This way it goes.
|
|
131
|
+
#
|
|
132
|
+
# source://crack//lib/crack/xml.rb#14
|
|
133
|
+
class REXMLUtiliyNodeString < ::String
|
|
134
|
+
# Returns the value of attribute attributes.
|
|
135
|
+
#
|
|
136
|
+
# source://crack//lib/crack/xml.rb#15
|
|
137
|
+
def attributes; end
|
|
138
|
+
|
|
139
|
+
# Sets the attribute attributes
|
|
140
|
+
#
|
|
141
|
+
# @param value the value to set the attribute attributes to.
|
|
142
|
+
#
|
|
143
|
+
# source://crack//lib/crack/xml.rb#15
|
|
144
|
+
def attributes=(_arg0); end
|
|
145
|
+
end
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
# typed: false
|
|
2
|
+
|
|
3
|
+
# DO NOT EDIT MANUALLY
|
|
4
|
+
# This is an autogenerated file for types exported from the `date` gem.
|
|
5
|
+
# Please instead update this file by running `bin/tapioca gem date`.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# source://date//lib/date.rb#6
|
|
9
|
+
class Date
|
|
10
|
+
include ::Comparable
|
|
11
|
+
|
|
12
|
+
# source://date//lib/date.rb#4
|
|
13
|
+
def initialize(*_arg0); end
|
|
14
|
+
|
|
15
|
+
# source://date//lib/date.rb#4
|
|
16
|
+
def +(other); end
|
|
17
|
+
|
|
18
|
+
# source://date//lib/date.rb#4
|
|
19
|
+
def -(other); end
|
|
20
|
+
|
|
21
|
+
# source://date//lib/date.rb#4
|
|
22
|
+
def <<(_arg0); end
|
|
23
|
+
|
|
24
|
+
# source://date//lib/date.rb#4
|
|
25
|
+
def <=>(other); end
|
|
26
|
+
|
|
27
|
+
# source://date//lib/date.rb#4
|
|
28
|
+
def ===(_arg0); end
|
|
29
|
+
|
|
30
|
+
# source://date//lib/date.rb#4
|
|
31
|
+
def >>(_arg0); end
|
|
32
|
+
|
|
33
|
+
# source://date//lib/date.rb#4
|
|
34
|
+
def ajd; end
|
|
35
|
+
|
|
36
|
+
# source://date//lib/date.rb#4
|
|
37
|
+
def amjd; end
|
|
38
|
+
|
|
39
|
+
# source://date//lib/date.rb#4
|
|
40
|
+
def asctime; end
|
|
41
|
+
|
|
42
|
+
# source://date//lib/date.rb#4
|
|
43
|
+
def ctime; end
|
|
44
|
+
|
|
45
|
+
# source://date//lib/date.rb#4
|
|
46
|
+
def cwday; end
|
|
47
|
+
|
|
48
|
+
# source://date//lib/date.rb#4
|
|
49
|
+
def cweek; end
|
|
50
|
+
|
|
51
|
+
# source://date//lib/date.rb#4
|
|
52
|
+
def cwyear; end
|
|
53
|
+
|
|
54
|
+
# source://date//lib/date.rb#4
|
|
55
|
+
def day; end
|
|
56
|
+
|
|
57
|
+
# source://date//lib/date.rb#4
|
|
58
|
+
def day_fraction; end
|
|
59
|
+
|
|
60
|
+
# source://date//lib/date.rb#4
|
|
61
|
+
def deconstruct_keys(_arg0); end
|
|
62
|
+
|
|
63
|
+
# source://date//lib/date.rb#4
|
|
64
|
+
def downto(_arg0); end
|
|
65
|
+
|
|
66
|
+
# source://date//lib/date.rb#4
|
|
67
|
+
def england; end
|
|
68
|
+
|
|
69
|
+
# source://date//lib/date.rb#4
|
|
70
|
+
def eql?(_arg0); end
|
|
71
|
+
|
|
72
|
+
# source://date//lib/date.rb#4
|
|
73
|
+
def friday?; end
|
|
74
|
+
|
|
75
|
+
# source://date//lib/date.rb#4
|
|
76
|
+
def gregorian; end
|
|
77
|
+
|
|
78
|
+
# source://date//lib/date.rb#4
|
|
79
|
+
def gregorian?; end
|
|
80
|
+
|
|
81
|
+
# source://date//lib/date.rb#4
|
|
82
|
+
def hash; end
|
|
83
|
+
|
|
84
|
+
# source://date//lib/date.rb#4
|
|
85
|
+
def httpdate; end
|
|
86
|
+
|
|
87
|
+
# call-seq:
|
|
88
|
+
# infinite? -> false
|
|
89
|
+
#
|
|
90
|
+
# Returns +false+
|
|
91
|
+
#
|
|
92
|
+
# @return [Boolean]
|
|
93
|
+
#
|
|
94
|
+
# source://date//lib/date.rb#13
|
|
95
|
+
def infinite?; end
|
|
96
|
+
|
|
97
|
+
# source://date//lib/date.rb#4
|
|
98
|
+
def inspect; end
|
|
99
|
+
|
|
100
|
+
# source://date//lib/date.rb#4
|
|
101
|
+
def iso8601; end
|
|
102
|
+
|
|
103
|
+
# source://date//lib/date.rb#4
|
|
104
|
+
def italy; end
|
|
105
|
+
|
|
106
|
+
# source://date//lib/date.rb#4
|
|
107
|
+
def jd; end
|
|
108
|
+
|
|
109
|
+
# source://date//lib/date.rb#4
|
|
110
|
+
def jisx0301; end
|
|
111
|
+
|
|
112
|
+
# source://date//lib/date.rb#4
|
|
113
|
+
def julian; end
|
|
114
|
+
|
|
115
|
+
# source://date//lib/date.rb#4
|
|
116
|
+
def julian?; end
|
|
117
|
+
|
|
118
|
+
# source://date//lib/date.rb#4
|
|
119
|
+
def ld; end
|
|
120
|
+
|
|
121
|
+
# source://date//lib/date.rb#4
|
|
122
|
+
def leap?; end
|
|
123
|
+
|
|
124
|
+
# source://date//lib/date.rb#4
|
|
125
|
+
def marshal_dump; end
|
|
126
|
+
|
|
127
|
+
# source://date//lib/date.rb#4
|
|
128
|
+
def marshal_load(_arg0); end
|
|
129
|
+
|
|
130
|
+
# source://date//lib/date.rb#4
|
|
131
|
+
def mday; end
|
|
132
|
+
|
|
133
|
+
# source://date//lib/date.rb#4
|
|
134
|
+
def mjd; end
|
|
135
|
+
|
|
136
|
+
# source://date//lib/date.rb#4
|
|
137
|
+
def mon; end
|
|
138
|
+
|
|
139
|
+
# source://date//lib/date.rb#4
|
|
140
|
+
def monday?; end
|
|
141
|
+
|
|
142
|
+
# source://date//lib/date.rb#4
|
|
143
|
+
def month; end
|
|
144
|
+
|
|
145
|
+
# source://date//lib/date.rb#4
|
|
146
|
+
def new_start(*_arg0); end
|
|
147
|
+
|
|
148
|
+
# source://date//lib/date.rb#4
|
|
149
|
+
def next; end
|
|
150
|
+
|
|
151
|
+
# source://date//lib/date.rb#4
|
|
152
|
+
def next_day(*_arg0); end
|
|
153
|
+
|
|
154
|
+
# source://date//lib/date.rb#4
|
|
155
|
+
def next_month(*_arg0); end
|
|
156
|
+
|
|
157
|
+
# source://date//lib/date.rb#4
|
|
158
|
+
def next_year(*_arg0); end
|
|
159
|
+
|
|
160
|
+
# source://date//lib/date.rb#4
|
|
161
|
+
def prev_day(*_arg0); end
|
|
162
|
+
|
|
163
|
+
# source://date//lib/date.rb#4
|
|
164
|
+
def prev_month(*_arg0); end
|
|
165
|
+
|
|
166
|
+
# source://date//lib/date.rb#4
|
|
167
|
+
def prev_year(*_arg0); end
|
|
168
|
+
|
|
169
|
+
# source://date//lib/date.rb#4
|
|
170
|
+
def rfc2822; end
|
|
171
|
+
|
|
172
|
+
# source://date//lib/date.rb#4
|
|
173
|
+
def rfc3339; end
|
|
174
|
+
|
|
175
|
+
# source://date//lib/date.rb#4
|
|
176
|
+
def rfc822; end
|
|
177
|
+
|
|
178
|
+
# source://date//lib/date.rb#4
|
|
179
|
+
def saturday?; end
|
|
180
|
+
|
|
181
|
+
# source://date//lib/date.rb#4
|
|
182
|
+
def start; end
|
|
183
|
+
|
|
184
|
+
# source://date//lib/date.rb#4
|
|
185
|
+
def step(*_arg0); end
|
|
186
|
+
|
|
187
|
+
# source://date//lib/date.rb#4
|
|
188
|
+
def strftime(*_arg0); end
|
|
189
|
+
|
|
190
|
+
# source://date//lib/date.rb#4
|
|
191
|
+
def succ; end
|
|
192
|
+
|
|
193
|
+
# source://date//lib/date.rb#4
|
|
194
|
+
def sunday?; end
|
|
195
|
+
|
|
196
|
+
# source://date//lib/date.rb#4
|
|
197
|
+
def thursday?; end
|
|
198
|
+
|
|
199
|
+
# source://date//lib/date.rb#4
|
|
200
|
+
def to_date; end
|
|
201
|
+
|
|
202
|
+
# source://date//lib/date.rb#4
|
|
203
|
+
def to_datetime; end
|
|
204
|
+
|
|
205
|
+
# source://date//lib/date.rb#4
|
|
206
|
+
def to_s; end
|
|
207
|
+
|
|
208
|
+
# source://date//lib/date.rb#4
|
|
209
|
+
def to_time(form = T.unsafe(nil)); end
|
|
210
|
+
|
|
211
|
+
# source://date//lib/date.rb#4
|
|
212
|
+
def tuesday?; end
|
|
213
|
+
|
|
214
|
+
# source://date//lib/date.rb#4
|
|
215
|
+
def upto(_arg0); end
|
|
216
|
+
|
|
217
|
+
# source://date//lib/date.rb#4
|
|
218
|
+
def wday; end
|
|
219
|
+
|
|
220
|
+
# source://date//lib/date.rb#4
|
|
221
|
+
def wednesday?; end
|
|
222
|
+
|
|
223
|
+
# source://date//lib/date.rb#4
|
|
224
|
+
def xmlschema; end
|
|
225
|
+
|
|
226
|
+
# source://date//lib/date.rb#4
|
|
227
|
+
def yday; end
|
|
228
|
+
|
|
229
|
+
# source://date//lib/date.rb#4
|
|
230
|
+
def year; end
|
|
231
|
+
|
|
232
|
+
private
|
|
233
|
+
|
|
234
|
+
# source://date//lib/date.rb#4
|
|
235
|
+
def hour; end
|
|
236
|
+
|
|
237
|
+
# source://date//lib/date.rb#4
|
|
238
|
+
def initialize_copy(_arg0); end
|
|
239
|
+
|
|
240
|
+
# source://date//lib/date.rb#4
|
|
241
|
+
def min; end
|
|
242
|
+
|
|
243
|
+
# source://date//lib/date.rb#4
|
|
244
|
+
def minute; end
|
|
245
|
+
|
|
246
|
+
# source://date//lib/date.rb#4
|
|
247
|
+
def sec; end
|
|
248
|
+
|
|
249
|
+
# source://date//lib/date.rb#4
|
|
250
|
+
def second; end
|
|
251
|
+
|
|
252
|
+
class << self
|
|
253
|
+
# source://date//lib/date.rb#4
|
|
254
|
+
def _httpdate(*_arg0); end
|
|
255
|
+
|
|
256
|
+
# source://date//lib/date.rb#4
|
|
257
|
+
def _iso8601(*_arg0); end
|
|
258
|
+
|
|
259
|
+
# source://date//lib/date.rb#4
|
|
260
|
+
def _jisx0301(*_arg0); end
|
|
261
|
+
|
|
262
|
+
# source://date//lib/date.rb#4
|
|
263
|
+
def _load(_arg0); end
|
|
264
|
+
|
|
265
|
+
# source://date//lib/date.rb#4
|
|
266
|
+
def _parse(*_arg0); end
|
|
267
|
+
|
|
268
|
+
# source://date//lib/date.rb#4
|
|
269
|
+
def _rfc2822(*_arg0); end
|
|
270
|
+
|
|
271
|
+
# source://date//lib/date.rb#4
|
|
272
|
+
def _rfc3339(*_arg0); end
|
|
273
|
+
|
|
274
|
+
# source://date//lib/date.rb#4
|
|
275
|
+
def _rfc822(*_arg0); end
|
|
276
|
+
|
|
277
|
+
# source://date//lib/date.rb#4
|
|
278
|
+
def _strptime(*_arg0); end
|
|
279
|
+
|
|
280
|
+
# source://date//lib/date.rb#4
|
|
281
|
+
def _xmlschema(*_arg0); end
|
|
282
|
+
|
|
283
|
+
# source://date//lib/date.rb#4
|
|
284
|
+
def civil(*_arg0); end
|
|
285
|
+
|
|
286
|
+
# source://date//lib/date.rb#4
|
|
287
|
+
def commercial(*_arg0); end
|
|
288
|
+
|
|
289
|
+
# source://date//lib/date.rb#4
|
|
290
|
+
def gregorian_leap?(_arg0); end
|
|
291
|
+
|
|
292
|
+
# source://date//lib/date.rb#4
|
|
293
|
+
def httpdate(*_arg0); end
|
|
294
|
+
|
|
295
|
+
# source://date//lib/date.rb#4
|
|
296
|
+
def iso8601(*_arg0); end
|
|
297
|
+
|
|
298
|
+
# source://date//lib/date.rb#4
|
|
299
|
+
def jd(*_arg0); end
|
|
300
|
+
|
|
301
|
+
# source://date//lib/date.rb#4
|
|
302
|
+
def jisx0301(*_arg0); end
|
|
303
|
+
|
|
304
|
+
# source://date//lib/date.rb#4
|
|
305
|
+
def julian_leap?(_arg0); end
|
|
306
|
+
|
|
307
|
+
# source://date//lib/date.rb#4
|
|
308
|
+
def leap?(_arg0); end
|
|
309
|
+
|
|
310
|
+
# source://date//lib/date.rb#4
|
|
311
|
+
def ordinal(*_arg0); end
|
|
312
|
+
|
|
313
|
+
# source://date//lib/date.rb#4
|
|
314
|
+
def parse(*_arg0); end
|
|
315
|
+
|
|
316
|
+
# source://date//lib/date.rb#4
|
|
317
|
+
def rfc2822(*_arg0); end
|
|
318
|
+
|
|
319
|
+
# source://date//lib/date.rb#4
|
|
320
|
+
def rfc3339(*_arg0); end
|
|
321
|
+
|
|
322
|
+
# source://date//lib/date.rb#4
|
|
323
|
+
def rfc822(*_arg0); end
|
|
324
|
+
|
|
325
|
+
# source://date//lib/date.rb#4
|
|
326
|
+
def strptime(*_arg0); end
|
|
327
|
+
|
|
328
|
+
# source://date//lib/date.rb#4
|
|
329
|
+
def today(*_arg0); end
|
|
330
|
+
|
|
331
|
+
# source://date//lib/date.rb#4
|
|
332
|
+
def valid_civil?(*_arg0); end
|
|
333
|
+
|
|
334
|
+
# source://date//lib/date.rb#4
|
|
335
|
+
def valid_commercial?(*_arg0); end
|
|
336
|
+
|
|
337
|
+
# source://date//lib/date.rb#4
|
|
338
|
+
def valid_date?(*_arg0); end
|
|
339
|
+
|
|
340
|
+
# source://date//lib/date.rb#4
|
|
341
|
+
def valid_jd?(*_arg0); end
|
|
342
|
+
|
|
343
|
+
# source://date//lib/date.rb#4
|
|
344
|
+
def valid_ordinal?(*_arg0); end
|
|
345
|
+
|
|
346
|
+
# source://date//lib/date.rb#4
|
|
347
|
+
def xmlschema(*_arg0); end
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
351
|
+
# source://date//lib/date.rb#17
|
|
352
|
+
class Date::Infinity < ::Numeric
|
|
353
|
+
# @return [Infinity] a new instance of Infinity
|
|
354
|
+
#
|
|
355
|
+
# source://date//lib/date.rb#19
|
|
356
|
+
def initialize(d = T.unsafe(nil)); end
|
|
357
|
+
|
|
358
|
+
# source://date//lib/date.rb#33
|
|
359
|
+
def +@; end
|
|
360
|
+
|
|
361
|
+
# source://date//lib/date.rb#32
|
|
362
|
+
def -@; end
|
|
363
|
+
|
|
364
|
+
# source://date//lib/date.rb#35
|
|
365
|
+
def <=>(other); end
|
|
366
|
+
|
|
367
|
+
# source://date//lib/date.rb#30
|
|
368
|
+
def abs; end
|
|
369
|
+
|
|
370
|
+
# source://date//lib/date.rb#51
|
|
371
|
+
def coerce(other); end
|
|
372
|
+
|
|
373
|
+
# @return [Boolean]
|
|
374
|
+
#
|
|
375
|
+
# source://date//lib/date.rb#26
|
|
376
|
+
def finite?; end
|
|
377
|
+
|
|
378
|
+
# @return [Boolean]
|
|
379
|
+
#
|
|
380
|
+
# source://date//lib/date.rb#27
|
|
381
|
+
def infinite?; end
|
|
382
|
+
|
|
383
|
+
# @return [Boolean]
|
|
384
|
+
#
|
|
385
|
+
# source://date//lib/date.rb#28
|
|
386
|
+
def nan?; end
|
|
387
|
+
|
|
388
|
+
# source://date//lib/date.rb#59
|
|
389
|
+
def to_f; end
|
|
390
|
+
|
|
391
|
+
# @return [Boolean]
|
|
392
|
+
#
|
|
393
|
+
# source://date//lib/date.rb#25
|
|
394
|
+
def zero?; end
|
|
395
|
+
|
|
396
|
+
protected
|
|
397
|
+
|
|
398
|
+
# source://date//lib/date.rb#21
|
|
399
|
+
def d; end
|
|
400
|
+
end
|
|
401
|
+
|
|
402
|
+
# source://date//lib/date.rb#7
|
|
403
|
+
Date::VERSION = T.let(T.unsafe(nil), String)
|