cloud_party 0.1.8 → 0.1.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7420fa2c42d6801e11409e4f80fd857fde0fbde1c03fbee011d7dc2c29b92535
4
- data.tar.gz: 929a90535e66420733ca0070b042f092721ab36f6ef252821dffb251e37d155a
3
+ metadata.gz: 7983badb0c10af6716c778a0d12dfe4882761e702a826a211226f948b9be08cb
4
+ data.tar.gz: 9d11aea7637c9da3748fa1f27252cdf47d962460af07193dc39e2b51f22c8981
5
5
  SHA512:
6
- metadata.gz: 443c6d4fd3e540e56b013d46165b7a530bb086533e77d119ce3e206d89f5b0656f7546dcb0a8c34b7fdcaf70cbf89191d20959ec24b4fcb09f5246cb7a6b89e2
7
- data.tar.gz: 40cffe6a2ec7cc7e689c558f5b514e2c43c3e0e4cca5ebc3dceed7126034b9a569bafae502903628dfae07e101cafbc7aa5770f3033873c6ea017434b637b92b
6
+ metadata.gz: aa641f43568a999d13ab9c7e3831d7f5a315a60d2a7c5b9889323e1ea6b6e42cef3c1892cd81e4374bfaafa7a7ce4ab928c06827fb8dc21a613762ed898b2b59
7
+ data.tar.gz: 26cdbdf71f0ee786e9382d89881f96d5b47479b028578f225b9fc6b3da9b5a63f4679bcb4136c84df0bea537a7c58a64489ba55d6c15e12c4f4c2374ed28535f
@@ -34,5 +34,6 @@ module CloudParty
34
34
  # @return [String] the cloudflare api token
35
35
  def token
36
36
  @token
37
+ end
37
38
  end
38
39
  end
@@ -8,7 +8,7 @@ module CloudParty
8
8
  include CloudParty::Context
9
9
  include HTTParty
10
10
  base_uri 'https://api.cloudflare.com/client/v4'
11
- headers 'Authorization' => "Bearer #{CloudParty::Config.token}",
11
+ headers 'Authorization' => "Bearer #{CloudParty::Config.new.token}",
12
12
  'Content-Type' => 'application/json',
13
13
  'User-Agent' => "CloudParty/#{CloudParty::VERSION}"
14
14
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CloudParty
4
- VERSION = '0.1.8'
4
+ VERSION = '0.1.10'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_party
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer