userializer 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 8a65bbb3588ee0622367f1608e43a9cb2707aabe795a9a157d7bcde9dafb2f34
4
- data.tar.gz: 2975d18cf3e0339dd2bc8edadb15032b51bec0ffeaa36dcaca388639cb6a39ba
3
+ metadata.gz: 005acb6633b44efdcba248bb884d037db223f4fcd214922d0b3f652fc4e31bea
4
+ data.tar.gz: 11297dd72a7cc9db42e90dc47567b66cbaea86ae511507fadc59bdef91e2d3ee
5
5
  SHA512:
6
- metadata.gz: 4e468875e4ec117cc91a1f5d28b405365f83860eb16dcc2891b476d36d42bf9a301dfb444b73d1bd368b936387f888a335a657cc0ace1516aa398828b998ef2c
7
- data.tar.gz: fbfc94e37007f96725db4c6bdca4ade1f1325b60968a5aa4a5f6fdb98911ff30db45a900da0bad89b5d0671412262787588e9a563e7872363ea584c902b7b040
6
+ metadata.gz: aed7569fce17d28d3f8d774487ce0743c4e5b11d4a90d41f077b52efe6013ced67e1eef9e8c4d10435a309a62a69beefdc1736571b1859b4af99a9783a2c1519
7
+ data.tar.gz: ec13d1091403bce5a7d9b87a5f10e27e6f98494795117501fdf5155642c9f2ed802dc015ae4a5c46b5c125831572350d8ed923696b49b4dad9dadd37e08215d4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- userializer (0.1.1)
4
+ userializer (0.1.2)
5
5
  activesupport
6
6
  oj
7
7
 
data/lib/userializer.rb CHANGED
@@ -7,7 +7,7 @@ module USerializer
7
7
 
8
8
  class << self
9
9
  def serializer_for(obj)
10
- return nil if kls.nil?
10
+ return nil if obj.nil?
11
11
 
12
12
  infered_serializer_class(obj.class)
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module USerializer
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: userializer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexis Montagne