nutella_lib 0.4.13 → 0.4.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/util/mongo_persisted_hash.rb +4 -0
- data/nutella_lib.gemspec +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f6b2a364b063c0d22017ff2ae758f1a08b2c1ba
|
4
|
+
data.tar.gz: 952f3ab986e30a8f8e425a787e3795d836d45d83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edda61ef2fb993c72e20201ae8e5a15986fa2b1059cfcfa04e38702fede6fc7d3b8ef4632825d03dc1642d7c9be17d0829fc5c63a2d74a54ab3e9e140fe900d9
|
7
|
+
data.tar.gz: 8879b047ccb8a266d2120170130e4e9dc72a19f465d39f2b1c409b81180f8fc2062e2684912cb8188d920fa3dee2729bf6d88c5523f40198dedfdefe9287d3a7
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.4.
|
1
|
+
0.4.14
|
@@ -43,6 +43,7 @@ class MongoPersistedHash
|
|
43
43
|
|
44
44
|
def empty?
|
45
45
|
hash = load_hash
|
46
|
+
hash.delete '_id'
|
46
47
|
hash.empty?
|
47
48
|
end
|
48
49
|
|
@@ -57,6 +58,7 @@ class MongoPersistedHash
|
|
57
58
|
|
58
59
|
def to_s
|
59
60
|
hash = load_hash
|
61
|
+
hash.delete '_id'
|
60
62
|
hash.to_s
|
61
63
|
end
|
62
64
|
|
@@ -68,11 +70,13 @@ class MongoPersistedHash
|
|
68
70
|
|
69
71
|
def keys
|
70
72
|
hash = load_hash
|
73
|
+
hash.delete '_id'
|
71
74
|
hash.keys
|
72
75
|
end
|
73
76
|
|
74
77
|
def length
|
75
78
|
hash = load_hash
|
79
|
+
hash.delete '_id'
|
76
80
|
hash.length
|
77
81
|
end
|
78
82
|
|
data/nutella_lib.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nutella_lib 0.4.
|
5
|
+
# stub: nutella_lib 0.4.14 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nutella_lib"
|
9
|
-
s.version = "0.4.
|
9
|
+
s.version = "0.4.14"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|