mince_dynamo_db 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,6 +48,23 @@ module MinceDynamoDb # :nodoc:
48
48
  class DataStore
49
49
  include Singleton
50
50
 
51
+
52
+
53
+ # Not yet implemented
54
+ def update_field_with_value(*args)
55
+ raise %(The method `MinceDynamoDb::DataStore.singleton.update_field_with_value` is not implemented, you should implement it for us!)
56
+ end
57
+
58
+ def delete_field(collection_name, field)
59
+ raise %(The method `MinceDynamoDb::DataStore.singleton.delete_field` is not implemented, you should implement it for us!)
60
+ end
61
+
62
+ def delete_by_params(collection_name, params)
63
+ raise %(The method `MinceDynamoDb::DataStore.singleton.delete_by_params` is not implemented, you should implement it for us!)
64
+ end
65
+
66
+
67
+
51
68
  # Returns the primary key identifier for records. This is necessary because not all databases use the same
52
69
  # primary key.
53
70
  #
@@ -86,11 +103,6 @@ module MinceDynamoDb # :nodoc:
86
103
  items(collection_name).put(hash)
87
104
  end
88
105
 
89
- # Not yet implemented
90
- def update_field_with_value(*args)
91
- raise %(The method `MinceDynamoDb::DataStore.singleton.update_field_with_value` is not implemented, you should implement it for us!)
92
- end
93
-
94
106
  # Gets all records that have the value for a given key.
95
107
  #
96
108
  # @param [String] collection_name the name of the collection
@@ -1,3 +1,3 @@
1
1
  module MinceDynamoDb
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mince_dynamo_db
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-04 00:00:00.000000000 Z
12
+ date: 2012-05-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk