her_cache_unmodified 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: ed59eaf5b09dbe51aebc2addc6f9981e88dfd5ef
4
- data.tar.gz: 9aedc4e34ebcfa4de6485fa9364119833ee1ae18
3
+ metadata.gz: cf4eb4f973cabd931999436fe01836d90c97b77d
4
+ data.tar.gz: c0986d847ef4047ef34ef3b3fc93c4a10930fe8f
5
5
  SHA512:
6
- metadata.gz: 0721716fb987d6eb29636034b3ed57115386ccf226815aadc93214782c0a52a5443a5a74580b1979b0e5e12e7e70296156d88e86970e64f18df62524320f04ed
7
- data.tar.gz: 6d2fb771b5ead2d81458886a5e621b11d7ec6d4f5077af4d930ab02925d2572929fe09aee39715308a3c13e6f9323edd33212ad5fee19ebeee70d16e2811ba7d
6
+ metadata.gz: c8afa615998b33abf917a5777dbfeeac47ceb3e9b1074be2bafc1e3de57d925526557fe96c88c676b0cbc839eb14234a80832f3b7012a3b235f6495e8263be22
7
+ data.tar.gz: 1085c524c27a7edf5f51fc831ed975f575407c3e375c1f9990235edc828a47d624ac9738a775a0f2d25b4ed7e51652c8699814fefb9eaf2c12540c7b42967c68
data/README.md CHANGED
@@ -13,7 +13,7 @@ At the very begonning you have to include this middleware to `Her`
13
13
  ...
14
14
  Her::API.new.setup do |connection|
15
15
  ...
16
- connection.use HerCacheUnmodified
16
+ connection.use Her::Middleware::CacheUnmodified
17
17
  end
18
18
  ```
19
19
 
@@ -14,7 +14,7 @@
14
14
  # render body: nil, status: 304
15
15
  # end
16
16
  # end
17
- class HerCacheUnmodified < Faraday::Middleware
17
+ class Her::Middleware::CacheUnmodified < Faraday::Middleware
18
18
  SAVE_METHODS = [:get, :head].freeze
19
19
 
20
20
  attr_reader :cache, :options
@@ -1,3 +1,3 @@
1
1
  module HerCacheUnmodified
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: her_cache_unmodified
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kvokka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-02 00:00:00.000000000 Z
11
+ date: 2017-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: her