userbin 1.4.5 → 1.4.6

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: f367af0c57b5edaa0443e6e37e560472a6431f5e
4
- data.tar.gz: cbbc6c93b8fdf855f9070a2fcc37f76c77fb13c0
3
+ metadata.gz: 6c40c4ccf07102c60c287a9fdc9c833355a36dec
4
+ data.tar.gz: 03b447d4208fe3dba8558bf945efa15ce9806c19
5
5
  SHA512:
6
- metadata.gz: 64b75883f0dfe265c713bfd79586f56a31bb749d868a7cc4e43255a4414722563bcf00b94011ad28e42059a8be0422b9ae655a3c384801e6d29963ea45a8f407
7
- data.tar.gz: 799a4a02bc3cad2fdb6644877aae612f8536821223a1787450450c1007895a3f829c82f9587a9e1ad43ff9c3df1b7075f5cfb98ed92df8cb11012445641ba231
6
+ metadata.gz: 803533d561e23e4415d7b7510bf933eb335dd427d3b10d7e9e44beaaf547cb92eb70dedd35cf10ae7d80343ab1978a4f124a757bc4e957f1117a323b5e650edc
7
+ data.tar.gz: f7dd0954673aecae7967d8948fbd0cd2030347921ca88b20d9fb51b70c1ed5191b94fce1787f84d0facb5da8df13a852b3624b324ffccca299e46247e4e680fe
@@ -21,7 +21,7 @@ module Userbin
21
21
  # Remove the auto-generated embedded User model to prevent recursion
22
22
  def to_json
23
23
  attrs = attributes
24
- if attrs['user'] && attrs['user']['id'] == 'current'
24
+ if attrs['user'] && attrs['user']['id'] == '$current'
25
25
  attrs.delete 'user'
26
26
  end
27
27
  attrs.to_json
@@ -1,3 +1,3 @@
1
1
  module Userbin
2
- VERSION = "1.4.5"
2
+ VERSION = "1.4.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userbin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.5
4
+ version: 1.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johan