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 +4 -4
- data/lib/mongoid_snappy/rails_admin.rb +4 -4
- data/lib/mongoid_snappy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e4df4eb0c4b58d8047dd824cca5af118f68f029
|
4
|
+
data.tar.gz: 128c8732c7115ccd0e7111655aad85e8b7f1657a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
13
|
-
if
|
14
|
-
|
12
|
+
def type
|
13
|
+
if property.type.to_s == 'Mongoid::Snappy'
|
14
|
+
:mongoid_snappy
|
15
15
|
else
|
16
|
-
type_without_mongoid_snappy
|
16
|
+
type_without_mongoid_snappy
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
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.
|
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-
|
11
|
+
date: 2014-04-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: snappy
|