parking_ticket 1.0.46 → 1.0.49
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 +4 -4
- data/.rubocop.yml +4 -0
- data/.vscode/settings.json +3 -0
- data/Gemfile +0 -15
- data/Gemfile.lock +72 -4
- data/Rakefile +2 -2
- data/bin/console +3 -3
- data/bin/tapioca +29 -0
- data/lib/clients/models/payment_method.rb +15 -0
- data/lib/clients/models/quote.rb +16 -0
- data/lib/clients/models/rate_option.rb +19 -0
- data/lib/clients/models/structuraly_comparable.rb +14 -0
- data/lib/clients/models/ticket.rb +19 -0
- data/lib/clients/models/vehicle.rb +17 -0
- data/lib/clients/pay_by_phone/adapter.rb +107 -53
- data/lib/clients/pay_by_phone/client.rb +101 -38
- data/lib/parking_ticket/configuration.rb +3 -0
- data/lib/parking_ticket/version.rb +2 -1
- data/lib/parking_ticket.rb +79 -54
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/annotations/webmock.rbi +9 -0
- data/sorbet/rbi/gems/addressable@2.8.1.rbi +2000 -0
- data/sorbet/rbi/gems/amazing_print@1.4.0.rbi +872 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +144 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
- data/sorbet/rbi/gems/faraday-net_http@3.0.2.rbi +146 -0
- data/sorbet/rbi/gems/faraday@2.7.2.rbi +2518 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +350 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/json_matchers@0.11.1.rbi +133 -0
- data/sorbet/rbi/gems/json_schema@0.21.0.rbi +1165 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +161 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.2.0.rbi +7207 -0
- data/sorbet/rbi/gems/public_suffix@5.0.1.rbi +940 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2881 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +3600 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4823 -0
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10826 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.1.rbi +8118 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.1.rbi +5300 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1615 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.28.0.rbi +6985 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +1043 -0
- data/sorbet/rbi/gems/rubocop@1.48.1.rbi +54934 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1317 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.2.1.rbi +2503 -0
- data/sorbet/rbi/gems/tapioca@0.11.4.rbi +3212 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
- data/sorbet/rbi/gems/vcr@6.1.0.rbi +3023 -0
- data/sorbet/rbi/gems/webmock@3.18.1.rbi +1728 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2584 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17802 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +241 -4
- data/lib/clients/adapter.rb +0 -75
@@ -0,0 +1,133 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `json_matchers` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem json_matchers`.
|
6
|
+
|
7
|
+
# source://json_matchers//lib/json_matchers/version.rb#1
|
8
|
+
module JsonMatchers
|
9
|
+
class << self
|
10
|
+
# source://json_matchers//lib/json_matchers.rb#11
|
11
|
+
def path_to_schema(schema_name); end
|
12
|
+
|
13
|
+
# Returns the value of attribute schema_root.
|
14
|
+
#
|
15
|
+
# source://json_matchers//lib/json_matchers.rb#8
|
16
|
+
def schema_root; end
|
17
|
+
|
18
|
+
# Sets the attribute schema_root
|
19
|
+
#
|
20
|
+
# @param value the value to set the attribute schema_root to.
|
21
|
+
#
|
22
|
+
# source://json_matchers//lib/json_matchers.rb#8
|
23
|
+
def schema_root=(_arg0); end
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# source://json_matchers//lib/json_matchers/errors.rb#2
|
28
|
+
class JsonMatchers::InvalidSchemaError < ::StandardError; end
|
29
|
+
|
30
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#6
|
31
|
+
class JsonMatchers::Matcher
|
32
|
+
# @return [Matcher] a new instance of Matcher
|
33
|
+
#
|
34
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#7
|
35
|
+
def initialize(schema_path); end
|
36
|
+
|
37
|
+
# @return [Boolean]
|
38
|
+
#
|
39
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#12
|
40
|
+
def matches?(payload); end
|
41
|
+
|
42
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#18
|
43
|
+
def validation_failure_message; end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#31
|
48
|
+
def build_and_populate_document_store; end
|
49
|
+
|
50
|
+
# Returns the value of attribute document_store.
|
51
|
+
#
|
52
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#25
|
53
|
+
def document_store; end
|
54
|
+
|
55
|
+
# Returns the value of attribute errors.
|
56
|
+
#
|
57
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#24
|
58
|
+
def errors; end
|
59
|
+
|
60
|
+
# Sets the attribute errors
|
61
|
+
#
|
62
|
+
# @param value the value to set the attribute errors to.
|
63
|
+
#
|
64
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#24
|
65
|
+
def errors=(_arg0); end
|
66
|
+
|
67
|
+
# Returns the value of attribute schema_path.
|
68
|
+
#
|
69
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#25
|
70
|
+
def schema_path; end
|
71
|
+
|
72
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#43
|
73
|
+
def traverse_schema_root_with_first_level_symlinks; end
|
74
|
+
|
75
|
+
# source://json_matchers//lib/json_matchers/matcher.rb#27
|
76
|
+
def validator; end
|
77
|
+
end
|
78
|
+
|
79
|
+
# source://json_matchers//lib/json_matchers/errors.rb#3
|
80
|
+
class JsonMatchers::MissingSchema < ::Errno::ENOENT; end
|
81
|
+
|
82
|
+
# source://json_matchers//lib/json_matchers/parser.rb#2
|
83
|
+
class JsonMatchers::Parser
|
84
|
+
# @return [Parser] a new instance of Parser
|
85
|
+
#
|
86
|
+
# source://json_matchers//lib/json_matchers/parser.rb#3
|
87
|
+
def initialize(schema_path); end
|
88
|
+
|
89
|
+
# source://json_matchers//lib/json_matchers/parser.rb#7
|
90
|
+
def parse; end
|
91
|
+
|
92
|
+
private
|
93
|
+
|
94
|
+
# source://json_matchers//lib/json_matchers/parser.rb#17
|
95
|
+
def schema_data; end
|
96
|
+
|
97
|
+
# Returns the value of attribute schema_path.
|
98
|
+
#
|
99
|
+
# source://json_matchers//lib/json_matchers/parser.rb#15
|
100
|
+
def schema_path; end
|
101
|
+
end
|
102
|
+
|
103
|
+
# source://json_matchers//lib/json_matchers/version.rb#2
|
104
|
+
JsonMatchers::VERSION = T.let(T.unsafe(nil), String)
|
105
|
+
|
106
|
+
# source://json_matchers//lib/json_matchers/validator.rb#4
|
107
|
+
class JsonMatchers::Validator
|
108
|
+
# @return [Validator] a new instance of Validator
|
109
|
+
#
|
110
|
+
# source://json_matchers//lib/json_matchers/validator.rb#5
|
111
|
+
def initialize(document_store:, schema_path:); end
|
112
|
+
|
113
|
+
# source://json_matchers//lib/json_matchers/validator.rb#10
|
114
|
+
def validate(payload); end
|
115
|
+
|
116
|
+
private
|
117
|
+
|
118
|
+
# source://json_matchers//lib/json_matchers/validator.rb#26
|
119
|
+
def build_json_schema_with_expanded_references; end
|
120
|
+
|
121
|
+
# Returns the value of attribute document_store.
|
122
|
+
#
|
123
|
+
# source://json_matchers//lib/json_matchers/validator.rb#20
|
124
|
+
def document_store; end
|
125
|
+
|
126
|
+
# source://json_matchers//lib/json_matchers/validator.rb#22
|
127
|
+
def json_schema; end
|
128
|
+
|
129
|
+
# Returns the value of attribute schema_path.
|
130
|
+
#
|
131
|
+
# source://json_matchers//lib/json_matchers/validator.rb#20
|
132
|
+
def schema_path; end
|
133
|
+
end
|