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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9f48a40d3262e148fff5aecff8c61e5f4f676bdc7f7bcb64e2964dc221ba078
4
- data.tar.gz: 48a44aa9fc8a431653d09c1c524bcfee73ea09e6148ae9ff0552110b7db51173
3
+ metadata.gz: 773a737dfea1f6ce9646d4b7f8df8358e85b1cf1438f2240ef5609665067dfa6
4
+ data.tar.gz: 8c0cd658784c649b77b6a19df3b7ec4661ad63aeaf5c17dddb5c8166a2c422a0
5
5
  SHA512:
6
- metadata.gz: cb623045bb1b2db82232eb037adaf05a13c234d9d82e760603075ec590b5528f2daeb6dfe1df28bd6cc1987ba379f8ee070547af3336bb11213651012d527f5b
7
- data.tar.gz: 73618a9cbae3b16028bcaa7dba64dda74e4324427fda3e364c7df0087ed72828f36965dae239bc0a2c37c1c7aece20950e0a0556a325e4cd10082e74c2da3429
6
+ metadata.gz: 62c5ac81796346237199606dbf041a3186ba20d59a3d6e0910548f1e0a5f2ac14fe4b1cdbe8be99c85422c533209b094d8eb14d2d156b661a19f40f5787f0098
7
+ data.tar.gz: 216ded77496c797639e54305d23136a867b2709919fbe38fe78c9d28ccf4557aeaf22b2ecb773ca135f0ea079c5caa8e63d1f613dbc564fa9453ff9427942656
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 8.0.0
4
+ - Remove api_fqdn from Cloudflare provider config
5
+
3
6
  ## 7.1.1
4
7
  - Bugfix: Cloudflare provider now handles empty record sets properly
5
8
 
@@ -3,8 +3,9 @@ require_relative 'response'
3
3
 
4
4
  module Cloudflare
5
5
  class Client
6
- def initialize(api_fqdn, api_token)
7
- @api_fqdn = api_fqdn
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: @api_fqdn,
92
+ host: API_FQDN,
92
93
  path: endpoint.chomp('/'),
93
94
  query: URI.encode_www_form(params),
94
95
  )
@@ -167,7 +167,6 @@ module RecordStore
167
167
 
168
168
  def client
169
169
  Cloudflare::Client.new(
170
- secrets['api_fqdn'],
171
170
  secrets['api_token'],
172
171
  )
173
172
  end
@@ -1,3 +1,3 @@
1
1
  module RecordStore
2
- VERSION = '7.1.1'.freeze
2
+ VERSION = '8.0.0'.freeze
3
3
  end
@@ -25,7 +25,6 @@
25
25
  "client_x509_cert_url": "client_x509_cert_url"
26
26
  },
27
27
  "cloudflare": {
28
- "api_fqdn": "api.cloudflare.com",
29
28
  "api_token": "local-dev-key"
30
29
  }
31
30
  }
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: 7.1.1
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-22 00:00:00.000000000 Z
12
+ date: 2024-10-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel