jekyll-cloudflare-cache-purge 0.0.1.pre.rc3 → 1.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: 1e6c5226bfb21d9e21c68d041dc50b442d005375b7a0d533f2e0c4e47c8854de
4
- data.tar.gz: c1284f4e9aefb30b345bfb88d138921cfdb0c90b5a36370869190c20d4b6d236
3
+ metadata.gz: 407298c109dee2cb933a044d5ec28ebf25ab2b279dbe1d581bcdd553a794ed31
4
+ data.tar.gz: a385f353586420b9d86fcca665e8864b69a62cb83dcab181020341de178c2338
5
5
  SHA512:
6
- metadata.gz: 8121aad238c3881fb072421bfb4a51d9fbe3a3bab4a0c58fecb322e6dc59700f0a338752a8019077018b7702c1a0a6a4aed19cfe1d6b819a2e9d999bdbacc864
7
- data.tar.gz: cef3cd6c11af98c5b352ac5ff3c6f9b57df49e6168e4dfe319ad9b293ced4d4abff894fb2bbe37d36d8f0cfb7ecfe8297e2596993ea5ff934d13c2013e647845
6
+ metadata.gz: b6b54fd7780ea90f29efef7a630b9cfc201b12656103a3927a46c4255e2d772371afb05369377e09dd1a56087e47385dfcd892e2a3a3f80bf62eb4c1ce184995
7
+ data.tar.gz: 0f6df5649f865a5199040bbb74b4ab7d409e8e0aa93029cd918d4a890b5fbd69d225159669a6d23f8ff33265694b046ee503dd08104b7f5c0af229eb9430b6fe
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # jekyll-cloudflare-cache-purge
2
+
3
+ Sends a request to cloudflare once jekyll has finished building your sire to
4
+ clear the cache there.
5
+
6
+ ## Usage
7
+
8
+ Add the following to your site's `Gemfile`
9
+
10
+ ```
11
+ gem 'jekyll-cloudflare-cache-purge'
12
+ ```
13
+
14
+ Define two env vars on the system that builds and hosts your blog:
15
+
16
+ ```
17
+ CLOUDFLARE_ZONE="<Get this value from your CF dashboard>"
18
+ CLOUDFLARE_API_TOKEN="<Create an api key just for purging the cache in CF>"
19
+ ```
20
+
21
+ Once your blog has built, you should see a line appear in the build output that
22
+ reads `Cloudflare Cache: Purged`
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module CloudflareCachePurge
5
- VERSION = "0.0.1-rc3"
5
+ VERSION = "1.0.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-cloudflare-cache-purge
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.rc3
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Hall
@@ -125,8 +125,10 @@ email:
125
125
  - matt@codebeef.com
126
126
  executables: []
127
127
  extensions: []
128
- extra_rdoc_files: []
128
+ extra_rdoc_files:
129
+ - README.md
129
130
  files:
131
+ - README.md
130
132
  - lib/jekyll-cloudflare-cache-purge.rb
131
133
  - lib/jekyll-cloudflare-cache-purge/version.rb
132
134
  homepage: https://github.com/codebeef/jekyll-cloudflare-cache-purge
@@ -144,9 +146,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
146
  version: 2.5.0
145
147
  required_rubygems_version: !ruby/object:Gem::Requirement
146
148
  requirements:
147
- - - ">"
149
+ - - ">="
148
150
  - !ruby/object:Gem::Version
149
- version: 1.3.1
151
+ version: '0'
150
152
  requirements: []
151
153
  rubygems_version: 3.0.3.1
152
154
  signing_key: