cloudflair 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/VERSION +1 -1
- data/cloudflair.gemspec +1 -2
- data/lib/cloudflair.rb +2 -2
- metadata +7 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 966bf25156f0cedddd418a9b070227eb819e128984175fe2da2aaca46189da7a
|
4
|
+
data.tar.gz: 2da3f8e7083bc2534ef799125b57294521030581724dd6247327f8fb93b47195
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de912a3e2901d8f4d70caf78fe489789953100b0afa83b19743ab9c648f3e7bf8674454a62db79d58e83163b7e9da54100ce01cb456a931de1380ac90ffb68e9
|
7
|
+
data.tar.gz: a36444251a1c61347f2c5990ac9ba749002cbba09e62be188a881a645ca30da4ddf43cbd8dbaadb77a3b421c57eabf5ced3789b45991d87c8ac9607da67eb8ea
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.4.0
|
data/cloudflair.gemspec
CHANGED
@@ -22,12 +22,11 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = %w[lib]
|
24
24
|
|
25
|
-
spec.add_runtime_dependency
|
25
|
+
spec.add_runtime_dependency "dry-configurable", "> 0.12"
|
26
26
|
spec.add_runtime_dependency 'faraday', '>= 0.10.0'
|
27
27
|
spec.add_runtime_dependency 'faraday-detailed_logger'
|
28
28
|
spec.add_runtime_dependency 'faraday_middleware'
|
29
29
|
|
30
|
-
spec.add_development_dependency 'bundler', '~> 2.0.0'
|
31
30
|
spec.add_development_dependency 'dotenv', '~> 2.1'
|
32
31
|
spec.add_development_dependency 'rake', '~> 12.0'
|
33
32
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
data/lib/cloudflair.rb
CHANGED
@@ -27,7 +27,7 @@ module Cloudflair
|
|
27
27
|
extend Dry::Configurable
|
28
28
|
|
29
29
|
setting :cloudflare do
|
30
|
-
setting :api_base_url,
|
30
|
+
setting :api_base_url, default: "https://api.cloudflare.com/client/v4/"
|
31
31
|
setting :auth do
|
32
32
|
setting :key
|
33
33
|
setting :email
|
@@ -36,7 +36,7 @@ module Cloudflair
|
|
36
36
|
end
|
37
37
|
|
38
38
|
setting :faraday do
|
39
|
-
setting :adapter, :net_http
|
39
|
+
setting :adapter, default: :net_http
|
40
40
|
setting :logger
|
41
41
|
end
|
42
42
|
end
|
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudflair
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christian Mäder
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.12'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.12'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: faraday
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,20 +66,6 @@ dependencies:
|
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: bundler
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: 2.0.0
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 2.0.0
|
83
69
|
- !ruby/object:Gem::Dependency
|
84
70
|
name: dotenv
|
85
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -258,7 +244,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
244
|
- !ruby/object:Gem::Version
|
259
245
|
version: '0'
|
260
246
|
requirements: []
|
261
|
-
rubygems_version: 3.
|
247
|
+
rubygems_version: 3.1.6
|
262
248
|
signing_key:
|
263
249
|
specification_version: 4
|
264
250
|
summary: Wrapper to CloudFlare's v4 REST API.
|