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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a94ec96903e9723de8176769d1ca3fa0a3d51fda907b6d53b17b7ad163cb73b0
4
- data.tar.gz: 73d08b577e5c0bbd77d8f79afec19cb407882c03c6775aefa2da37ced0e60f22
3
+ metadata.gz: 966bf25156f0cedddd418a9b070227eb819e128984175fe2da2aaca46189da7a
4
+ data.tar.gz: 2da3f8e7083bc2534ef799125b57294521030581724dd6247327f8fb93b47195
5
5
  SHA512:
6
- metadata.gz: 521bc18990e5dd9d733da59353377385d95dc9c7e3d3342a9e79ff6dde48fa07ccc91be13420456fd4fc823c1bfdd92e1b1c20187cc9b76e7b1be865edc9415b
7
- data.tar.gz: 76e763b2a0ad7614217b214ff19521af5c75b6ccfe4235a09450ce0878499632e32d172149fe6e1b855d90ff6db71b4338173ed3ff7e562bdeab38551280d893
6
+ metadata.gz: de912a3e2901d8f4d70caf78fe489789953100b0afa83b19743ab9c648f3e7bf8674454a62db79d58e83163b7e9da54100ce01cb456a931de1380ac90ffb68e9
7
+ data.tar.gz: a36444251a1c61347f2c5990ac9ba749002cbba09e62be188a881a645ca30da4ddf43cbd8dbaadb77a3b421c57eabf5ced3789b45991d87c8ac9607da67eb8ea
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.3.4
1
+ 2.7.5
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.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 'dry-configurable', '~> 0.1'
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, 'https://api.cloudflare.com/client/v4/'
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.3.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: 2019-09-11 00:00:00.000000000 Z
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.1'
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.1'
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.0.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.