record_store 7.1.1 → 8.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/record_store/provider/cloudflare/client.rb +4 -3
- data/lib/record_store/provider/cloudflare.rb +0 -1
- data/lib/record_store/version.rb +1 -1
- data/template/secrets.json +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 773a737dfea1f6ce9646d4b7f8df8358e85b1cf1438f2240ef5609665067dfa6
|
4
|
+
data.tar.gz: 8c0cd658784c649b77b6a19df3b7ec4661ad63aeaf5c17dddb5c8166a2c422a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 62c5ac81796346237199606dbf041a3186ba20d59a3d6e0910548f1e0a5f2ac14fe4b1cdbe8be99c85422c533209b094d8eb14d2d156b661a19f40f5787f0098
|
7
|
+
data.tar.gz: 216ded77496c797639e54305d23136a867b2709919fbe38fe78c9d28ccf4557aeaf22b2ecb773ca135f0ea079c5caa8e63d1f613dbc564fa9453ff9427942656
|
data/CHANGELOG.md
CHANGED
@@ -3,8 +3,9 @@ require_relative 'response'
|
|
3
3
|
|
4
4
|
module Cloudflare
|
5
5
|
class Client
|
6
|
-
|
7
|
-
|
6
|
+
API_FQDN = 'api.cloudflare.com'.freeze
|
7
|
+
|
8
|
+
def initialize(api_token)
|
8
9
|
@api_token = api_token
|
9
10
|
end
|
10
11
|
|
@@ -88,7 +89,7 @@ module Cloudflare
|
|
88
89
|
|
89
90
|
def build_uri(endpoint, params = {})
|
90
91
|
URI::HTTPS.build(
|
91
|
-
host:
|
92
|
+
host: API_FQDN,
|
92
93
|
path: endpoint.chomp('/'),
|
93
94
|
query: URI.encode_www_form(params),
|
94
95
|
)
|
data/lib/record_store/version.rb
CHANGED
data/template/secrets.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: record_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 8.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Willem van Bergen
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-10-
|
12
|
+
date: 2024-10-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activemodel
|