tramway-api 1.6.0.2 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/tramway/api/v1/users_controller.rb +2 -1
- data/lib/tramway/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b920c83657545239444937c65c0eabe7ac496eb20d1063814f2da5f337ef072f
|
4
|
+
data.tar.gz: e19dc84bf0d4039043c07dd8ce8471b80230c7ab93b7180281af10c435881da3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a15fafcb20310c90fda6e53f51160c8258705d54eb61dc91038fd155e29f87446891ea9aa8cbb3dd3bef60c7afbb1b4a5285bb0d9e506e708b4c60a433ce5687
|
7
|
+
data.tar.gz: 238a0d0f3d1213064f3665e03358e56b3a3a5c64cf789f958b30e8c5f5e8e4746cce3e5233f4a78353bb35a6f04c07c6ec5d0516b82e63d4c3e24df1b243d6aa
|
@@ -15,7 +15,8 @@ class Tramway::Api::V1::UsersController < ::Tramway::Api::V1::ApplicationControl
|
|
15
15
|
serialized_user = OpenStruct.new(
|
16
16
|
user_form.model.attributes.merge(
|
17
17
|
authentication_token: token,
|
18
|
-
|
18
|
+
uid: user_form.model.uid,
|
19
|
+
id: user_form.model.id
|
19
20
|
)
|
20
21
|
)
|
21
22
|
render json: serialized_user, status: :created
|
data/lib/tramway/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_model_serializers
|