no-cache 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/no-cache.rb +1 -1
- data/lib/no-cache/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02f0bab92248ee169fe36451223e65288aa5329501a6afea3a7ceb5e2b142b53
|
4
|
+
data.tar.gz: 5f1a4bedf0a9686046a56f0a30077a0b456394cf8b5d4a62ac6d0477fe6b1375
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3be96bb79091c9c46cd535fe3dd138f18eb82b62468716d8933a0393bcae76e19e999ebe47d57bf49b4570dab6a2cdc84b3e90073b435c9d37fd265f6c20f79
|
7
|
+
data.tar.gz: 70d7db22fe3a66d1ca327feda0cc758227f9fe48a608a3d4633ab2a77aa908e2ab88877a39d66cc8da2e29b6551eaf6f1be2e1242355c948e04b0d977aad3aa9
|
data/lib/no-cache.rb
CHANGED
@@ -5,7 +5,7 @@ module NoCache
|
|
5
5
|
HEADERS = {
|
6
6
|
"Cache-Control" => "private, no-store, no-cache, max-age=0, must-revalidate, post-check=0, pre-check=0",
|
7
7
|
"Pragma" => "no-cache",
|
8
|
-
"Expires" => "
|
8
|
+
"Expires" => "Thu, 01 Jan 1970 00:00:00 GMT"
|
9
9
|
}.freeze
|
10
10
|
|
11
11
|
class << self
|
data/lib/no-cache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: no-cache
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yaroslav Konoplov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A gem providing way to make HTTP clients stop caching responses.
|
14
14
|
email: eahome00@gmail.com
|
@@ -42,8 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
|
-
|
46
|
-
rubygems_version: 2.7.6
|
45
|
+
rubygems_version: 3.1.2
|
47
46
|
signing_key:
|
48
47
|
specification_version: 4
|
49
48
|
summary: Disable HTTP cache in Rails.
|