incline 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/incline/extensions/action_controller_base.rb +1 -1
- data/lib/incline/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed1d941f9aee968075259fd6ef262d2f661c946c
|
4
|
+
data.tar.gz: 404a8a377663e2f32acc8b89170073923f912b45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea83722bfdd43e4734c439a817e3fe40fb1dea3190c648c24bf2bf46b90f19eede2b18d3802817bef653e018c1da892718f484b4e187edc20a3db15a15293afd
|
7
|
+
data.tar.gz: de58cc115a9687c445240c4e5f92992c3074110542a4a77f599fd6fcaea5107f18a0643acbd5c035ccda954a2fee4f251f5d3a6dc6d8aa6d40568ab87d3ab832
|
data/Gemfile.lock
CHANGED
@@ -344,7 +344,7 @@ module Incline::Extensions
|
|
344
344
|
# Redirects are generally bad when JSON data is requested.
|
345
345
|
# For instance a `create` request in JSON format should return data, not redirect to `show`.
|
346
346
|
def json_request? #:doc:
|
347
|
-
request.format.to_s
|
347
|
+
request.format.to_s =~ /^(application\/)?json$/i
|
348
348
|
end
|
349
349
|
|
350
350
|
##
|
data/lib/incline/version.rb
CHANGED