dps 0.0.1 → 0.0.2
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 +5 -5
- data/Gemfile.lock +1 -1
- data/README.md +14 -0
- data/lib/dps/dns.rb +1 -1
- data/lib/dps/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 5f49a40f255bb096899ff67412d4764bc9a14f496877128a3df44c0288800b36
|
|
4
|
+
data.tar.gz: 21b09284b7c311c89596e37bbcc73cd016de755697c04838cdc47ff0ebb6080b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55e2cd04730bc83b32ffc4debd33089cd2475bb67cc02f009e32ded6ab0a1743dcdda7621817965720dbea26365bc744caf97ecc73fee19fba04a0e898848380
|
|
7
|
+
data.tar.gz: 0a65ee7ec9648db6437de52912dbcdc475262a31d250516fb1ba96befb35b32666f98f7568336afe6635f8d7938808816eaec14126c94a53fab8d370d386cde8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -19,3 +19,17 @@ Or install it yourself as:
|
|
|
19
19
|
|
|
20
20
|
$ gem install dps
|
|
21
21
|
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
`get_endpoint` returns the DPS endpoint for a domain. E.g.
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
```ruby
|
|
29
|
+
DPS::DNS.get_endpoint('example.com')
|
|
30
|
+
|
|
31
|
+
# if `tworgy.com` has a DNS TXT record with the value 'dps:endpoint url=https://tworgy.com/dps'
|
|
32
|
+
|
|
33
|
+
DPS::DNS.get_endpoint('tworgy.com') # returns 'https://tworgy.com/dps'
|
|
34
|
+
```
|
|
35
|
+
|
data/lib/dps/dns.rb
CHANGED
data/lib/dps/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dps
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mat Holroyd
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-01-
|
|
11
|
+
date: 2019-01-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: dnsruby
|
|
@@ -105,8 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
105
|
- !ruby/object:Gem::Version
|
|
106
106
|
version: '0'
|
|
107
107
|
requirements: []
|
|
108
|
-
|
|
109
|
-
rubygems_version: 2.5.2.3
|
|
108
|
+
rubygems_version: 3.0.2
|
|
110
109
|
signing_key:
|
|
111
110
|
specification_version: 4
|
|
112
111
|
summary: DPS is a collection of tools to help interact with or implement a DPS server
|