rubycut-metriks 0.9.9.11 → 0.9.9.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/metriks/counter.rb +5 -1
  2. data/metriks.gemspec +2 -2
  3. metadata +2 -2
@@ -10,7 +10,11 @@ module Metriks
10
10
  def initialize
11
11
  @count = Atomic.new(0)
12
12
  end
13
-
13
+ # shortcut for onliners
14
+ def activate_reset_on_sumbit
15
+ @reset_on_submit = true
16
+ self
17
+ end
14
18
  # Public: Reset the counter back to 0
15
19
  #
16
20
  # Returns nothing.
data/metriks.gemspec CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
13
13
  ## If your rubyforge_project name is different, then edit it and comment out
14
14
  ## the sub! line in the Rakefile
15
15
  s.name = 'rubycut-metriks'
16
- s.version = '0.9.9.11'
17
- s.date = '2014-01-03'
16
+ s.version = '0.9.9.12'
17
+ s.date = '2014-01-06'
18
18
 
19
19
  ## Make sure your summary is short. The description may be as long
20
20
  ## as you like.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubycut-metriks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9.11
4
+ version: 0.9.9.12
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: 2014-01-03 00:00:00.000000000 Z
12
+ date: 2014-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: atomic