usman 0.3.7 → 0.3.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: 479e1edd33576baf3784bcecc8165178e3c1da93
|
4
|
+
data.tar.gz: 34e9499b5fcf9ce47220b6eb8fc007b13860029d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f146961b5e325920447f76b33fb9bb1b00cc1791db67e02106ebe90b2dceb4d14e7a5649d0378e6230655567f49d94efbe55d8709aed06db21909f230fbd97fe
|
7
|
+
data.tar.gz: f1b73771b7cf1493af891b1928e88bd5aedae0c56e7d389f5da7795e46762ba896f36768bbc280461e9c22d1c7fb62857c9478977a4e1b465465bdcec8712cfd
|
@@ -1,6 +1,6 @@
|
|
1
1
|
class ProfileSerializer < ActiveModel::Serializer
|
2
2
|
include NullAttributeReplacer
|
3
|
-
attributes :id, :name, :gender, :date_of_birth, :username, :email, :phone
|
3
|
+
attributes :id, :name, :gender, :date_of_birth, :username, :email, :phone, :dummy
|
4
4
|
|
5
5
|
has_one :profile_picture, class_name: "Image::ProfilePicture", serializer: ProfilePictureSerializer
|
6
6
|
end
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<% end %>
|
27
27
|
</th>
|
28
28
|
|
29
|
-
<td class="device-name" style="font-weight:bold;"><%= link_to device.uuid, registration_device_path(device), remote: true %></td>
|
29
|
+
<td class="device-name" style="font-weight:bold;"><%= link_to device.uuid, registration_device_path(registration_id: device.registration_id, id: device.id), remote: true %></td>
|
30
30
|
<td>
|
31
31
|
<% if device.pending? %>
|
32
32
|
<span class="ml-5 mt-5 label label-default">Pending</span>
|
data/lib/usman/version.rb
CHANGED