sheets_v4 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.commitlintrc.yml +16 -0
- data/.husky/commit-msg +1 -0
- data/.markdownlint.yml +1 -1
- data/.rubocop.yml +5 -35
- data/.yardopts +3 -1
- data/CHANGELOG.md +27 -0
- data/LICENSE.txt +1 -1
- data/README.md +102 -28
- data/Rakefile +2 -10
- data/examples/README.md +230 -47
- data/examples/create_spreadsheet +11 -0
- data/examples/{set_background_color → set_background_color1} +21 -8
- data/examples/set_background_color2 +11 -21
- data/lib/sheets_v4/color.rb +2 -2
- data/lib/sheets_v4/convert_dates_and_times.rb +0 -2
- data/lib/sheets_v4/google_extensions/sheet.rb +0 -1
- data/lib/sheets_v4/google_extensions/sheets_service.rb +0 -1
- data/lib/sheets_v4/google_extensions/spreadsheet.rb +0 -1
- data/lib/sheets_v4/version.rb +1 -1
- data/lib/sheets_v4.rb +0 -36
- data/package.json +11 -0
- metadata +65 -22
- data/lib/sheets_v4/api_object_validation/load_schemas.rb +0 -155
- data/lib/sheets_v4/api_object_validation/resolve_schema_ref.rb +0 -72
- data/lib/sheets_v4/api_object_validation/traverse_object_tree.rb +0 -82
- data/lib/sheets_v4/api_object_validation/validate_api_object.rb +0 -87
- data/lib/sheets_v4/validate_api_objects/validate_api_object.rb +0 -87
- data/lib/sheets_v4/validate_api_objects.rb +0 -20
@@ -1,20 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
module SheetsV4
|
4
|
-
# Validate API Objects against the Google Discovery API
|
5
|
-
#
|
6
|
-
# @example
|
7
|
-
# logger = Logger.new(STDOUT, :level => Logger::ERROR)
|
8
|
-
# schema_name = 'batch_update_spreadsheet_request'
|
9
|
-
# object = { 'requests' => [] }
|
10
|
-
# SheetsV4::ApiObjectValidation::ValidateApiObject.new(logger:).call(schema_name:, object:)
|
11
|
-
#
|
12
|
-
# @api public
|
13
|
-
#
|
14
|
-
module ApiObjectValidation; end
|
15
|
-
end
|
16
|
-
|
17
|
-
require_relative 'api_object_validation/load_schemas'
|
18
|
-
require_relative 'api_object_validation/resolve_schema_ref'
|
19
|
-
require_relative 'api_object_validation/traverse_object_tree'
|
20
|
-
require_relative 'api_object_validation/validate_api_object'
|