visit-counter 0.0.2 → 0.0.3

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.
@@ -1,3 +1,3 @@
1
1
  module VisitCounter
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -37,7 +37,6 @@ module VisitCounter
37
37
  module ClassMethods
38
38
 
39
39
  def cached_counter(name)
40
- self.send(:alias_method, "real_#{name}", name)
41
40
 
42
41
  self.send(:define_method, name) do
43
42
  read_counter(name)
@@ -80,7 +80,6 @@ describe VisitCounter do
80
80
  end
81
81
 
82
82
  it "should define the methods" do
83
- @d.should respond_to(:real_counter)
84
83
  @d.should respond_to(:increase_counter)
85
84
  end
86
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: visit-counter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-22 00:00:00.000000000 Z
12
+ date: 2012-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec