orchestrate 0.9.0 → 0.9.1
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 +4 -4
- data/README.md +5 -5
- data/lib/orchestrate/client.rb +1 -0
- data/lib/orchestrate/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: 9ba0193a1085b054d2ebb2e472e746a377b785bd
|
4
|
+
data.tar.gz: 41d3c58e1d7959c33fdfdb3b4bb6d86d8aa1d554
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b6857d31ce13850286561cdfab4c144af59083ad0f26d8a9a1349c633a99453720a6f4f091e72521467b0fc5efa628b4a65aeec95483021789889c8dd96ba58
|
7
|
+
data.tar.gz: 1fdddf125332d0bfeb2bd84b42b772df0b7a770bf757812ca61a3301927a5970e2f042540be55a1778ec3f30ffee23d8dec653f2631db69c8f4832d903536e2c
|
data/README.md
CHANGED
@@ -4,9 +4,7 @@ Orchestrate API for Ruby
|
|
4
4
|
|
5
5
|
Ruby client interface for the [Orchestrate.io](http://orchestrate.io) REST API.
|
6
6
|
|
7
|
-
[rDoc Documentation]
|
8
|
-
|
9
|
-
[rdoc]: (http://rdoc.info/github/orchestrate-io/orchestrate-ruby/master/frames)
|
7
|
+
[rDoc Documentation](http://rdoc.info/gems/orchestrate/frames)
|
10
8
|
|
11
9
|
## Getting Started
|
12
10
|
|
@@ -24,7 +22,7 @@ users = app[:users]
|
|
24
22
|
```ruby
|
25
23
|
users[:joe] = { "name" => "Joe" } # PUTs joe, returns the input, as per Ruby convention on #[]=
|
26
24
|
users.set(:jack, { "name" => "Jack" }) # PUTs jack, returns a KeyValue
|
27
|
-
users.create(:jill, { "name" => "Jill" }) # PUT-If-Absent
|
25
|
+
users.create(:jill, { "name" => "Jill" }) # PUT-If-Absent jill, returns a KeyValue
|
28
26
|
users << { "name" => "Unknown" } # POSTs the body, returns a KeyValue
|
29
27
|
users.map {|user| [user.key, user.ref]} # enumerates over ALL items in collection
|
30
28
|
```
|
@@ -159,6 +157,9 @@ end
|
|
159
157
|
|
160
158
|
## Release Notes
|
161
159
|
|
160
|
+
### October 8, 2014: release 0.9.1
|
161
|
+
- Improvements to documentation.
|
162
|
+
|
162
163
|
### September 1, 2014: release 0.9.0
|
163
164
|
- Implement `KeyValue#events`, `EventList` and `Events` to access events associated with a KeyValue.
|
164
165
|
- Removed `KeyValue#loaded` attr reader, it pointed to an instance variable no longer in use. Use `#loaded?` instead.
|
@@ -215,4 +216,3 @@ end
|
|
215
216
|
Initial Port from @jimcar
|
216
217
|
- Uses Faraday HTTP Library as backend, with examples of alternate adapters
|
217
218
|
- Cleanup client method signatures
|
218
|
-
|
data/lib/orchestrate/client.rb
CHANGED
@@ -63,6 +63,7 @@ module Orchestrate
|
|
63
63
|
# @param options [Hash] Parameters for the query
|
64
64
|
# @option options [Integer] :limit (10) The number of results to return. Maximum 100.
|
65
65
|
# @option options [Integer] :offset (0) The starting position of the results.
|
66
|
+
# @option options [String] :sort The field and direction to sort by. Ex: `value.name:asc`
|
66
67
|
# @return Orchestrate::API::CollectionResponse
|
67
68
|
# @raise Orchestrate::API::InvalidSearchParam The :limit/:offset values are not valid.
|
68
69
|
# @raise Orchestrate::API::SearchQueryMalformed if query isn't a valid Lucene query.
|
data/lib/orchestrate/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orchestrate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Lyon
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|