mongoid_snappy 0.2.0 → 0.2.1

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: 35002b66a23a55abdc49b9e75dd665d276acd600
4
- data.tar.gz: 0c80f280f7c73457f9845d2c5d18a09ab5edc4c3
3
+ metadata.gz: 4e4df4eb0c4b58d8047dd824cca5af118f68f029
4
+ data.tar.gz: 128c8732c7115ccd0e7111655aad85e8b7f1657a
5
5
  SHA512:
6
- metadata.gz: 7b28fb05a3ee3b906e8b5eed8de5b39e171128a73bd0da14885c0545ac294588c4b96c94d41999c0072c58e36178bb30568189b05d7aa26a98afa2fb37ab9479
7
- data.tar.gz: 0082b0a343e328c92832865bc3be500874fb818b22725c0525368fa0be65af1dc1f941d8ed27f9ca8087710ef416e4fa3b5c30124134fca3ba6d4616881861d3
6
+ metadata.gz: a1a824aab9e35a6b0fe4c36f4fd516eff30bca3ee13e5be601fe691f03b11f82219626169d2c0400ec1e9234c429763e93ef968cfdc52b77cd1d867770a105b3
7
+ data.tar.gz: c8b3fd9daed2e125043bd23dfc273627dfc2257e449468ed11638c46ca8032cfc54b257977681e578a946ab8e55bd970aa83a5b2449c4f0dfa34c31277331eb1
@@ -9,11 +9,11 @@ module RailsAdmin
9
9
  module Mongoid
10
10
  class Property
11
11
  alias_method :type_without_mongoid_snappy, :type
12
- def type(name, field)
13
- if field.type.to_s == 'Mongoid::Snappy'
14
- { :type => :mongoid_snappy }
12
+ def type
13
+ if property.type.to_s == 'Mongoid::Snappy'
14
+ :mongoid_snappy
15
15
  else
16
- type_without_mongoid_snappy(name, field)
16
+ type_without_mongoid_snappy
17
17
  end
18
18
  end
19
19
  end
@@ -1,4 +1,4 @@
1
1
  module MongoidSnappy
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongoid_snappy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GlebTV
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-15 00:00:00.000000000 Z
11
+ date: 2014-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: snappy