schema_dot_org 1.7.1 → 2.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 +4 -4
- data/Gemfile.lock +41 -43
- data/README.md +1 -1
- data/bin/tapioca +29 -0
- data/lib/schema_dot_org/aggregate_offer.rb +36 -0
- data/lib/schema_dot_org/contact_point.rb +31 -0
- data/lib/schema_dot_org/item_list.rb +37 -0
- data/lib/schema_dot_org/list_item.rb +30 -0
- data/lib/schema_dot_org/offer.rb +29 -0
- data/lib/schema_dot_org/organization.rb +22 -14
- data/lib/schema_dot_org/person.rb +10 -5
- data/lib/schema_dot_org/place.rb +0 -2
- data/lib/schema_dot_org/product.rb +37 -0
- data/lib/schema_dot_org/schema_type.rb +67 -0
- data/lib/schema_dot_org/search_action.rb +0 -2
- data/lib/schema_dot_org/web_site.rb +3 -6
- data/lib/schema_dot_org.rb +18 -55
- data/schema_dot_org.gemspec +6 -8
- data/test-script.rb +1 -4
- metadata +21 -60
- data/run-script +0 -2
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/activemodel.rbi +0 -262
- data/sorbet/rbi/gems/activesupport.rbi +0 -912
- data/sorbet/rbi/gems/concurrent-ruby.rbi +0 -1590
- data/sorbet/rbi/gems/i18n.rbi +0 -133
- data/sorbet/rbi/gems/rake.rbi +0 -644
- data/sorbet/rbi/gems/rspec-core.rbi +0 -1872
- data/sorbet/rbi/gems/rspec-expectations.rbi +0 -1123
- data/sorbet/rbi/gems/rspec-mocks.rbi +0 -1090
- data/sorbet/rbi/gems/rspec-support.rbi +0 -280
- data/sorbet/rbi/gems/rspec.rbi +0 -15
- data/sorbet/rbi/gems/thread_safe.rbi +0 -82
- data/sorbet/rbi/gems/tzinfo.rbi +0 -408
- data/sorbet/rbi/gems/validated_object.rbi +0 -60
- data/sorbet/rbi/sorbet-typed/lib/activemodel/all/activemodel.rbi +0 -597
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +0 -36
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +0 -1431
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +0 -108
data/sorbet/rbi/gems/i18n.rbi
DELETED
@@ -1,133 +0,0 @@
|
|
1
|
-
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
-
# srb rbi gems
|
3
|
-
|
4
|
-
# typed: strict
|
5
|
-
#
|
6
|
-
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
-
#
|
8
|
-
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/i18n/all/i18n.rbi
|
9
|
-
#
|
10
|
-
# i18n-1.8.5
|
11
|
-
|
12
|
-
module I18n
|
13
|
-
def self.interpolate(string, values); end
|
14
|
-
def self.interpolate_hash(string, values); end
|
15
|
-
def self.new_double_nested_cache; end
|
16
|
-
extend I18n::Base
|
17
|
-
end
|
18
|
-
class I18n::ExceptionHandler
|
19
|
-
def call(exception, _locale, _key, _options); end
|
20
|
-
end
|
21
|
-
class I18n::ArgumentError < ArgumentError
|
22
|
-
end
|
23
|
-
class I18n::Disabled < I18n::ArgumentError
|
24
|
-
def initialize(method); end
|
25
|
-
end
|
26
|
-
class I18n::InvalidLocale < I18n::ArgumentError
|
27
|
-
def initialize(locale); end
|
28
|
-
def locale; end
|
29
|
-
end
|
30
|
-
class I18n::InvalidLocaleData < I18n::ArgumentError
|
31
|
-
def filename; end
|
32
|
-
def initialize(filename, exception_message); end
|
33
|
-
end
|
34
|
-
class I18n::MissingTranslation < I18n::ArgumentError
|
35
|
-
include I18n::MissingTranslation::Base
|
36
|
-
end
|
37
|
-
module I18n::MissingTranslation::Base
|
38
|
-
def initialize(locale, key, options = nil); end
|
39
|
-
def key; end
|
40
|
-
def keys; end
|
41
|
-
def locale; end
|
42
|
-
def message; end
|
43
|
-
def options; end
|
44
|
-
def to_exception; end
|
45
|
-
def to_s; end
|
46
|
-
end
|
47
|
-
class I18n::MissingTranslationData < I18n::ArgumentError
|
48
|
-
include I18n::MissingTranslation::Base
|
49
|
-
end
|
50
|
-
class I18n::InvalidPluralizationData < I18n::ArgumentError
|
51
|
-
def count; end
|
52
|
-
def entry; end
|
53
|
-
def initialize(entry, count, key); end
|
54
|
-
def key; end
|
55
|
-
end
|
56
|
-
class I18n::MissingInterpolationArgument < I18n::ArgumentError
|
57
|
-
def initialize(key, values, string); end
|
58
|
-
def key; end
|
59
|
-
def string; end
|
60
|
-
def values; end
|
61
|
-
end
|
62
|
-
class I18n::ReservedInterpolationKey < I18n::ArgumentError
|
63
|
-
def initialize(key, string); end
|
64
|
-
def key; end
|
65
|
-
def string; end
|
66
|
-
end
|
67
|
-
class I18n::UnknownFileType < I18n::ArgumentError
|
68
|
-
def filename; end
|
69
|
-
def initialize(type, filename); end
|
70
|
-
def type; end
|
71
|
-
end
|
72
|
-
module I18n::Base
|
73
|
-
def available_locales; end
|
74
|
-
def available_locales=(value); end
|
75
|
-
def available_locales_initialized?; end
|
76
|
-
def backend; end
|
77
|
-
def backend=(value); end
|
78
|
-
def config; end
|
79
|
-
def config=(value); end
|
80
|
-
def default_locale; end
|
81
|
-
def default_locale=(value); end
|
82
|
-
def default_separator; end
|
83
|
-
def default_separator=(value); end
|
84
|
-
def eager_load!; end
|
85
|
-
def enforce_available_locales!(locale); end
|
86
|
-
def enforce_available_locales; end
|
87
|
-
def enforce_available_locales=(value); end
|
88
|
-
def exception_handler; end
|
89
|
-
def exception_handler=(value); end
|
90
|
-
def exists?(key, _locale = nil, locale: nil, **options); end
|
91
|
-
def handle_exception(handling, exception, locale, key, options); end
|
92
|
-
def l(object, locale: nil, format: nil, **options); end
|
93
|
-
def load_path; end
|
94
|
-
def load_path=(value); end
|
95
|
-
def locale; end
|
96
|
-
def locale=(value); end
|
97
|
-
def locale_available?(locale); end
|
98
|
-
def localize(object, locale: nil, format: nil, **options); end
|
99
|
-
def normalize_key(key, separator); end
|
100
|
-
def normalize_keys(locale, key, scope, separator = nil); end
|
101
|
-
def reload!; end
|
102
|
-
def t!(key, options = nil); end
|
103
|
-
def t(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
|
104
|
-
def translate!(key, options = nil); end
|
105
|
-
def translate(key = nil, *arg1, throw: nil, raise: nil, locale: nil, **options); end
|
106
|
-
def transliterate(key, *arg1, throw: nil, raise: nil, locale: nil, replacement: nil, **options); end
|
107
|
-
def with_locale(tmp_locale = nil); end
|
108
|
-
end
|
109
|
-
class I18n::Config
|
110
|
-
def available_locales; end
|
111
|
-
def available_locales=(locales); end
|
112
|
-
def available_locales_initialized?; end
|
113
|
-
def available_locales_set; end
|
114
|
-
def backend; end
|
115
|
-
def backend=(backend); end
|
116
|
-
def clear_available_locales_set; end
|
117
|
-
def default_locale; end
|
118
|
-
def default_locale=(locale); end
|
119
|
-
def default_separator; end
|
120
|
-
def default_separator=(separator); end
|
121
|
-
def enforce_available_locales; end
|
122
|
-
def enforce_available_locales=(enforce_available_locales); end
|
123
|
-
def exception_handler; end
|
124
|
-
def exception_handler=(exception_handler); end
|
125
|
-
def interpolation_patterns; end
|
126
|
-
def interpolation_patterns=(interpolation_patterns); end
|
127
|
-
def load_path; end
|
128
|
-
def load_path=(load_path); end
|
129
|
-
def locale; end
|
130
|
-
def locale=(locale); end
|
131
|
-
def missing_interpolation_argument_handler; end
|
132
|
-
def missing_interpolation_argument_handler=(exception_handler); end
|
133
|
-
end
|