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 +4 -4
- data/README.md +22 -0
- data/lib/jekyll-cloudflare-cache-purge/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 407298c109dee2cb933a044d5ec28ebf25ab2b279dbe1d581bcdd553a794ed31
|
4
|
+
data.tar.gz: a385f353586420b9d86fcca665e8864b69a62cb83dcab181020341de178c2338
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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`
|
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
|
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:
|
151
|
+
version: '0'
|
150
152
|
requirements: []
|
151
153
|
rubygems_version: 3.0.3.1
|
152
154
|
signing_key:
|