ey_services_fake 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,13 @@ module EyServicesFake
5
5
  def self.inherited(klass)
6
6
  decendants << klass
7
7
  end
8
+ class << self
9
+ attr_accessor :current_id
10
+ end
11
+ self.current_id = 0
12
+ def self.next_id
13
+ Model.current_id += 1
14
+ end
8
15
  def self.nuke_all
9
16
  decendants.map(&:nuke)
10
17
  end
@@ -1,3 +1,3 @@
1
1
  module EyServicesFake
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ey_services_fake
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jacob Burkhart & Josh Lane
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-01-31 00:00:00 Z
18
+ date: 2012-02-07 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: sinatra