apress-api 1.23.0 → 1.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/lib/apress/api/api_controller/authentification.rb +1 -1
- data/lib/apress/api/api_controller/rescue.rb +4 -0
- data/lib/apress/api/version.rb +1 -1
- data/spec/controllers/api_controller/authentification_spec.rb +2 -2
- data/spec/helpers/paginating_cache_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94df686686e25123a2ebb3730ea3c572a8c43043
|
4
|
+
data.tar.gz: 285221061f1816e795c6a256aaa071029ce942ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7febab7293f6b314c4ad4dd07061e659efa4c6b569e2466ed5370f9d7b6537ee68e2384dfe9c9aecbe8db6b273ab7ca86280595100561cba843972d2bbe189b
|
7
|
+
data.tar.gz: '09ba9c12e3a7f968422c13d90e8b6a6094c5f7d7d7c5cbe9c3267edb5d763c1b92a35104652e3c9f9c185c5404c5d620a875210b0bdc41fdf3e354fd859a4138'
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
# v1.24.0
|
2
|
+
|
3
|
+
* 2019-09-19 [46e6337](../../commit/46e6337) - __(Andrew N. Shalaev)__ Release v1.24.0
|
4
|
+
* 2019-09-19 [d2ec039](../../commit/d2ec039) - __(Andrew N. Shalaev)__ fix: send 401 Unathorized instead 403
|
5
|
+
https://jira.railsc.ru/browse/BPC-15268
|
6
|
+
|
1
7
|
# v1.23.0
|
2
8
|
|
3
|
-
* 2018-10-01 [c235b5e](../../commit/c235b5e) - __(Artem Napolskih)__ Release 1.23.0
|
4
9
|
* 2018-10-01 [d0e5a8e](../../commit/d0e5a8e) - __(Artem Napolskih)__ feat: adds ability to configure root page
|
5
10
|
|
6
11
|
# v1.22.1
|
data/lib/apress/api/version.rb
CHANGED
@@ -28,9 +28,9 @@ describe Apress::Api::ApiController::Base, type: :controller do
|
|
28
28
|
context "when auth failed" do
|
29
29
|
let(:auth_service) { double("auth_service", call: false, client: nil) }
|
30
30
|
|
31
|
-
it "returns
|
31
|
+
it "returns 401" do
|
32
32
|
get :index
|
33
|
-
expect(response.status).to eq
|
33
|
+
expect(response.status).to eq 401
|
34
34
|
expect(controller.current_api_client).to be nil
|
35
35
|
end
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: apress-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- merkushin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-09-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|