streak 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.0.2
4
+
5
+ * Fix +total_key+ configuration.
6
+
3
7
  ## 0.0.1
4
8
 
5
9
  * Initial release.
@@ -25,7 +25,7 @@ module Streak
25
25
  attr_writer :negative_streak_key
26
26
 
27
27
  # Key used in Redis for tracking total.
28
- attr_writer :total
28
+ attr_writer :total_key
29
29
 
30
30
  # Yield self to be able to configure Streak with block-style configuration.
31
31
  #
@@ -99,7 +99,7 @@ module Streak
99
99
  #
100
100
  # @return the key used in Redis for tracking total or the default of 'total' if not set.
101
101
  def total_key
102
- @total ||= 'total'
102
+ @total_key ||= 'total'
103
103
  end
104
104
  end
105
105
  end
@@ -1,3 +1,3 @@
1
1
  module Streak
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: streak
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: redis
16
- requirement: &70095633195380 !ruby/object:Gem::Requirement
16
+ requirement: &70174020795560 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70095633195380
24
+ version_requirements: *70174020795560
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rspec
27
- requirement: &70095633194840 !ruby/object:Gem::Requirement
27
+ requirement: &70174020795100 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *70095633194840
35
+ version_requirements: *70174020795100
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &70095633194140 !ruby/object:Gem::Requirement
38
+ requirement: &70174020794620 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70095633194140
46
+ version_requirements: *70174020794620
47
47
  description: Streak is a gem for calculating win/loss streaks
48
48
  email:
49
49
  - me@davidczarnecki.com
@@ -81,7 +81,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
81
81
  version: '0'
82
82
  segments:
83
83
  - 0
84
- hash: -3298361675894523649
84
+ hash: -3807550842657624022
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  none: false
87
87
  requirements:
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  segments:
92
92
  - 0
93
- hash: -3298361675894523649
93
+ hash: -3807550842657624022
94
94
  requirements: []
95
95
  rubyforge_project:
96
96
  rubygems_version: 1.8.10