super_serialize 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01254fd121b5bf30f21b30dd2bb7d329062ab3ad
4
- data.tar.gz: 1668b86851ce4ee14cc1f1dfbe7f43e499d03831
3
+ metadata.gz: 3c13e473a8158e45546f4e091cbb1148315ef3ff
4
+ data.tar.gz: 48e691747ef546efe4200537dea1844be5a905ce
5
5
  SHA512:
6
- metadata.gz: dfaa42965678265d3c49fbc3371026303a02d2144977ae6929ea03f2e13608014924a354faeb63a7d0fa6d55f3677e3e71db35f856e23c40fb071fa9e4e3c170
7
- data.tar.gz: de8170e42aea84ecfdff16a9813e949e4833bde4169649121204818816be558c4821f07530d9276e48371505fa809a072dc84ef3fc454bded5676ec36bbaee25
6
+ metadata.gz: 05073614227e94a79410c0caf53637f3b0c4561a000baf37ad25e176419a520de875a25e3d33fb25f8625053cd4280bcec771c73e9ca274a2404d585ac242451
7
+ data.tar.gz: be13fb2c752df3e5179c765f722689ff6db53e44b611625e504c7d8675535f3c4b3d63983ce5ae883d95c9a7456d205b42ebd294076a30b6599d9d51012245e6
@@ -6,10 +6,6 @@ module SuperSerialize
6
6
 
7
7
  module ClassMethods
8
8
  def super_serialize(*attr_names)
9
- # This is to guard against trying to execute code for a Rails model where
10
- # the table has not been created yet.
11
- return unless ActiveRecord::Base.connection.table_exists?(table_name)
12
-
13
9
  # === Arguments
14
10
  # +attr_names+:: the name of the of the attributes to be super_serialized
15
11
  # === Example
@@ -1,3 +1,3 @@
1
1
  module SuperSerialize
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: super_serialize
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
  - Ricardo Quiñones