RubyGems
npm
Organizations
Log in
Sign up
RubyGems
BrettRasmussen-factory_girl
Versions diffs
1.2.2 → 1.2.3
BrettRasmussen-factory_girl 1.2.2 → 1.2.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/factory_girl/sequence.rb
+1
-1
metadata
+1
-1
data/lib/factory_girl/sequence.rb
CHANGED
Viewed
@@ -8,7 +8,7 @@ class Factory
8
8
# value counter and the enumeration if provided).
9
9
class Sequence
10
10
11
-
def initialize (enum, &proc) #:nodoc:
11
+
def initialize (enum
= nil
, &proc) #:nodoc:
12
12
@enum = enum.to_a if !enum.nil?
13
13
@enum_idx = 0
14
14
@proc = proc
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: BrettRasmussen-factory_girl
3
3
version: !ruby/object:Gem::Version
4
-
version: 1.2.
2
4
+
version: 1.2.
3
5
5
platform: ruby
6
6
authors:
7
7
- Joe Ferris