Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
  • 3 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 4 additions and 5 deletions.
  1. +2 −2 README.md
  2. +1 −2  lib/redistat.rb
  3. +1 −1  lib/redistat/version.rb
View
4 README.md
@@ -149,8 +149,8 @@ is the label that you're storing to, or fetching from.
Labels support multiple grouping levels by splitting the label string with `/`
and storing the same stats for each level. For example, when storing data to a
label called `views/product/44`, the data is stored for the label you specify,
-and also for `views/product` and `views`. You may also configure a different
-group separator using the `Redistat.group_separator` option. For example:
+and also for `views/product` and `views`. You may also configure a different
+group separator using the `Redistat.group_separator=` method. For example:
```ruby
Redistat.group_separator = '|'
View
3  lib/redistat.rb
@@ -52,8 +52,6 @@ class RedisServerIsTooOld < Exception; end
class << self
- attr_writer :group_separator
-
def buffer
Buffer.instance
end
@@ -96,6 +94,7 @@ def flush
def group_separator
@group_separator ||= GROUP_SEPARATOR
end
+ attr_writer :group_separator
end
end
View
2  lib/redistat/version.rb
@@ -1,3 +1,3 @@
module Redistat
- VERSION = "0.4.0"
+ VERSION = "0.5.0"
end

No commit comments for this range

Something went wrong with that request. Please try again.