seed_packet 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/seed_packet/version.rb +1 -1
- data/lib/seed_packet.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa56d53e36945bbd136a74a3cea750c236bbb003
|
4
|
+
data.tar.gz: 277576254021eb86a5fbc6149d3ea3b12e29043c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3191cc89dfcfa6a86bbc3d2742b7e24f462fe505f7aa0fd0a64282ca4eed137568d7440ea218a43d3b026adf1bf50f633dc2a0f232295f2b59f75fcde11056ae
|
7
|
+
data.tar.gz: 584d24edacbb400aae24f3f3090b7665b0853e418e4bbd09888d2d23632d6c542d816c821cfb77dacb79c411ef8509bb116610504f70698b83bc0743f01362d8
|
data/lib/seed_packet/version.rb
CHANGED
data/lib/seed_packet.rb
CHANGED
@@ -8,7 +8,10 @@ module SeedPacket
|
|
8
8
|
|
9
9
|
def initialize(options = {})
|
10
10
|
self.environment = options.key?(:environment) ? Environment.new(environment) : nil
|
11
|
-
|
11
|
+
|
12
|
+
if environment.samples_allowed?
|
13
|
+
self.factory_class = Object.const_get(options.fetch(:factory_class, 'FactoryGirl'))
|
14
|
+
end
|
12
15
|
end
|
13
16
|
|
14
17
|
def seed
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: seed_packet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jfelchner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|