mno-enterprise-api 2.0.7 → 2.0.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9bbedf880b5801893912c3bcfa910ada6a9f4001
|
4
|
+
data.tar.gz: 271ec6224edc1836feb3f78f6c341a8f499b3a3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17e4c60cacc94ad7fa2933356d02426b2479da37d95b576edc457549c2344cf374459dbcc2e8c910c09d4973487063931dab3463a478918eb961a2cc1b7102f3
|
7
|
+
data.tar.gz: b319c80b1260e09bc8f035e762366318f073dbd0771809a0d8ba03a0ec5d002f1ea6453def971a0d4be43a8f8821bcdb09d33810487799b17f7f9b6bbed21ccf
|
@@ -1,6 +1,6 @@
|
|
1
1
|
module MnoEnterprise
|
2
2
|
class Jpi::V1::Admin::AuditEventsController < Jpi::V1::Admin::BaseResourceController
|
3
|
-
|
3
|
+
|
4
4
|
# GET /mnoe/jpi/v1/admin/audit_events
|
5
5
|
def index
|
6
6
|
@audit_events = MnoEnterprise::AuditEvent
|
@@ -8,7 +8,7 @@ module MnoEnterprise
|
|
8
8
|
@audit_events = @audit_events.skip(params[:offset]) if params[:offset]
|
9
9
|
@audit_events = @audit_events.order_by(params[:order_by]) if params[:order_by]
|
10
10
|
@audit_events = @audit_events.where(params[:where]) if params[:where]
|
11
|
-
@audit_events = @audit_events.all
|
11
|
+
@audit_events = @audit_events.all.fetch
|
12
12
|
|
13
13
|
response.headers['X-Total-Count'] = @audit_events.metadata[:pagination][:count]
|
14
14
|
end
|
@@ -8,7 +8,7 @@ module MnoEnterprise
|
|
8
8
|
@organizations = @organizations.skip(params[:offset]) if params[:offset]
|
9
9
|
@organizations = @organizations.order_by(params[:order_by]) if params[:order_by]
|
10
10
|
@organizations = @organizations.where(params[:where]) if params[:where]
|
11
|
-
@organizations = @organizations.all
|
11
|
+
@organizations = @organizations.all.fetch
|
12
12
|
|
13
13
|
response.headers['X-Total-Count'] = @organizations.metadata[:pagination][:count]
|
14
14
|
end
|
@@ -8,7 +8,7 @@ module MnoEnterprise
|
|
8
8
|
@users = @users.skip(params[:offset]) if params[:offset]
|
9
9
|
@users = @users.order_by(params[:order_by]) if params[:order_by]
|
10
10
|
@users = @users.where(params[:where]) if params[:where]
|
11
|
-
@users = @users.all
|
11
|
+
@users = @users.all.fetch
|
12
12
|
|
13
13
|
response.headers['X-Total-Count'] = @users.metadata[:pagination][:count]
|
14
14
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mno-enterprise-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arnaud Lachaume
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-09
|
12
|
+
date: 2016-11-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: mno-enterprise-core
|
@@ -17,14 +17,14 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - '='
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 2.0.
|
20
|
+
version: 2.0.8
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '='
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version: 2.0.
|
27
|
+
version: 2.0.8
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: jbuilder
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|