docker_distribution 0.1.0 → 0.1.1
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
- metadata +18 -29
- data/.rubocop.yml +0 -27
- data/CHANGELOG.md +0 -5
- data/CODE_OF_CONDUCT.md +0 -84
- data/Dockerfile +0 -12
- data/Gemfile +0 -19
- data/Gemfile.lock +0 -60
- data/LICENSE.txt +0 -21
- data/Makefile +0 -9
- data/README.md +0 -108
- data/Rakefile +0 -16
- data/docker-compose.yml +0 -26
- data/lib/docker_distribution/canonical_reference.rb +0 -32
- data/lib/docker_distribution/digest.rb +0 -50
- data/lib/docker_distribution/digest_reference.rb +0 -19
- data/lib/docker_distribution/digest_set.rb +0 -83
- data/lib/docker_distribution/errors.rb +0 -30
- data/lib/docker_distribution/helpers.rb +0 -62
- data/lib/docker_distribution/normalize.rb +0 -125
- data/lib/docker_distribution/reference.rb +0 -178
- data/lib/docker_distribution/regexp.rb +0 -226
- data/lib/docker_distribution/repository.rb +0 -34
- data/lib/docker_distribution/tagged_reference.rb +0 -32
- data/lib/docker_distribution/version.rb +0 -5
- data/lib/docker_distribution.rb +0 -47
- data/sig/docker_distribution.rbs +0 -4
data/lib/docker_distribution.rb
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
# Grammar
|
|
4
|
-
#
|
|
5
|
-
# reference := name [ ":" tag ] [ "@" digest ]
|
|
6
|
-
# name := [domain '/'] path-component ['/' path-component]*
|
|
7
|
-
# domain := host [':' port-number]
|
|
8
|
-
# host := domain-name | IPv4address | \[ IPv6address \] ; rfc3986 appendix-A
|
|
9
|
-
# domain-name := domain-component ['.' domain-component]*
|
|
10
|
-
# domain-component := /([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9])/
|
|
11
|
-
# port-number := /[0-9]+/
|
|
12
|
-
# path-component := alpha-numeric [separator alpha-numeric]*
|
|
13
|
-
# alpha-numeric := /[a-z0-9]+/
|
|
14
|
-
# separator := /[_.]|__|[-]*/
|
|
15
|
-
#
|
|
16
|
-
# tag := /[\w][\w.-]{0,127}/
|
|
17
|
-
#
|
|
18
|
-
# digest := digest-algorithm ":" digest-hex
|
|
19
|
-
# digest-algorithm := digest-algorithm-component [ digest-algorithm-separator digest-algorithm-component ]*
|
|
20
|
-
# digest-algorithm-separator := /[+.-_]/
|
|
21
|
-
# digest-algorithm-component := /[A-Za-z][A-Za-z0-9]*/
|
|
22
|
-
# digest-hex := /[0-9a-fA-F]{32,}/ ; At least 128 bit digest value
|
|
23
|
-
#
|
|
24
|
-
# identifier := /[a-f0-9]{64}/
|
|
25
|
-
# short-identifier := /[a-f0-9]{6,64}/
|
|
26
|
-
|
|
27
|
-
require "forwardable"
|
|
28
|
-
|
|
29
|
-
require_relative "docker_distribution/version"
|
|
30
|
-
require_relative "docker_distribution/errors"
|
|
31
|
-
require_relative "docker_distribution/helpers"
|
|
32
|
-
|
|
33
|
-
require_relative "docker_distribution/digest"
|
|
34
|
-
require_relative "docker_distribution/digest_set"
|
|
35
|
-
|
|
36
|
-
require_relative "docker_distribution/regexp"
|
|
37
|
-
require_relative "docker_distribution/repository"
|
|
38
|
-
require_relative "docker_distribution/reference"
|
|
39
|
-
require_relative "docker_distribution/tagged_reference"
|
|
40
|
-
require_relative "docker_distribution/canonical_reference"
|
|
41
|
-
require_relative "docker_distribution/digest_reference"
|
|
42
|
-
require_relative "docker_distribution/normalize"
|
|
43
|
-
|
|
44
|
-
# Package reference provides a general type to represent any way of referencing images within the registry.
|
|
45
|
-
# Its main purpose is to abstract tags and digests (content-addressable hash).
|
|
46
|
-
module DockerDistribution
|
|
47
|
-
end
|
data/sig/docker_distribution.rbs
DELETED