hanami-controller 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -1
- data/lib/hanami/action/cache/conditional_get.rb +4 -1
- data/lib/hanami/action/params.rb +1 -1
- data/lib/hanami/action/validatable.rb +1 -1
- data/lib/hanami/controller/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 546fec0f371e76fa6e8f494ed3b66fb75cc7250226ffdcdbe6e7c52cce953204
|
4
|
+
data.tar.gz: 82f4c7eca712806b6960f72eef8f62703008f45df342f6ad0ca83dffe232fe4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c36ec8f8f6b8ffca2ecafe33e4ed5b748578e0469368b2af6ba6b833cc334892d3b73bf555d8afc3c8c63d956a24a1b6ab13133f528f73aee855a084fb4b58af
|
7
|
+
data.tar.gz: ac75c0c499f36ad8d44f334028f6081843ad829b486e6e5787521167d1b5b48e5f9e2723b00641baea769619e8a9844ef4f5231251cbc7db023b1b39ecf84094
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Hanami::Controller
|
2
2
|
Complete, fast and testable actions for Rack
|
3
3
|
|
4
|
+
## v1.3.2 - 2019-06-28
|
5
|
+
### Fixed
|
6
|
+
- [Ian Ker-Seymer] Ensure `Etag` to work when `If-Modified-Since` is sent from browser and upstream proxy sets `Last-Modified` automatically.
|
7
|
+
|
4
8
|
## v1.3.1 - 2019-01-18
|
5
9
|
### Added
|
6
10
|
- [Luca Guidi] Official support for Ruby: MRI 2.6
|
data/README.md
CHANGED
@@ -14,11 +14,12 @@ Complete, fast and testable actions for Rack and [Hanami](http://hanamirb.org)
|
|
14
14
|
## Contact
|
15
15
|
|
16
16
|
* Home page: http://hanamirb.org
|
17
|
+
* Community: http://hanamirb.org/community
|
18
|
+
* Guides: https://guides.hanamirb.org
|
17
19
|
* Mailing List: http://hanamirb.org/mailing-list
|
18
20
|
* API Doc: http://rdoc.info/gems/hanami-controller
|
19
21
|
* Bugs/Issues: https://github.com/hanami/controller/issues
|
20
22
|
* Chat: http://chat.hanamirb.org
|
21
|
-
* Chat: https://gitter.im/hanami/chat
|
22
23
|
|
23
24
|
## Rubies
|
24
25
|
|
@@ -67,7 +67,10 @@ module Hanami
|
|
67
67
|
# @since 0.3.0
|
68
68
|
# @api private
|
69
69
|
def fresh?
|
70
|
-
|
70
|
+
return false if Hanami::Utils::Blank.blank?(modified_since)
|
71
|
+
return false if Hanami::Utils::Blank.blank?(@value)
|
72
|
+
|
73
|
+
Time.httpdate(modified_since).to_i >= @value.to_time.to_i
|
71
74
|
end
|
72
75
|
|
73
76
|
# @since 0.3.0
|
data/lib/hanami/action/params.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-controller
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.0.
|
166
|
+
rubygems_version: 3.0.3
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Complete, fast and testable actions for Rack and Hanami
|