clusterpoint 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a8327ceb32e21c6fdcc5a4def1ba7f7527a9cb15
4
- data.tar.gz: 774383bd2bac80b517faa3453ecbf5c76571dbd6
3
+ metadata.gz: 9341eb8053765e973c79fac55a79cf86e560d114
4
+ data.tar.gz: 8e04fd53420b5cf8d395548ea1c2d0289d898d6b
5
5
  SHA512:
6
- metadata.gz: 68787fdb1c189618df624299f6b17b055ecce38b0bb51f9a4a2ec77281cdeec7bce2e9df104f1bbf051a8f6c6ee8d50e354a802cd6b0600c918d362cb616f2a5
7
- data.tar.gz: c62d642218278992bc75f3e4c94c24034220919c5e544f8284630c9848dc560912d9ef89d570559e27556f13d13112c2d209214ce34633d3c6d86d8a8a32edc9
6
+ metadata.gz: 832658e7085d3f7349efbb195967e00f0b56619d74811a1d27bc26bb8405e9eed58bcae161c7c6684580298092d4eba710c9ffc44ed0ad23b5284955f93e891c
7
+ data.tar.gz: 4248a008564f749a5c78979013a27fe5daab6e8acc182c4a2d39691f35c0996eb8674c291a5191fab1c2b256b3e94da39da0e329c873fdf2f42502cb9f3c1d0b
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Clusterpoint
2
2
 
3
- Clusterpoint NoSQL database framework.
3
+ Clusterpoint NoSQL database framework [cloud.clusterpoint.com](https://cloud.clusterpoint.com/).
4
4
 
5
5
  ## Installation
6
6
 
@@ -51,6 +51,16 @@ Example:
51
51
  contains :author
52
52
  end
53
53
 
54
+ ### Basic operations
55
+ * Item.all - retrieve all documents with type Item (models are divided with document attribute `type`)
56
+ * Item.find(id) - retrieve document with ID = id
57
+ * Item.new_from_hash(item_params.to_h) - create new document from hash
58
+ * @item.save - save document
59
+ * @item.update(item_params.to_h) - update document and save changes
60
+ * @item.destroy - delete document
61
+ * .where({type: "ITEM"}) - custom query - not yet exposed for easy use
62
+
63
+
54
64
  ## Development
55
65
 
56
66
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `bin/console` for an interactive prompt that will allow you to experiment.
data/clusterpoint.gemspec CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["jbaiza@gmail.com"]
11
11
  spec.license = 'GPL'
12
12
 
13
- spec.summary = 'Clusterpoint NoSQL database framework'
14
- spec.description = 'Framework for Clusterpoint NoSQL DB, written in Ruby'
13
+ spec.summary = 'Clusterpoint (https://cloud.clusterpoint.com/) NoSQL database framework'
14
+ spec.description = 'Framework for Clusterpoint NoSQL DB (https://cloud.clusterpoint.com/), written in Ruby'
15
15
  spec.homepage = 'https://github.com/jbaiza/clusterpoint'
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
@@ -1,3 +1,3 @@
1
1
  module ClusterPoint
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: clusterpoint
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Janis Baiza
@@ -136,7 +136,8 @@ dependencies:
136
136
  - - ~>
137
137
  - !ruby/object:Gem::Version
138
138
  version: '4.0'
139
- description: Framework for Clusterpoint NoSQL DB, written in Ruby
139
+ description: Framework for Clusterpoint NoSQL DB (https://cloud.clusterpoint.com/),
140
+ written in Ruby
140
141
  email:
141
142
  - jbaiza@gmail.com
142
143
  executables: []
@@ -189,5 +190,5 @@ rubyforge_project:
189
190
  rubygems_version: 2.2.2
190
191
  signing_key:
191
192
  specification_version: 4
192
- summary: Clusterpoint NoSQL database framework
193
+ summary: Clusterpoint (https://cloud.clusterpoint.com/) NoSQL database framework
193
194
  test_files: []