lawrencepit-machinist 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/sham.rb +2 -2
  2. metadata +1 -1
data/lib/sham.rb CHANGED
@@ -24,7 +24,7 @@ class Sham
24
24
  @@shams = {}
25
25
  end
26
26
 
27
- def self.reset(scope = :all)
27
+ def self.reset(scope = :before_all)
28
28
  @@shams.values.each { |sham| sham.reset(scope) }
29
29
  end
30
30
 
@@ -41,7 +41,7 @@ class Sham
41
41
  end
42
42
 
43
43
  def reset(scope)
44
- if scope == :all
44
+ if scope == :before_all
45
45
  @offset, @before_offset = 0, nil
46
46
  elsif @before_offset
47
47
  @offset = @before_offset
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lawrencepit-machinist
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Yandell