Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 68 lines (39 sloc) 1.317 kb
75a5a31 @soveran Update CHANGELOG
authored
1 ## 1.0.0
0ccf89b @frodsan Update documentation.
frodsan authored
2
3 * Use [redic][redic] instead of `redis-rb` as the Redis client. This changes
4 how to connect to a Redis database:
5
6 Before:
7
8 ```ruby
9 Ost.connect(localhost: 6379, port: 6380, db: 2)
10 ```
11
12 Now:
13
14 ```ruby
15 Ost.redis = Redic.new("redis://127.0.0.1:6379/2")
16 ```
17
2f22638 @soveran Release
authored
18 ## 0.1.6
19
20 * Fix bug with non-integer timeouts
c53ae03 @soveran Update CHANGELOG.
authored
21
a6eddf0 @frodsan Update CHANGELOG.
frodsan authored
22 * Add `Ost::Queue#size` method. Returns the current size of the queue.
c53ae03 @soveran Update CHANGELOG.
authored
23
a6eddf0 @frodsan Update CHANGELOG.
frodsan authored
24 Example:
2f22638 @soveran Release
authored
25
a6eddf0 @frodsan Update CHANGELOG.
frodsan authored
26 ```ruby
27 Ost[:events].size # => 0
28 Ost[:events].push(1)
29 Ost[:events].size # => 1
30 ```
31
32 ## 0.1.5
33
34 * Fix bug with redis connection handling. Previously, it was just using the default connection
35 of `localhost:6379`, regardless if you setup your app with an `Ost.connect`.
36
37 ## 0.1.4
38
39 * No changes.
40
41 ## 0.1.3
42
43 * Don't yield the block on timeouts.
44
45 ## 0.1.2
46
47 * Change default timeout to 2 seconds.
48
49 ## 0.1.1
50
51 * Use `backup.lpop` instead of `backup.del`.
52
53 ## 0.1.0
bbbe296 @djanowski Don't rescue exceptions inside the `each` block.
djanowski authored
54
55 * `Ost#each` no longer rescues exceptions for you.
56
87ab33f @djanowski Better CHANGELOG formatting.
djanowski authored
57 You are in charge of rescuing and deciding what to do.
c618efb @djanowski Add `Ost::Queue#items` to inspect the items in the queue.
djanowski authored
58
59 * You can inspect the status of the queue by calling `Ost::Queue#items`.
1ea463f @djanowski Change `ns` to `key` for consistency with other libraries.
djanowski authored
60
61 * If you need access to the underlying Redis key, it's in `Ost::Queue#key`.
02fd2ef @djanowski Use BRPOPLPUSH and maintain a backup queue.
djanowski authored
62
63 * Ost now uses `BRPOPLPUSH` and maintains a backup queue while working.
64
87ab33f @djanowski Better CHANGELOG formatting.
djanowski authored
65 You can access this queue using `Ost::Queue#backup`.
0ccf89b @frodsan Update documentation.
frodsan authored
66
67 [redic]: https://github.com/amakawa/redic
Something went wrong with that request. Please try again.