Module: Iglu

Defined in:
lib/iglu-client/version.rb,
lib/iglu-client/core.rb,
lib/iglu-client/resolver.rb,
lib/iglu-client/bootstrap.rb,
lib/iglu-client/registries.rb,
lib/iglu-client/self_describing_json.rb

Overview

Copyright © 2017 Snowplow Analytics Ltd. All rights reserved.

This program is licensed to you under the Apache License Version 2.0, and you may not use this file except in compliance with the Apache License Version 2.0. You may obtain a copy of the Apache License Version 2.0 at www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the Apache License Version 2.0 is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.

Defined Under Namespace

Modules: Registries Classes: IgluError, Resolver, SchemaKey, SchemaVer, SelfDescribingJson, SelfDescribingSchema

Constant Summary collapse

URI_REGEX =

Regular expression to extract metadata from self-describing JSON

Regexp.new "^iglu:([a-zA-Z0-9\\-_.]+)\/([a-zA-Z0-9\\-_]+)\/([a-zA-Z0-9\\-_]+)\/([1-9][0-9]*(?:-(?:0|[1-9][0-9]*)){2})$"
SCHEMAVER_REGEX =

Regular expression to extract all parts of SchemaVer: MODEL, REVISION, ADDITION

Regexp.new "^([1-9][0-9]*)-(0|[1-9][0-9]*)-(0|[1-9][0-9]*)$"
CLIENT_VERSION =
'0.2.0'