object-daddy 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/object_daddy.rb +2 -2
- data/object-daddy.gemspec +3 -3
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
data/lib/object_daddy.rb
CHANGED
@@ -200,7 +200,7 @@ module ObjectDaddy
|
|
200
200
|
|
201
201
|
module RailsClassMethods
|
202
202
|
def exemplar_path
|
203
|
-
|
203
|
+
['spec', 'test'].inject([]) do |array, dir|
|
204
204
|
if File.directory?(File.join(Rails.root, dir))
|
205
205
|
array << File.join(Rails.root, dir, 'exemplars')
|
206
206
|
end
|
@@ -262,7 +262,7 @@ module ObjectDaddy
|
|
262
262
|
end
|
263
263
|
end
|
264
264
|
|
265
|
-
unless ActiveRecord::Base.respond_to?
|
265
|
+
unless !defined?(ActiveRecord) || ActiveRecord::Base.respond_to?(:inherited_with_object_daddy)
|
266
266
|
class ActiveRecord::Base
|
267
267
|
def self.inherited_with_object_daddy(subclass)
|
268
268
|
self.inherited_without_object_daddy(subclass)
|
data/object-daddy.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "object-daddy"
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rick Bradley", "Yossef Mendelssohn", "Jeremy Holland"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2013-06-16"
|
13
13
|
s.description = "Object Daddy is a library (as well as a Ruby on Rails plugin) designed to assist in automating testing of large collections of objects, especially webs of ActiveRecord models. It is a descendent of the \"Object Mother\" pattern for creating objects for testing, and is related to the concept of an \"object exemplar\" or stereotype."
|
14
14
|
s.email = ["blogicx@rickbradley.com", "ymendel@pobox.com", "jeremy@jeremypholland.com"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -38,7 +38,7 @@ Gem::Specification.new do |s|
|
|
38
38
|
s.homepage = "http://github.com/awebneck/object_daddy"
|
39
39
|
s.licenses = ["MIT"]
|
40
40
|
s.require_paths = ["lib"]
|
41
|
-
s.rubygems_version = "1.8.
|
41
|
+
s.rubygems_version = "1.8.23"
|
42
42
|
s.summary = "Kill Fixtures"
|
43
43
|
|
44
44
|
if s.respond_to? :specification_version then
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: object-daddy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2013-06-16 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
@@ -219,7 +219,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
219
219
|
version: '0'
|
220
220
|
segments:
|
221
221
|
- 0
|
222
|
-
hash:
|
222
|
+
hash: -4577695941973992305
|
223
223
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
224
224
|
none: false
|
225
225
|
requirements:
|
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
228
228
|
version: '0'
|
229
229
|
requirements: []
|
230
230
|
rubyforge_project:
|
231
|
-
rubygems_version: 1.8.
|
231
|
+
rubygems_version: 1.8.23
|
232
232
|
signing_key:
|
233
233
|
specification_version: 3
|
234
234
|
summary: Kill Fixtures
|