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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95c7e2fcfcbb1424d3a5aa4b6e38d5c54ed6d4a7
4
- data.tar.gz: 83f00cb1a49741b21c02abfe362a4dd68884986e
3
+ metadata.gz: 1f6b2a364b063c0d22017ff2ae758f1a08b2c1ba
4
+ data.tar.gz: 952f3ab986e30a8f8e425a787e3795d836d45d83
5
5
  SHA512:
6
- metadata.gz: 0f2e3cc4e2143129a98b94a65f12872b5ac10714ce71a96f088b68421250a016d6d78e602dbe64a9e7339d29412becd32422b811ba1b5a8e87940e50afae175a
7
- data.tar.gz: becc3b1323c77f4c6596beee9c3ea0236acf36aabf618595d10c83456e50bc9cb67019c04493cc525028f718d537674621785529163a988c0d0b5afe6e7eaa14
6
+ metadata.gz: edda61ef2fb993c72e20201ae8e5a15986fa2b1059cfcfa04e38702fede6fc7d3b8ef4632825d03dc1642d7c9be17d0829fc5c63a2d74a54ab3e9e140fe900d9
7
+ data.tar.gz: 8879b047ccb8a266d2120170130e4e9dc72a19f465d39f2b1c409b81180f8fc2062e2684912cb8188d920fa3dee2729bf6d88c5523f40198dedfdefe9287d3a7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.13
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.13 ruby lib
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.13"
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"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nutella_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.13
4
+ version: 0.4.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Gnoli